On 26/02/2015 20:52, Lennart Sorensen wrote:
> It seems all the methods that use netlink is getting 0.0.0.0 as the
> broadcast and not working, while ifconfig is doing something weird that
> somewhat works (but I suspect might not always work), and ifupdown is
> doing the right thing.

this is one aspect of linux networking which was there from the beginning
and which I could never understand.  The broadcast address can be derived
correctly in all situations using the network address and netmask.  So why
is there a requirement or even an option to specify it at the api layer?
Bizarre.

>From what I remember of a problem relating to netmask configuration in
bird, ifconfig configures the address on an interface using two discrete
steps, one to set the address and the second to set the netmask.  "ip addr"
does this atomically.

Nick


_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to