BIRD / BGP / IPv6 / source address directive : auto vs link local vs GUA

Leo Vandewoestijne bird at unicycle.net
Sun Mar 22 15:27:30 CET 2015


Hello,

On Sun, 22 Mar 2015, Hans van Kranenburg wrote:

> First of all, there's nothing wrong with a rather simple looking 
> confinguration. It might show that the configuration language is well 
> thought out and powerful. :-)
> 
> ...
>
> protocol bgp ibgp_my_other_router {
> 	import all;  # learn other external routes
> 	export all;
> 	local as 64515;
> 	source address 2001:db8:1000:1;
> 	neighbor 2001:db8:1045::6 as 64515;
>       }
>
Clear configurations prevent errors by making them them more obvious.
Above example equals exactly to:

protocol bgp ibgp_my_other_router {
 	local    2001:db8:1000::1 as 64515;
 	neighbor 2001:db8:1045::6 as 64515;
 	export all;
	}

...except just the formatting already exposed an invalid source address.

Another example of when you would need a specific source address is
when mixing native and tunnelled IPv6.

-- 

Met vriendelijke groet,
With kind regards,


Leo Vandewoestijne


More information about the Bird-users mailing list