У меня есть 50-портовый коммутатор Cisco SG200-50, и я хочу настроить его так, чтобы была одна большая ЛВС (все компьютеры на коммутаторе могли видеть друг друга), но половина компьютеров видела только первый шлюз, а половина компьютеров видела только другой шлюз (то есть компьютеры, подключенные к левой стороне, получают шлюз 1, компьютеры, подключенные к правой стороне, получают шлюз 2).
Вот текущая конфигурация (для 3-х шлюзов), после того, как дурачиться без понятия, что я делаю.
interface vlan 1
no ip address dhcp
!
interface vlan 2
name Backplane
!
interface vlan 10
name Servers
!
interface vlan 101
name "Modem/Router A"
!
interface vlan 102
name "Modem/Router B"
!
interface vlan 103
name "Modem/Router C"
!
interface vlan 201
name "Network A"
!
interface vlan 202
name "Network B"
!
interface vlan 203
name "Network C"
!
interface vlan 1000
name backplatest
!
interface vlan 1001
name routera
!
interface vlan 1002
name routerb
!
interface gigabitethernet1
switchport mode general
switchport general allowed vlan add 101,201 untagged
switchport general pvid 101
!
interface gigabitethernet2
switchport mode general
switchport general allowed vlan add 102,202 untagged
switchport general pvid 102
!
interface gigabitethernet3
switchport mode general
switchport general allowed vlan add 103,203 untagged
switchport general pvid 103
!
interface gigabitethernet4
switchport mode general
!
interface gigabitethernet5
switchport mode general
!
interface gigabitethernet6
switchport mode general
!
interface gigabitethernet7
switchport mode general
switchport general allowed vlan add 2,10,101,201 untagged
switchport general pvid 201
!
interface gigabitethernet8
switchport mode general
switchport general allowed vlan add 2,10,101,201 untagged
switchport general pvid 201
!
interface gigabitethernet9
switchport mode general
switchport general allowed vlan add 2,10,101,201 untagged
switchport general pvid 201
!
interface gigabitethernet10
switchport mode general
switchport general allowed vlan add 2,10,101,201 untagged
switchport general pvid 201
!
interface gigabitethernet11
switchport mode general
switchport general allowed vlan add 2,10,101,201 untagged
switchport general pvid 201
!
interface gigabitethernet12
switchport mode general
switchport general allowed vlan add 2,10,101,201 untagged
switchport general pvid 201
!
interface gigabitethernet13
switchport mode general
switchport general allowed vlan add 2,10,102,202 untagged
switchport general pvid 202
!
interface gigabitethernet14
switchport mode general
switchport general allowed vlan add 2,10,102,202 untagged
switchport general pvid 202
!
interface gigabitethernet15
switchport mode general
switchport general allowed vlan add 2,10,102,202 untagged
switchport general pvid 202
!
interface gigabitethernet16
switchport mode general
switchport general allowed vlan add 2,10,102,202 untagged
switchport general pvid 202
!
interface gigabitethernet17
switchport mode general
switchport general allowed vlan add 2,10,102,202 untagged
switchport general pvid 202
!
interface gigabitethernet18
switchport mode general
switchport general allowed vlan add 2,10,102,202 untagged
switchport general pvid 202
!
interface gigabitethernet19
switchport mode general
switchport general allowed vlan add 2,10,103,203 untagged
switchport general pvid 203
!
interface gigabitethernet20
switchport mode general
switchport general allowed vlan add 2,10,103,203 untagged
switchport general pvid 203
!
interface gigabitethernet21
switchport mode general
switchport general allowed vlan add 2,10,103,203 untagged
switchport general pvid 203
!
interface gigabitethernet22
switchport mode general
switchport general allowed vlan add 2,10,103,203 untagged
switchport general pvid 203
!
interface gigabitethernet23
switchport mode general
switchport general allowed vlan add 2,10,103,203 untagged
switchport general pvid 203
!
interface gigabitethernet24
switchport mode general
switchport general allowed vlan add 2,10,103,203 untagged
switchport general pvid 203
!
interface gigabitethernet25
switchport mode general
switchport general allowed vlan add 10,201-203 untagged
switchport general pvid 10
!
interface gigabitethernet26
switchport mode general
switchport general allowed vlan add 10,201-203 untagged
switchport general pvid 10
!
interface gigabitethernet27
switchport mode general
switchport general allowed vlan add 10,201-203 untagged
switchport general pvid 10
!
interface gigabitethernet28
switchport mode general
switchport general allowed vlan add 10,201-203 untagged
switchport general pvid 10
!
interface gigabitethernet29
switchport mode general
switchport general allowed vlan add 10,201-203 untagged
switchport general pvid 10
!
interface gigabitethernet30
switchport mode general
switchport general allowed vlan add 10,201-203 untagged
switchport general pvid 10
!
interface gigabitethernet31
switchport mode access
switchport access vlan 1000
!
interface gigabitethernet32
switchport mode access
switchport access vlan 1000
!
interface gigabitethernet33
switchport mode access
switchport access vlan 1000
!
interface gigabitethernet34
switchport mode access
switchport access vlan 1000
switchport general pvid 1000
!