I think the router-id has nothing to do in this... How a router would know its peer's router-id before connecting to it? :-)
When BGP peer are directly connected (and use directly connected IPs) the router with the lowest IP will always initiated the BGP session. When Loopbacks are used, it somehow random. Usually, the last configured or the last router where "clear ip bgp *" has been executed... To fix things, use "transport connection-mode <active|passive>" as suggested by Steve. Regards, Christophe On 24 Jun 2011, at 19:53, Di Bias, Steve wrote: > The only way I know of forcing on router to be the server is by hardcoding > the router-id to something higher than the client, or using a connection mode > of active or passive in the BGP neighbor command: > > R1(config-router)#neighbor 150.100.12.2 transport connection-mode ? > active Actively establish the TCP session > passive Passively establish the TCP session > > > Thank you, > > Steve Di Bias > Network Engineer - Information Systems > Valley Health System - Las Vegas > Office - 702- 369-7594 > Cell - 702-241-1801 > [email protected] > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of gaurav nunia > Sent: Friday, June 24, 2011 8:45 AM > To: [email protected] > Subject: [OSL | CCIE_RS] BGP-peering > > can anybody please explain the client and server model used. > > its okay that the client sources the session with a random port to server's > 179. but i get confused when client is not always the router with higher ID. > > >> when is the first time we can know about a router being a server or > client, i mean time with- 'idle-open-.........estb'; states. > > and can i force a router to be the client or server ? > > also can i see the ttl values of the packets preferably by CLI. > > > -- > thanks > gaurav > > http://routing0sand1s.blogspot.com/ > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > > Are you a CCNP or CCIE and looking for a job? Check out > www.PlatinumPlacement.com > > > UHS Confidentiality Notice: This e-mail message, including any attachments, > is for the sole use of the intended recipient (s) and may contain > confidential and privileged information. Any unauthorized review, use, > disclosure or distribution of this information is prohibited. If this was > sent to you in error, please notify the sender by reply e-mail and destroy > all copies of the original message. > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > > Are you a CCNP or CCIE and looking for a job? Check out > www.PlatinumPlacement.com _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com
