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

[求助] BGP,一个很困惑的问题!!!

[复制链接]
发表于 2014-10-10 07:50:16 | 显示全部楼层 |阅读模式
3鸿鹄币
求大神帮忙解答疑问!!!小弟感激不尽啊。。。。。。
问题描述:R4您能够够Ping通R1,但是R4不能够Ping通R1。
      1、AS 50 和AS100互指neighbour,且AS100中使用RIP的IGP协议。
      2、AS100中使用更新源地址,指下一条。
      3、使用network语句通告网段。

BGP(疑问).JPG

最佳答案

查看完整内容

看看路由,我估计是路由问题
发表于 2014-10-10 07:50:17 | 显示全部楼层
看看路由,我估计是路由问题
沙发 2014-10-10 07:50:17 回复 收起回复
回复

使用道具 举报

发表于 2014-10-10 08:41:06 | 显示全部楼层
说的什么啊?R4能ping通R1,又不能ping通R1
板凳 2014-10-10 08:41:06 回复 收起回复
回复

使用道具 举报

 成长值: 64685
发表于 2014-10-10 09:28:08 | 显示全部楼层
哈哈!太好笑了.
地板 2014-10-10 09:28:08 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2014-10-10 09:38:22 | 显示全部楼层
qzmone 发表于 2014-10-10 08:41
说的什么啊?R4能ping通R1,又不能ping通R1

不好意思,打错了。真心不好意思!R4能ping通R1,R1不能ping通R4。
5# 2014-10-10 09:38:22 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2014-10-10 09:38:33 | 显示全部楼层

不好意思,打错了。真心不好意思!R4能ping通R1,R1不能ping通R4。
6# 2014-10-10 09:38:33 回复 收起回复
回复

使用道具 举报

发表于 2014-10-10 10:21:38 | 显示全部楼层
路过了解一下
7# 2014-10-10 10:21:38 回复 收起回复
回复

使用道具 举报

发表于 2014-10-10 17:55:45 | 显示全部楼层
这样根本看不出来,你以为看图就知道你的配置啊
贴配置
8# 2014-10-10 17:55:45 回复 收起回复
回复

使用道具 举报

发表于 2014-10-10 21:11:10 | 显示全部楼层
贴一下配置吧,,不然没法帮你看
9# 2014-10-10 21:11:10 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2014-10-12 15:28:47 | 显示全部楼层
WOLF某某某 发表于 2014-10-10 08:27
看看路由,我估计是路由问题

R1#sh run | se rou
router rip
version 2
network 1.0.0.0
no auto-summary
router bgp 50
no synchronization
bgp router-id 1.1.1.1
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
neighbor 12.1.1.2 remote-as 100
neighbor 13.1.1.3 remote-as 100
no auto-summary


R2#sh run | se router
router rip
version 2
network 2.0.0.0
network 24.0.0.0
no auto-summary
router bgp 100
no synchronization
bgp log-neighbor-changes
network 4.4.4.0 mask 255.255.255.0
network 24.1.1.0 mask 255.255.255.0
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 update-source Loopback0
neighbor 4.4.4.4 next-hop-self
neighbor 12.1.1.1 remote-as 50
no auto-summary


R3#sh run | se rou
router rip
version 2
network 3.0.0.0
network 34.0.0.0
no auto-summary
router bgp 100
no synchronization
bgp log-neighbor-changes
network 34.1.1.0 mask 255.255.255.0
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 update-source Loopback0
neighbor 4.4.4.4 next-hop-self
neighbor 13.1.1.1 remote-as 50
no auto-summary


router rip
version 2
network 4.0.0.0
network 24.0.0.0
network 34.0.0.0
no auto-summary
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 100
neighbor 2.2.2.2 update-source Loopback0
neighbor 3.3.3.3 remote-as 100
neighbor 3.3.3.3 update-source Loopback0
no auto-summary

10# 2014-10-12 15:28:47 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2014-10-12 15:29:00 | 显示全部楼层
fucisco 发表于 2014-10-10 21:11
贴一下配置吧,,不然没法帮你看

R1#sh run | se rou
router rip
version 2
network 1.0.0.0
no auto-summary
router bgp 50
no synchronization
bgp router-id 1.1.1.1
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
neighbor 12.1.1.2 remote-as 100
neighbor 13.1.1.3 remote-as 100
no auto-summary


