x*********n 发帖数: 28013 | 1 用 loopback 做router ID,如果AS都是65011,那不是ibgp么?
这个ebgp-multihop 20是啥意思呢?
router bgp 65011
no synchronization
bgp log-neighbor-changes
network 172.16.220.0 mask 255.255.255.0
neighbor 172.16.20.1 remote-as 65011
neighbor 172.16.20.1 ebgp-multihop 20
neighbor 172.16.20.1 update-source Loopback0
neighbor 172.16.20.3 remote-as 65011
neighbor 172.16.20.3 ebgp-multihop 20
neighbor 172.16.20.3 update-source Loopback0
neighbor 172.16.20.4 remote-as 65011
neighbor 172.16.20.4 ebgp-multihop 20
neighbor 172.16... 阅读全帖 |
|
z**r 发帖数: 17771 | 2 NH应该是far end PE loopback,这个肯定是从IGP得到,同时也应该在LFIB里,你不激
活ipv4 neighbor,同时看一下show mpls for?
刚才俺也做了个实验,果然不需要在add ipv4下激活ipv4 neighbor,只需要在add
ipv6下激活ipv4 neighbor就可以送ipv6扩展了。
R1----R2----R3----R4
R1 and R4 are dual stack, R2 and R3 are IPv4 only, LDP enabled on all
interface
相关配置如下
!
!
!
ip cef
no ip domain lookup
ipv6 unicast-routing
ipv6 cef
!
!
interface Loopback0
ip address 10.1.1.1 255.255.255.255
!
interface Loopback1
no ip address
ipv6 address 2001::1/128
!
interface Ethernet0/0
no ip address
... 阅读全帖 |
|
x*********n 发帖数: 28013 | 3 R4:
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 150.2.5.5 remote-as 200
neighbor 150.2.5.5 disable-connected-check
neighbor 150.2.5.5 update-source Loopback0
R5:
router bgp 200
no synchronization
bgp log-neighbor-changes
neighbor 150.2.4.4 remote-as 100
neighbor 150.2.4.4 disable-connected-check
neighbor 150.2.4.4 update-source Loopback0
答案给的是这个,但是
sh ip bgp sum的时候,那个status总是active,这个说明啥,要从哪里差错?
sh ip route里面,彼此对方的subnet都没有进table。ping 不通。
ping 2边的serial口,能ping通。
大家说是为啥啊?缺... 阅读全帖 |
|
s*******8 发帖数: 12734 | 4 router bgp 1
neighbor 10.2.1.3 remote-as 1
neighbor 10.2.1.3 update-source loopback0
no auto
address-family ipv6
neighbor 10.2.1.3 activate
neighbor 10.2.1.3 send-community both
neighbor 10.2.1.3 send-label
redistribute connected
redistribute rip-------这个是我新加的,还没试。
exit-address-family
谢谢saiwong |
|
s******v 发帖数: 4495 | 5 bgp is not established, it must be some problems in tcp connection. try "
ping 150.2.5.5 source loopback0" on r2, to make sure the tcp conn between ur
ip address is good. |
|
x*********n 发帖数: 28013 | 6 ping一下,对方的router就知道loopback0这个subnet了?
ur |
|
s******v 发帖数: 4495 | 7 就是因为这个,
neighbor x.x.x.x remote-as 1
neighbor x.x.x.x upd loopback0 (if y.y.y.y)
R1 bgp 第一步建立tcp,src = y.y.y.y, dest = x.x.x.x,到了R2,无法建立tcp,因
为没有route回到y.y.y.y。
ebgp-mhop是另外一个因素。 |
|
s*****g 发帖数: 1055 | 8 Here we go, simple 2 router setup,
R1#sh run | sec bgp
router bgp 1
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 1
neighbor 2.2.2.2 update-source Loopback0
!
address-family ipv4
no neighbor 2.2.2.2 activate <== IPv4 neighbor not activated
no auto-summary
no synchronization
exit-address-family
!
address-family ipv6
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 send-label
redistribute connected
no synchronization
exit-address-family
R1#sh ipv6 route
IPv6 Routing Table - 3 entries... 阅读全帖 |
|
x*********n 发帖数: 28013 | 9 R1是ABR,R6是普通router
R3选择next hop,应该用sh ip cef看吗? sh ip cef的结果和sh ip route ospf是一
样的。
R6是area1里面的一个普通router,里面有一个loopback0 ip是6.6.6.6,先LSA传到R1
,然后,R1 originate LSA3 给area0里面的每一个router。
问一下,R3通过LSA3知道如何reach 6.6.6.6,LSA3 originated by R1,为啥R3的next
hop不是R1,而是R4? |
|