From: csica (csica@liweb.net)
Date: Sat Sep 02 2006 - 09:59:57 ART
Hi Mohamed,
I don't think the bgp router-id has any affect on who initiates a bgp
neighborship first. When you configure "neighbor x.x.x.x remote-as xxx",
you are telling the router to attempt a tcp session with that neighbor. So
when you have this configured both bgp routers, whoever was configured first
is the one who usually the one who initiates the tcp session. That is why
when you reset R2, R2 was cleared first, so it has the opportunity to
initiate the tcp session first. The "bgp router-id" command is used to
manually set the ip address used in the bgp update messages between
neighbors to identify the bgp messages.
HTH,
Christian
CCIE #16762
JNCIS
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Mohamed Saeed
Sent: Saturday, September 02, 2006 7:50 AM
To: ccielab@groupstudy.com
Cc: Mohamed Saeed
Subject: BGP Neighborship Establishment
Hi All,
Regarding the BGP peering establishment, it is supposed that the peer
with higher ID would initiate the session by sending TCP Sync (client)
while the peer with lower ID will respond (server). I was testing this
and I discovered that it is independent of the bgp router id.
If R1 with ID 10.0.0.1 has a bgp peering with R2 of ID 10.0.0.2, when I
clear the peering while I am on R1, I notice that R1 initiates the
session and R2 responds (using "debug ip packet detail" while clearing
the session). If, however, I cleared the peering while I am on R2, I
notice that R2 initiates the session !!
Has somebody else encountered this ?
Regards
Mohamed ...
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:39 ART