[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 69
  • Last Modified:

show ip bgp sum - IBGP still active

Router 1

router bgp 65555
 no synchronization
 bgp log-neighbor-changes
 network 10.12.24.0 mask 255.255.252.0
 network 10.12.24.18 mask 255.255.255.255
 network 172.30.201.14 mask 255.255.255.255
 network 172.30.204.52 mask 255.255.255.252
 neighbor 10.12.24.19 remote-as 65555
 neighbor 10.12.24.19 description IBGP Peer
 neighbor 172.30.204.54 remote-as 1863
 neighbor 172.30.204.54 description ATT
 no auto-summary


Router 2
router bgp 65555
 no synchronization
 bgp log-neighbor-changes
 network 10.12.24.0 mask 255.255.252.0
 network 10.12.24.19 mask 255.255.255.255
 network 172.19.100.14 mask 255.255.255.255
 network 172.19.101.52 mask 255.255.255.252
 neighbor 10.12.24.18 remote-as 65555
 neighbor 10.12.24.18 description IBGP Peer
 neighbor 172.19.101.54 remote-as 1632
 neighbor 172.19.101.54 description VERIZON
 no auto-summary


Router 1
Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.12.24.19     4 65555 0       0        0    0    0 never    Active

Router 2
Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
10.12.24.18     4 65555 0       0        0    0    0 never    Active


I can reach both .18 and .19 from both sides.  Why is this still stuck in active?  iBGP peering was on a different G0/0 interface, but then I created a new one  (neighbor 10.12.24.18 remote-as 65555 and  neighbor 10.12.24.19 remote-as 65555) on a G0/1.  Do I need to do a clear ip bgp so it can reform the iBGP relationship?
0
PeraHoman
Asked:
PeraHoman
  • 3
  • 2
1 Solution
 
Predrag JovicNetwork EngineerCommented:
Strange ASN number (typically ASN < 65535). :)
Your devices did not sent any messages that is obviously problem (not trying to establish bgp session).
Try to debug if it is lab, I guess your tcp session has problem, something like
BGP: 10.12.24.19 open active, local address 10.12.24.18
BGP: 10.12.24.19 open failed: Connection refused by remote host, open active delayed 31024ms (35000ms max, 28% jitter)
Until TCP session is not OK devices will not send message to try to create bgp session.
You can try to clear bgp session.
In GNS3 typically you need to stop devices and start it again.
0
 
PeraHomanAuthor Commented:
I changed the numbers.  The issue was that I peered it to the loopback of each router. I changed to peering to be on the physical interface. Why doesn't it work when I peer to the loopback?  Do I need to add the update source command?
0
 
Predrag JovicNetwork EngineerCommented:
For peering with loopback you need to use loopback as source, by default interface closest to destination is chosen.
neighbor 10.12.24.18 update-source lo0
 
For iBGP if you use loopback you need to change next hop to router that is sending packets (for iBGP it is not changed by default).
neighbor 10.12.24.18 next-hop-self
Route to destination must be known (static or dynamic). Did you create routes to loopback interfaces?

For EBGP you need to permit multihop (TTL by default is 1 - it is loop prevention mechanism).
neighbor 172.19.101.54 update-source lo0
neighbor 172.19.101.54 ebgp-multihop X
0
 
PeraHomanAuthor Commented:
Routes to the Lo0 interfaces are on the routing table on both routers.  I didn't add next-hop or update-source lo0, that's probably why?
0
 
Predrag JovicNetwork EngineerCommented:
By default next hop is not changed while it is propagated in IBGP, in this specific case I would have to check :) , since it is internal network, but for external networks it is a must.
If you are peering with loopbacks you must specify it, otherwise it will not work, wrong address will be used for peering and it is wrong neighbor... link will not be established.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now