2個交換機起好三層的SVI自動就通了
SW1
intface vlanif 10
ip add 192.168.100.1 24
interface vlanif 20
ip add 192.168.200.1 24
SW2
interface vlanif 10
ip add 192.168.100.2 24
ip add 192.168.200.2 24
int eht0/0/3
port link-type trunk
port trunk al pass vlan 10 20
int eth0/0/1
port link-type access
port default vlan 10
int eth0/0/2
port default vlan 20
下游PC閘道器指向所在交換機的vlanif 地址即可。
2個交換機起好三層的SVI自動就通了
SW1
intface vlanif 10
ip add 192.168.100.1 24
interface vlanif 20
ip add 192.168.200.1 24
SW2
interface vlanif 10
ip add 192.168.100.2 24
interface vlanif 20
ip add 192.168.200.2 24
int eht0/0/3
port link-type trunk
port trunk al pass vlan 10 20
int eth0/0/1
port link-type access
port default vlan 10
int eth0/0/2
port link-type access
port default vlan 20
下游PC閘道器指向所在交換機的vlanif 地址即可。