[c-nsp] Source address on BGP peering set up

Stephen J. Wilcox steve at telecomplete.co.uk
Fri Jan 14 10:34:32 EST 2005


I thought I'd chip in as everyone else has had a go at this..

On Fri, 14 Jan 2005, Piltrafilla wrote:

> 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?

update-source will use the primary address, if no update source is applied it 
will use the ip on the outgoing interface 

> 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?

no you can just config it like any other ebgp directly connected peer

> On bgpd of OpenBSD you could set up a "local-address" parameter per
> neighbor or group that sets up source IP address used for that
> peering. I haven't found any similar parameter on cisco bgp neighbors'
> config.

it doesnt have it

Steve



More information about the cisco-nsp mailing list