Есть FreeBSD 6.4 и Catalyst 2950-12
Собственно проблема заключается в том что если поднять один vlan
то остальные становятся в shutdown. Подскажите, как сделать так чтобы все 4 влана
были бы в no shutdown?На FreeBSD:
#cat rc.conf
cloned_interfaces="vlan16"
cloned_interfaces="vlan17"
cloned_interfaces="vlan18"
cloned_interfaces="vlan20"
ifconfig_rl0="inet 192.168.0.1 netmask 255.255.255.0"
ifconfig_vlan16="inet 172.16.0.2 netmask 255.255.0.0 vlan 16 vlandev rl0 mtu 1500 up"
ifconfig_vlan17="inet 172.17.0.2 netmask 255.255.0.0 vlan 17 vlandev rl0 mtu 1500 up"
ifconfig_vlan18="inet 172.18.0.2 netmask 255.255.0.0 vlan 18 vlandev rl0 mtu 1500 up"
ifconfig_vlan20="inet 172.20.0.2 netmask 255.255.0.0 vlan 20 vlandev rl0 mtu 1500 up"
Кусок конфига Cisco:
interface FastEthernet0/1
description SMOTRIT V NET16
switchport access vlan 16
switchport mode access
!
interface FastEthernet0/2
description SMOTRIT V NET17
switchport access vlan 17
switchport mode access
!
interface FastEthernet0/3
description SMOTRIT V NET18
switchport access vlan 18
switchport mode access
!
interface FastEthernet0/4
description SMOTRIT V NET20
switchport access vlan 20
switchport mode access
!
interface FastEthernet0/12
description TRUNK TO GATE
switchport trunk allowed vlan 16-18,20
switchport mode trunk
!
!
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan16
description NET16
no ip address
no ip route-cache
shutdown
!
interface Vlan17
description NET17
no ip address
no ip route-cache
shutdown
!
interface Vlan18
description NET18
ip address 172.18.0.3 255.255.0.0
no ip route-cache
!
interface Vlan20
description NET20
no ip address
no ip route-cache
shutdown
Вот что показывает sh vlan:
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
2 VLAN0002 active
16 vlan16 active Fa0/1
17 vlan17 active Fa0/2
18 vlan18 active Fa0/3
20 vlan20 active Fa0/4
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
16 enet 100016 1500 - - - - - 0 0
17 enet 100017 1500 - - - - - 0 0
18 enet 100018 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------