R2#sh run | se router
router rip
version 2
network 2.0.0.0
network 24.0.0.0
no auto-summary
router bgp 100
no synchronization
bgp log-neighbor-changes
network 4.4.4.0 mask 255.255.255.0
network 24.1.1.0 mask 255.255.255.0
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 update-source Loopback0
neighbor 4.4.4.4 next-hop-self
neighbor 12.1.1.1 remote-as 50
no auto-summary


R3#sh run | se rou
router rip
version 2
network 3.0.0.0
network 34.0.0.0
no auto-summary
router bgp 100
no synchronization
bgp log-neighbor-changes
network 34.1.1.0 mask 255.255.255.0
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 update-source Loopback0
neighbor 4.4.4.4 next-hop-self
neighbor 13.1.1.1 remote-as 50
no auto-summary


router rip
version 2
network 4.0.0.0
network 24.0.0.0
network 34.0.0.0
no auto-summary
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 100
neighbor 2.2.2.2 update-source Loopback0
neighbor 3.3.3.3 remote-as 100
neighbor 3.3.3.3 update-source Loopback0
no auto-summary

11# 2014-10-12 15:29:00 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2014-10-12 15:29:11 | 显示全部楼层
makewonder 发表于 2014-10-10 17:55
这样根本看不出来,你以为看图就知道你的配置啊
贴配置

R1#sh run | se rou
router rip
version 2
network 1.0.0.0
no auto-summary
router bgp 50
no synchronization
bgp router-id 1.1.1.1
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
neighbor 12.1.1.2 remote-as 100
neighbor 13.1.1.3 remote-as 100
no auto-summary


R2#sh run | se router
router rip
version 2
network 2.0.0.0
network 24.0.0.0
no auto-summary
router bgp 100
no synchronization
bgp log-neighbor-changes
network 4.4.4.0 mask 255.255.255.0
network 24.1.1.0 mask 255.255.255.0
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 update-source Loopback0
neighbor 4.4.4.4 next-hop-self
neighbor 12.1.1.1 remote-as 50
no auto-summary


R3#sh run | se rou
router rip
version 2
network 3.0.0.0
network 34.0.0.0
no auto-summary
router bgp 100
no synchronization
bgp log-neighbor-changes
network 34.1.1.0 mask 255.255.255.0
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 update-source Loopback0
neighbor 4.4.4.4 next-hop-self
neighbor 13.1.1.1 remote-as 50
no auto-summary


router rip
version 2
network 4.0.0.0
network 24.0.0.0
network 34.0.0.0
no auto-summary
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 100
neighbor 2.2.2.2 update-source Loopback0
neighbor 3.3.3.3 remote-as 100
neighbor 3.3.3.3 update-source Loopback0
no auto-summary

12# 2014-10-12 15:29:11 回复 收起回复
回复

使用道具 举报

发表于 2014-10-12 19:28:38 | 显示全部楼层
@文人雅士$ 发表于 2014-10-12 15:29
R1#sh run | se rou
router rip
version 2

首先呢。你用环回建的EBGP邻居你没有改ebgp-multihop。你那个邻居能起来么。。。。然后。你Ping的时候是要带源ping的。不然R4上是没有R1接口的路由的。我按你图和配置做了一遍。没有问题两边都可以通。我建议你先检查路由表。如果有路由不通。那就抓个包看看。二层应该是不会有问题的。毕竟你没改的话应该是HDLC的封装。
13# 2014-10-12 19:28:38 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2014-10-12 21:39:37 | 显示全部楼层
fucisco 发表于 2014-10-12 19:28
首先呢。你用环回建的EBGP邻居你没有改ebgp-multihop。你那个邻居能起来么。。。。然后。你Ping的时候是 ...

非常感谢你的回复,还是有个疑问。我建EBGP的时候不是用的环回口,我是用物理的接口,这个也需要多跳吗?
14# 2014-10-12 21:39:37 回复 收起回复
回复

使用道具 举报

发表于 2014-10-12 23:03:26 | 显示全部楼层
@文人雅士$ 发表于 2014-10-12 21:39
非常感谢你的回复,还是有个疑问。我建EBGP的时候不是用的环回口,我是用物理的接口,这个也需要多跳吗?

不用的。。。我看错了,还以为你是环回建的邻,不好意思哈,太粗心了。对了,这个不是区分物理口或者换回口的,而是你的数据包到达目的ip需要的ttl。过一个路由器减一,这样的。
15# 2014-10-12 23:03:26 回复 收起回复
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-9 08:19 , Processed in 0.180310 second(s), 26 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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