On 03/04/2013 07:09 PM, Hans van Kranenburg wrote:
On 03/04/2013 06:19 PM, Andre Nathan wrote:
# Prefixes to be exported to BGP procol static mynetworks { route a.b.c.0/24; route a.b.c.1/24; }
# Route to the BGP peer protocol static bgp_peer_route { route w.z.y.x/32 via w.z.y.1; }
protocol kernel { scan time 20; export where proto = "bgp_peer_route"; }
This should work, right?
Yes, it's almost the opposite way of doing the same: What do you want to happen when x.y.z.w loses its connection to the outside world? (i.e. bgp to w.z.y.x goes down) You might have learned an alternative route to the outside world from your iBGP peer, but you're not making it active in the os kernel now.
Oh, I was reading a bit too quick. When you only export proto = "bgp_peer_route", you're not doing anything with any route that bird learns from your bgp peers, is that what you want? -- Hans van Kranenburg - System / Network Engineer T +31 (0)10 2760434 | hans.van.kranenburg@mendix.com | www.mendix.com