Feature Request: Bird should be able to find out the correct source address for next hop self automatically
Hello, with protocol bgp { local as 48175; import filter as12843in; export filter as12843out; enable as4 yes; hold time 600 ; keepalive time 10; neighbor 2A02:0788:0001:0008::1 as 12843; path metric 1; next hop self; } I get bird> show route export bgp12 all 2001:67c:39c::/48 via 2001:67c:39c:8000::8000:4 on eth0 [static1 09:39] * (2000) Type: static unicast univ BGP.origin: IGP BGP.as_path: 48175 BGP.next_hop: 2001:67c:39c:8002::8000:3 BGP.local_pref: 100 After configuring the source address manually, I get the correct next hop: protocol bgp { local as 48175; import filter as12843in; export filter as12843out; enable as4 yes; hold time 600 ; keepalive time 10; neighbor 2A02:0788:0001:0008::1 as 12843; path metric 1; source address 2a02:788:1:8::3; next hop self; } bird> show route export bgp12 all 2001:67c:39c::/48 via 2001:67c:39c:8000::8000:4 on eth0 [static1 09:39] * (2000) Type: static unicast univ BGP.origin: IGP BGP.as_path: 48175 BGP.next_hop: 2a02:788:1:8::3 BGP.local_pref: 100 According to the documentation, bird should be able to find out the correct source address automatically. But is does not ;-) This is bird 1.3.9 Mit freundlichen Grüßen Christian Riede -- _________________________________________ =C=O=N=N=E=C=T== Karlsruhe GmbH Computer und Netzwerktechnik Gebrüder-Himmelheber-Straße 7 D-76135 Karlsruhe Amtsgericht Mannheim HRB 110258 Geschäftsführer: Stefan Kratzer Telefon: +49 721 20120-0 Telefax: +49 721 20120-500 Internet: http://www.connect-ka.de E-Mail: christian.riede@it-connect.de _________________________________________
On Fri, Nov 29, 2013 at 09:51:52AM +0100, Dr. Christian Riede wrote:
Hello,
According to the documentation, bird should be able to find out the correct source address automatically. But is does not ;-)
It finds one, just not the one you want ;-) . But you are right, it should find the one in the same network. Thanks for a bugreport. -- Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Dr. Christian Riede -
Ondrej Zajicek