f0/0
|
f0/12
|
f0/10
|
f0/10
|
f0/2
|
f0/2
|
f0/1
|
f0/1
|
[pc]
|
IP
地址
|
子网掩码
|
网关
|
pc1
|
192.168.1.10
|
255.255.255.0
|
192.168.1.1
|
pc2
|
192.168.2.10
|
255.255.255.0
|
192.168.2.1
|
pc3
|
192.168.1.20
|
255.255.255.0
|
192.168.1.1
|
pc4
|
192.168.2.10
|
255.255.255.0
|
192.168.2.1
|
[switch1]
|
所属
vlan
|
模式
|
f0/1
|
2
|
access
|
f0/2
|
3
|
access
|
f0/10
|
(默认)
1
|
trunk
|
[switch2]
|
所属
vlan
|
模式
|
f0/1
|
2
|
access
|
f0/2
|
3
|
access
|
f0/10
|
(默认)
1
|
trunk
|
f0/12
|
-------
|
trunk
|
router
|
IP
地址
|
子网掩码
|
f0/0
|
------------
|
-------------
|
f0/0.1
|
192.168.1.1
|
255.255.255.0
|
f0/0.2
|
192.168.2.1
|
255.255.255.0
|