设为首页收藏本站language 语言切换
查看: 1905|回复: 2
收起左侧

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

[复制链接]
发表于 2014-12-31 04:02:29 | 显示全部楼层 |阅读模式
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 Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        1002   1003
20   enet  100020     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        1      1003
1003 tr    101003     1500  1005   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


aaa.png

发表于 2014-12-31 07:47:13 | 显示全部楼层
沙发~支持楼主
沙发 2014-12-31 07:47:13 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-12-31 08:45:23 | 显示全部楼层
你路由器不用开启Trunk  把端口划分到vlan 20 就可以了。SW5是做不了配置的就当做是一台HUB。
板凳 2014-12-31 08:45:23 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-3 18:48 , Processed in 0.071069 second(s), 14 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表