[bug] network prefix applied to local instead of peer address

Ondrej Zajicek santiago at crfreenet.org
Mon Jan 25 16:03:40 CET 2021


On Sun, Jan 24, 2021 at 05:23:30PM -0500, Etienne Champetier wrote:
> Hi All,
> 
> When configuring a ptp interface, the local address is /32, and the
> prefix is supposed to be applied to the peer address
> I not using a non /32 peer but was curious when reading `man ip-address`

Hi

It is true that for non-/32 prefix BIRD uses IFA_LOCAL instead of
IFA_ADDRESS for prefix. For regular addresses (where local IP is from
the range) it does not matter. For /32 PtP addresses it is handled
properly. The only problematic case is PtP address with non-/32 prefix
(like in your case), but this case is generally not supported by BIRD
anyways, and would require some work to handle it properly. It is rather
strange and asymetric network setup. Do you have any use cases for that?

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at 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."


More information about the Bird-users mailing list