Seems I can't get bird to open a bgp listen socket

Hans van Kranenburg hans.van.kranenburg at mendix.com
Sun Jan 20 15:17:16 CET 2013


On 01/20/2013 02:37 PM, Hans van Kranenburg wrote:
> Hi Bird users,
> 
> I'm setting up a bird test router, using bird 1.3.9 on debian squeeze
> (backport of the packages in unstable).
> 
> It seems I cannot get bird to listen on tcp port 179. tcpdump shows
> outgoing traffic from 10.140.59.20 to 10.140.59.16, but there's just
> nothing listening on port 179 when I start bird.
> 
> $ netstat -an | grep 179
> $
> 
> This really feels like I'm missing something small, something stupid.

And it was...

@@ -46,6 +45,7 @@ protocol bgp bgp1918_knud {
        keepalive time 20;
        hold time 60;
        neighbor 10.140.59.16 as 64521;
+       multihop;
 }

 protocol bgp bgp1918_oele {
@@ -55,4 +55,5 @@ protocol bgp bgp1918_oele {
        keepalive time 20;
        hold time 60;
        neighbor 10.140.59.18 as 64521;
+       multihop;
 }

And now I have a listening port...

tcp  0  0 0.0.0.0:179    0.0.0.0:*      LISTEN

Feature request: can bird please made to log a warning in this scenario,
something like "WARN: Ignoring blah because neigbor not in a directly
connected subnet blah, so not going to listen on 179 blah?"

-- 
Hans van Kranenburg - System / Network Engineer
T +31 (0)10 2760434 | hans.van.kranenburg at mendix.com | www.mendix.com



More information about the Bird-users mailing list