首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络技术 > 电脑技能 >

boson小学实验,大家来帮忙,该如何处理

2012-03-08 
boson小学实验,大家来帮忙boson6.0环境[SW3550] 设置vlan 10 (1-6 e口)(9.114.65.254 255.255.255.0)vlan

boson小学实验,大家来帮忙
boson6.0环境

[SW3550] 设置

vlan 10 (1-6 e口) (9.114.65.254 255.255.255.0)
vlan 20(7-12 e口) (172.29.47.254 255.255.255.0)

其中2口 插 PC1:9.114.65.2 255.255.255.0 9.114.65.254
其中7口 插 PC2:172.29.47.2 255.255.255.0 172.29.47.254

问题:PC1 ping 网关9.114.65.254 竟然不通···为什么啊··已经开启 ip routing

[我的目标是 PC1 ping通 PC2 但现在 PC竟然连网关都不通]

以下是sw3550 配置

Switch#show ip int b

Interface IP-Address OK? Method Status Protocol
Vlan 1 unassigned YES unset administratively down down
FastEthernet0/1 unassigned YES unset up up
FastEthernet0/2 unassigned YES unset up up
FastEthernet0/3 unassigned YES unset down up
FastEthernet0/4 unassigned YES unset down up
FastEthernet0/5 unassigned YES unset down up
FastEthernet0/6 unassigned YES unset up up
FastEthernet0/7 unassigned YES unset up up
FastEthernet0/8 unassigned YES unset down up
FastEthernet0/9 unassigned YES unset down up
FastEthernet0/10 unassigned YES unset down up
FastEthernet0/11 unassigned YES unset down up
FastEthernet0/12 unassigned YES unset down up
GigabitEthernet0/1 unassigned YES unset down up
GigabitEthernet0/2 unassigned YES unset down up

Switch#sh r

!
Version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
ip name-server 0.0.0.0
!
!
!
ip subnet-zero
ip routing
!
!
!
!
!
!
spanning-tree extend system-id
!
!
!


--MORE--
!
--MORE--
interface FastEthernet0/1
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 10
--MORE--
!
--MORE--
interface FastEthernet0/2
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 10
--MORE--
!
--MORE--
interface FastEthernet0/3
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 10
--MORE--
!
--MORE--
interface FastEthernet0/4
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 10
--MORE--
!
--MORE--
interface FastEthernet0/5
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 10
--MORE--
!
--MORE--
interface FastEthernet0/6
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 10
--MORE--
!
--MORE--
interface FastEthernet0/7
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 20
--MORE--
!
--MORE--
interface FastEthernet0/8
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 20
--MORE--
!
--MORE--
interface FastEthernet0/9
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 20
--MORE--
!
--MORE--
interface FastEthernet0/10
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 20
--MORE--
!
--MORE--
interface FastEthernet0/11
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 20


--MORE--
!
--MORE--
interface FastEthernet0/12
--MORE--
 switchport mode dynamic desirable
--MORE--
 switchport access vlan 20
--MORE--
!
--MORE--
interface GigabitEthernet0/1
--MORE--
 switchport mode dynamic desirable
--MORE--
!
--MORE--
interface GigabitEthernet0/2
--MORE--
 switchport mode dynamic desirable
--MORE--
!
--MORE--
 vtp domain bigdomain
--MORE--
interface Vlan 1
--MORE--
 no ip address
--MORE--
 no ip route-cache
--MORE--
 shutdown
--MORE--
interface Vlan0010
--MORE--
 ip address 9.114.65.254 255.255.255.0
--MORE--
 no ip route-cache
--MORE--
interface Vlan0010
--MORE--
 no ip address
--MORE--
 no ip route-cache
--MORE--
 shutdown
--MORE--
interface Vlan0020
--MORE--
 ip address 172.29.47.254 255.255.255.0
--MORE--
 no ip route-cache
--MORE--
interface Vlan0010
--MORE--
 no ip address
--MORE--
 no ip route-cache
--MORE--
 shutdown
--MORE--

--MORE--
vlan 10 name neiwang
--MORE--

--MORE--
vlan 20 name vpnwang
--MORE--
!
--MORE--
ip classless
--MORE--
no ip http server
--MORE--
!
--MORE--
!
--MORE--
!
--MORE--
line con 0
--MORE--
 transport input none
--MORE--
line aux 0
--MORE--
line vty 0 4
--MORE--
!
--MORE--
no scheduler allocate
--MORE--
end
--MORE--

Switch#

[解决办法]
掩码错误。实际上讲,没有这样的掩码长度。
[解决办法]
这个应该是你的模拟器的bug

热点排行