19 messages in net.nether.puck.cisco-nsp[c-nsp] Source address on BGP peering...
FromSent OnAttachments
PiltrafillaJan 14, 2005 8:13 am 
Mark TinkaJan 14, 2005 8:46 am 
McCallum, RobertJan 14, 2005 9:00 am 
Daniel GinsburgJan 14, 2005 9:04 am 
Erdem SenerJan 14, 2005 9:09 am 
Marko MilivojevicJan 14, 2005 9:17 am 
Mark TinkaJan 14, 2005 9:19 am 
Rick CosseyJan 14, 2005 9:52 am 
Jared MauchJan 14, 2005 10:02 am 
Stephen J. WilcoxJan 14, 2005 10:34 am 
PiltrafillaJan 17, 2005 11:27 am 
Brian FeenyJan 17, 2005 11:37 am 
PiltrafillaJan 17, 2005 6:59 pm 
Brian FeenyJan 17, 2005 7:18 pm 
Michael K. SmithJan 17, 2005 10:30 pm 
PiltrafillaJan 18, 2005 3:33 am 
PiltrafillaJan 18, 2005 4:49 am 
Michael K. SmithJan 18, 2005 11:52 am 
PiltrafillaJan 24, 2005 8:01 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[c-nsp] Source address on BGP peering set upActions...
From:Jared Mauch (jar@puck.nether.net)
Date:Jan 14, 2005 10:02:17 am
List:net.nether.puck.cisco-nsp

Anyone knows how BGP on a Cisco router choose source IP address for peering establishment if no "update-source" command is applied to neighbor? Is it only the primary IP address on the closest interface to neighbor?

For instance, let's say that you would like to set up a peering using a secondary IP address to between two directly-connected neighbors. Is it setting up loopbacks, static /32 routes and update-source on the neighbors' config the only way to do it?

So, what you should b e able to do is this:

"sh ip route "x.x.x.x" where x.x.x.x is the IP address that is being peered with.

it will use the IP from that interface to establish the session. If the host is 'connected', it will use an IP from the "connected" secondary subnet.

eg:

inteface FooTherNot0/0 ip address 10.0.0.1 255.0.0.0 ip address 192.168.0.1 255.255.0.0 secondary

If you're peering with 10.0.0.2, it will use the 10.0.0.1 IP to source it.

If you're peering with 192.168.0.2, it will use the 192.168.0.1 IP.

If you're peering with an IP that is forwareded out this interface, but is outside the scope of the 'connected' subnet, it will use the primary ip to source ..

- jared