雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 8030|回复: 23

[讨论/求助] CCNA.vlan 实验问题。

[复制链接]
发表于 2013-3-14 15:37:19 | 显示全部楼层 |阅读模式
我的配置是
PC1

en
conf t
no ip routing
int f 0/0
ip add 192.168.11.2 255.255.255.0
no shutdown
exit
ip default-gatemay 192.168.10.254
exit
PC2
en
conf t
no ip routing
int f 0/0
ip add 192.168.12.2 255.255.255.0
no shutdown
exit
ip default-gatemay 192.168.20.254
exit
PC3
en
conf t
no ip routing
int f 0/0
ip add 192.168.23.2 255.255.255.0
no shutdown
exit
ip default-gatemay 192.168.10.254
exit
MS1

VLAN database

vlan 10
vlan 20
exit
conf t
int f 0/1
switchport mode access
switchport access vlan 10

exit
int f 0/2
switchport mode access
switchport access vlan 20
exit
int f 0/15
switchport trunk encapsulation dot1q
switchport mode trunk
exit
MS2

VLAN database

vlan 10
vlan 20
exit
conf t
int f 0/1
switchport mode access


switchport access vlan 10

exit
int f 0/2
switchport mode access
switchport access vlan 20
exit

int f 0/15


switchport trunk encapsulation dot1q
switchport mode trunk


exit
GM
EN
conf t

int f 0/1
no shurtdown
exit
int f 0/0.10
en   dot 10
ip add 192.168.10.254 255.255.255.0
no shurtdown
exit

int f 0/0.20

en dot 20
ip add 192.168.20.254 255.255.255.0
no shurtdown




问。。 1 .我配置是否有错。。? 因为我PING 不通。。哭。。
            2 .如果不配置GM。。即。。PC1应该可以PING通PC2的吧。。。因为在同一个VLAN中丫有           
            3 .如果在MS1或MS2中任意加入PC.且PC都在vlan 10 或vlan 20中的.那么应该全网可以互通对不?












本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| 发表于 2013-3-14 15:38:58 | 显示全部楼层
这图应该清晰点。。呵

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
发表于 2013-3-14 15:59:06 | 显示全部楼层
错误还是非常明显的,我一打开帖子就看见了,check一下
发表于 2013-3-14 15:59:35 | 显示全部楼层
从PC的配置上看,楼主你把IP地址和网关放到一个网段试试
发表于 2013-3-14 16:21:37 | 显示全部楼层
Cindy_ju 发表于 2013-3-14 15:59
从PC的配置上看,楼主你把IP地址和网关放到一个网段试试

哟呵~ 美貌与技术并存啊!
发表于 2013-3-14 16:57:20 | 显示全部楼层
PC1

en
conf t
no ip routing
int f 0/0
ip add 192.168.11.2 255.255.255.0
no shutdown
exit
ip default-gatemay 192.168.10.254
PC的IP和网关不在同一个网段。
发表于 2013-3-14 16:58:23 | 显示全部楼层
Cindy_ju 发表于 2013-3-14 15:59
从PC的配置上看,楼主你把IP地址和网关放到一个网段试试

Cindy,赞一个~
发表于 2013-3-14 17:59:13 | 显示全部楼层
Cindy解析了一个错误点。
然后,MN2的f0/2口也应该配置为Trunk模式
发表于 2013-3-15 09:19:38 | 显示全部楼层
Cindy_ju 发表于 2013-3-14 15:59
从PC的配置上看,楼主你把IP地址和网关放到一个网段试试

太强悍了,内外兼得优啊!
发表于 2013-3-15 09:55:26 | 显示全部楼层
这是让找BUG吗!……哈哈哈……
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-4-25 14:11 , Processed in 0.080627 second(s), 19 queries , Gzip On.

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