liubinfelix 发表于 2014-12-31 04:02:29

GNS3 1.2.1 使用3725模拟交换机vlan不能使用Trunk

pc2可以ping通182.158.20.129,即vlan地址
pc8不能ping通,显示:
PC8> ping 182.158.20.129
host (182.158.20.129) not reachable
我试过好的ios,都不行。求帮忙!具体信息见下面。

R2 f1/2:
interface FastEthernet1/2
switchport mode trunk

R2 f1/15:
interface FastEthernet1/15
switchport access vlan 20

R2 Vlan:
interface Vlan20
ip address 182.158.20.129 255.255.255.128

R2#show vlan-switch

VLAN Name                           Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                        active    Fa1/0, Fa1/1, Fa1/3, Fa1/4
                                                Fa1/5, Fa1/6, Fa1/7, Fa1/8
                                                Fa1/9, Fa1/10, Fa1/11, Fa1/12
                                                Fa1/13, Fa1/14
20   OA                               active    Fa1/15
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                  act/unsup

VLAN TypeSAID       MTU   Parent RingNo BridgeNo StpBrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet100001   1500-      -      -      -    -      1002   1003
20   enet100020   1500-      -      -      -    -      0      0
1002 fddi101002   1500-      -      -      -    -      1      1003
1003 tr    101003   15001005   0      -      -    srb      1      1002
1004 fdnet 101004   1500-      -      1      ibm-      0      0
1005 trnet 101005   1500-      -      1      ibm-      0      0

SW5为Gns3自带的Ethernet Switch.
端口2为trunk,8为access,两个都已经划入vlan20.

pc2: 182.158.20.130/25 182.158.20.129
pc8: 182.158.20.131/25 182.158.20.130




lifediy07 发表于 2014-12-31 07:47:13

沙发~支持楼主

heyu19627 发表于 2014-12-31 08:45:23

你路由器不用开启Trunk把端口划分到vlan 20 就可以了。SW5是做不了配置的就当做是一台HUB。
页: [1]
查看完整版本: GNS3 1.2.1 使用3725模拟交换机vlan不能使用Trunk