- 论坛徽章:
- 0
|
实验环境是Boson NetSim,拓扑如下
两台交换机配置相同,fa0/12端口配置为trunk vlan配置为 pc1和pc4连接sw1的fe 0/1和0/2口,pc2和pc3连接sw2的fe 0/1和0/2口
SW1#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12
10 10 active Fa0/1
20 20 active Fa0/2
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
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
SW1#
四台pc ip地址分别为pc1:172.168.10.1 pc2:172.168.10.2 pc3:172.16.10.3 pc4:172.16.10.4
pc1和pc2的ipconfig /all为
pc1
Boson BOSS 5.0 IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : boson.com
IP Address. . . . . . . . . . . . : 172.16.10.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 172.16.1.1
You can also use winipcfg to configure the IP Address
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : sbnl.com
Description . . . . . . . . . . . : Realtek RTL8139/810X Family PCI Fast
Ethernet NIC
Physical Address. . . . . . . . . : 000C.9265.6426
DHCP Enabled. . . . . . . . . . . : No
pc2
Boson BOSS 5.0 IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : boson.com
IP Address. . . . . . . . . . . . : 172.16.10.2
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 172.16.1.1
You can also use winipcfg to configure the IP Address
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : sbnl.com
Description . . . . . . . . . . . : Realtek RTL8139/810X Family PCI Fast
Ethernet NIC
Physical Address. . . . . . . . . : 000C.2661.2987
DHCP Enabled. . . . . . . . . . . : No
pc1和pc2各自属于vlan10和vlan20,为何之间还能ping通呢,难道我的配置有问题?
[ 本帖最后由 hyagami 于 2009-10-27 02:30 编辑 ] |
|