Hello everybody,
we're planning to connect two switches through trunk 802.11q and both of them connected to a router.
Do I need setting ip adreess each vlan interface?
Switch#sh run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
enable secret 5 $1$oZuL$DvCwrjo35DkZQ9P.1lx3p1
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
switchport access vlan 2
!
interface FastEthernet0/3
switchport access vlan 2
!
interface FastEthernet0/4
switchport access vlan 2
!
interface FastEthernet0/5
switchport access vlan 15
!
interface FastEthernet0/6
switchport access vlan 15
!
interface FastEthernet0/7
switchport access vlan 15
!
interface FastEthernet0/8
switchport access vlan 3
!
interface FastEthernet0/9
switchport access vlan 3
!
interface FastEthernet0/10
switchport access vlan 3
!
interface FastEthernet0/11
switchport access vlan 3
!
interface FastEthernet0/12
switchport access vlan 3
!
interface VLAN1
no ip directed-broadcast
no ip route-cache
!
interface VLAN2
no ip directed-broadcast
no ip route-cache
shutdown
!
interface VLAN3
ip address 192.168.5.214 255.255.254.0
no ip directed-broadcast
no ip route-cache
shutdown
!
interface VLAN15
no ip directed-broadcast
no ip route-cache
shutdown
!
!
line con 0
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
login
!
end
Switch#sh vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1
2 Support active Fa0/2, Fa0/3, Fa0/4
3 Intranet active Fa0/8, Fa0/9, Fa0/10, Fa0/11,
Fa0/12
15 ACME active Fa0/5, Fa0/6, Fa0/7
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
we're planning to connect two switches through trunk 802.11q and both of them connected to a router.
Do I need setting ip adreess each vlan interface?
Switch#sh run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
enable secret 5 $1$oZuL$DvCwrjo35DkZQ9P.1lx3p1
!
!
!
!
!
!
ip subnet-zero
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
switchport access vlan 2
!
interface FastEthernet0/3
switchport access vlan 2
!
interface FastEthernet0/4
switchport access vlan 2
!
interface FastEthernet0/5
switchport access vlan 15
!
interface FastEthernet0/6
switchport access vlan 15
!
interface FastEthernet0/7
switchport access vlan 15
!
interface FastEthernet0/8
switchport access vlan 3
!
interface FastEthernet0/9
switchport access vlan 3
!
interface FastEthernet0/10
switchport access vlan 3
!
interface FastEthernet0/11
switchport access vlan 3
!
interface FastEthernet0/12
switchport access vlan 3
!
interface VLAN1
no ip directed-broadcast
no ip route-cache
!
interface VLAN2
no ip directed-broadcast
no ip route-cache
shutdown
!
interface VLAN3
ip address 192.168.5.214 255.255.254.0
no ip directed-broadcast
no ip route-cache
shutdown
!
interface VLAN15
no ip directed-broadcast
no ip route-cache
shutdown
!
!
line con 0
transport input none
stopbits 1
line vty 0 4
password cisco
login
line vty 5 15
login
!
end
Switch#sh vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1
2 Support active Fa0/2, Fa0/3, Fa0/4
3 Intranet active Fa0/8, Fa0/9, Fa0/10, Fa0/11,
Fa0/12
15 ACME active Fa0/5, Fa0/6, Fa0/7
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active