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

为什么单臂路由R1与R2直连不通?请各位前辈指导,谢谢!

[复制链接]
发表于 2013-9-10 11:00:00 | 显示全部楼层 |阅读模式
拓扑.jpg R1配置的是单臂路由,其他路由协议重分发都可以正常ping通,唯独就是R1与R2直连这块ping不通,求解?
R1配置:
R1# show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     18.0.0.0/24 is subnetted, 1 subnets
C       18.1.1.0 is directly connected, FastEthernet0/1
     172.16.0.0/24 is subnetted, 4 subnets
C       172.16.1.0 is directly connected, FastEthernet0/0.1
C       172.16.2.0 is directly connected, FastEthernet0/0.2
C       172.16.3.0 is directly connected, FastEthernet0/0.3
C       172.16.4.0 is directly connected, FastEthernet0/0.4
R1#                                                                        
interface FastEthernet0/0
no ip address
duplex auto
speed auto
!
interface FastEthernet0/0.1
encapsulation dot1Q 10
ip address 172.16.1.1 255.255.255.0
!
interface FastEthernet0/0.2
encapsulation dot1Q 20
ip address 172.16.2.1 255.255.255.0
!
interface FastEthernet0/0.3
encapsulation dot1Q 30
ip address 172.16.3.1 255.255.255.0
!
interface FastEthernet0/0.4
encapsulation dot1Q 40
ip address 172.16.4.1 255.255.255.0
!
interface FastEthernet0/1
ip address 18.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
!
interface Serial0/1
no ip address
shutdown
!
interface Serial0/2
no ip address
shutdown
!
interface Serial0/3
no ip address
shutdown
!
interface Ethernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Ethernet1/1
no ip address
duplex auto
speed auto
shutdown
!
interface Ethernet1/2
no ip address
duplex auto
speed auto
shutdown
!
interface Ethernet1/3
no ip address
duplex auto
speed auto
shutdown
!
ip classless


R2配置:
R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route

Gateway of last resort is not set

     18.0.0.0/24 is subnetted, 1 subnets
C       18.1.1.0 is directly connected, FastEthernet0/1
     24.0.0.0/24 is subnetted, 1 subnets
S       24.1.1.0 [1/0] via 123.1.1.2
     35.0.0.0/24 is subnetted, 1 subnets
S       35.1.1.0 [1/0] via 123.1.1.3
     57.0.0.0/24 is subnetted, 1 subnets
S       57.1.1.0 [1/0] via 123.1.1.3
     123.0.0.0/24 is subnetted, 1 subnets
C       123.1.1.0 is directly connected, FastEthernet0/0
     172.16.0.0/24 is subnetted, 4 subnets
S       172.16.1.0 [1/0] via 18.1.1.0
S       172.16.2.0 [1/0] via 18.1.1.0
S       172.16.3.0 [1/0] via 18.1.1.0
S       172.16.4.0 [1/0] via 18.1.1.0
R2#interface FastEthernet0/0
ip address 123.1.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 18.1.1.2 255.255.255.0
duplex auto
speed auto

router ospf 100
log-adjacency-changes
network 123.1.1.0 0.0.0.255 area 0
!
ip classless
ip route 172.16.1.0 255.255.255.0 18.1.1.0
ip route 172.16.2.0 255.255.255.0 18.1.1.0
ip route 172.16.3.0 255.255.255.0 18.1.1.0
ip route 172.16.4.0 255.255.255.0 18.1.1.0
ip route 57.1.1.0 255.255.255.0 123.1.1.3
ip route 35.1.1.0 255.255.255.0 123.1.1.3
ip route 24.1.1.0 255.255.255.0 123.1.1.2
!

拓扑.jpg
发表于 2013-9-10 11:09:09 | 显示全部楼层
直连能不通?不太可能啊,你R1没有到R2 123网段的路由条目啊,这样怎么能通?
沙发 2013-9-10 11:09:09 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-12-6 17:22:23 | 显示全部楼层
没有注入。。。。
板凳 2013-12-6 17:22:23 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-12 23:23 , Processed in 0.057869 second(s), 23 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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