11-13-2013 12:09 PM - edited 03-04-2019 09:34 PM
Hi,
Trying to set up a new border gateway but the iBGP routes are not being installed and next hop is inaccessible. I use loopback interfaces and update-source. Am I missing something obvious?
Router 1 is ISR 2821, 12.4
Router 2 is 7301, 12.3
### gets all prefixes, not installed in routing table. next-hop is inaccessible.
rtr2#show ip bgp 8.8.8.8
BGP routing table entry for 8.8.8.0/24, version 0
Paths: (1 available, no best path)
Not advertised to any peer
33885 15169
84.246.88.35 (inaccessible) from 100.100.0.1 (195.67.149.10)
Origin IGP, metric 10, localpref 80, valid, internal
## No bgp routes in table
rtr2#show ip route | inc B
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
rtr2#
## config router 1
100.100.0.2 4 39302 21 77340 291227447 0 0 00:17:30 0
interface Loopback0
ip address 100.100.0.1 255.255.255.255
!
!
interface GigabitEthernet0/0.27
description iBGP link
encapsulation dot1Q 27
ip address 10.255.255.1 255.255.255.0
no ip proxy-arp
!
router bgp 65535
bgp router-id 195.67.149.10
no bgp fast-external-fallover
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 100.100.0.2 remote-as 65535
neighbor 100.100.0.2 ebgp-multihop 2
neighbor 100.100.0.2 update-source Loopback0
!
no synchronization
network 100.100.0.0 mask 255.255.224.0
neighbor 100.100.0.2 activate
default-metric 1
no auto-summary
exit-address-family
!
ip route 100.100.0.2 255.255.255.255 10.255.255.2
## config router 2
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
100.100.0.1 4 65535 154518 41 943080 0 0 00:16:57 469741
interface Loopback0
ip address 100.100.0.2 255.255.255.255
!
interface GigabitEthernet0/1.27
description iBGP link
encapsulation dot1Q 27
ip address 10.255.255.2 255.255.255.0
no ip proxy-arp
no snmp trap link-status
!
router bgp 65535
bgp router-id 100.100.0.2
no bgp fast-external-fallover
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 100.100.0.1 remote-as 65535
neighbor 100.100.0.1 description router01
neighbor 100.100.0.1 ebgp-multihop 2
neighbor 100.100.0.1 update-source Loopback0
!
address-family ipv4
neighbor 100.100.1 activate
no auto-summary
no synchronization
exit-address-family
!
ip route 212.112.0.1 255.255.255.255 10.255.255.1
Solved! Go to Solution.
11-13-2013 12:44 PM
Hi,
on r1:
router bgp 65535
neighbor 100.100.0.2 next-hop-self
Regards
Alain
Don't forget to rate helpful posts.
11-13-2013 12:44 PM
Hi,
on r1:
router bgp 65535
neighbor 100.100.0.2 next-hop-self
Regards
Alain
Don't forget to rate helpful posts.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide