bird: KIF: Invalid broadcast address 255.255.255.255 for em1
Hi Fellow BIRD users, It appears that BIRD does not fully appreciate RFC3021 style addresses on Ubuntu 15.04, when I start BIRD: syslog:Nov 10 15:25:15 eunetworks-2 bird: KIF: Invalid broadcast address 255.255.255.255 for em1 syslog:Nov 10 15:25:15 eunetworks-2 bird: KIF: Invalid broadcast address 255.255.255.255 for p2p2.1003 syslog:Nov 10 15:25:15 eunetworks-2 bird: Started root@eunetworks-2: # ip -4 addr show dev em1 2: em1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 inet 94.142.247.237/31 brd 255.255.255.255 scope global em1 valid_lft forever preferred_lft forever root@eunetworks-2: # ip -4 addr show dev p2p2.1003 14: p2p2.1003@p2p2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default inet 78.152.32.177/31 brd 255.255.255.255 scope global p2p2.1003 valid_lft forever preferred_lft forever Should I configure the Linux side of things differently or is this something that needs resolving in BIRD itself? root@eunetworks-2:~# uname -a Linux eunetworks-2 3.19.0-32-generic #37-Ubuntu SMP Wed Oct 21 10:23:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux root@eunetworks-2:~# dpkg -l | grep bird ii bird 1.5.0-1+vivid+1 amd64 Internet Routing Daemon root@eunetworks-2:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.04 Release: 15.04 Codename: vivid Kind regards, Job
On Tue, Nov 10, 2015 at 03:40:58PM +0100, Job Snijders wrote:
Hi Fellow BIRD users,
It appears that BIRD does not fully appreciate RFC3021 style addresses on Ubuntu 15.04, when I start BIRD:
syslog:Nov 10 15:25:15 eunetworks-2 bird: KIF: Invalid broadcast address 255.255.255.255 for em1 syslog:Nov 10 15:25:15 eunetworks-2 bird: KIF: Invalid broadcast address 255.255.255.255 for p2p2.1003
BIRD works with RFC 3021 style addresses without problems, it is just confused by the fact that directed broadcast address for the iface is configured to 255.255.255.255, which is address reserved for link-local broadcast. BIRD should work without problems on these interfaces (unless you use broadcast like in RIPv1), it is just warning.
Should I configure the Linux side of things differently or is this something that needs resolving in BIRD itself?
IMHO reasonable setting would be to not set directed broadcast address on such interfaces. Link-local broadcast address works for any interfaces and need not be configured. -- 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."
On Tue, Nov 10, 2015 at 06:55:04PM +0100, Ondrej Zajicek wrote:
On Tue, Nov 10, 2015 at 03:40:58PM +0100, Job Snijders wrote:
It appears that BIRD does not fully appreciate RFC3021 style addresses on Ubuntu 15.04, when I start BIRD:
syslog:Nov 10 15:25:15 eunetworks-2 bird: KIF: Invalid broadcast address 255.255.255.255 for em1 syslog:Nov 10 15:25:15 eunetworks-2 bird: KIF: Invalid broadcast address 255.255.255.255 for p2p2.1003
BIRD works with RFC 3021 style addresses without problems, it is just confused by the fact that directed broadcast address for the iface is configured to 255.255.255.255, which is address reserved for link-local broadcast.
BIRD should work without problems on these interfaces (unless you use broadcast like in RIPv1), it is just warning.
Acknowledged. I see no issues other then the warnings.
Should I configure the Linux side of things differently or is this something that needs resolving in BIRD itself?
IMHO reasonable setting would be to not set directed broadcast address on such interfaces. Link-local broadcast address works for any interfaces and need not be configured.
The interface is brought up by ifup(8) and friends, this is the input: # em1: Core: to eunetworks-1 auto em1 iface em1 inet static address 94.142.247.237 netmask 255.255.255.254 gateway 94.142.247.236 Any recommendations on what I can change to prevent the warning? Kind regards, Job
participants (2)
-
Job Snijders -
Ondrej Zajicek