当前位置: 代码迷 >> 交换机/路由器 >> boson小学实验,大家来帮忙,该如何处理
  详细解决方案

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

热度:26   发布时间:2016-04-29 04:53:07.0
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
  相关解决方案