交换机 |
VLAN |
端口成员 |
交换机A |
10 |
1~8 |
20 |
9~16 | |
100 |
24 | |
交换机B |
30 |
1~8 |
40 |
9~16 | |
101 |
24 |
VLAN10 |
VLAN20 |
VLAN30 |
VLAN40 |
VLAN100 |
VLAN101 |
192.168.10.1 |
192.168.20.1 |
192.168.30.1 |
192.168.40.1 |
192.168.100.1 |
192.168.100.2 |
设备 |
IP地址 |
gateway |
Mask |
PC1 |
192.168.10.101 |
192.168.10.1 |
255.255.255.0 |
PC2 |
192.168.20.101 |
192.168.20.1 |
255.255.255.0 |
PC3 |
192.168.30.101 |
192.168.30.1 |
255.255.255.0 |
PC4 |
192.168.40.101 |
192.168.40.1 |
255.255.255.0 |