[FROG] OSPF, FreeBSD and aliases

Eugene Grosbein eugen at grosbein.net
Sat Jul 17 22:57:54 UTC 2021


Hi!

I hope this is right list to ask. Please correct me if not.

I'm trying to move from quagga to frr 7.5.1. I have existing working setup with OSPF
and FreeBSD servers that have some aliases on its OSPF-enabled interfaces.
In FreeBSD, if one needs several IP addresses in same IP subnet on one interfaces (for CARP etc.)
then one assigns one of IPs with "real" subnet mask and others with /32 mask:

igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        inet 192.168.49.3 netmask 0xffffff00 broadcast 192.168.49.255
        inet 192.168.49.13 netmask 0xffffffff broadcast 192.168.49.13
        inet 192.168.49.17 netmask 0xffffffff broadcast 192.168.49.17

And another OSPF neighbour:

igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        inet 192.168.49.1 netmask 0xffffff00 broadcast 192.168.49.255
        inet 192.168.49.10 netmask 0xffffffff broadcast 192.168.49.13
        inet 192.168.49.11 netmask 0xffffffff broadcast 192.168.49.17

This worked for me for years with quagga but frr's ospfd does not form neighbourship
with following errors:

interface igb0:192.168.49.17: ospf_read network address is not same [192.168.49.1]
interface igb0:192.168.49.17: ospf_read network address is not same [192.168.49.10]
interface igb0:192.168.49.17: ospf_read network address is not same [192.168.49.11]

It seems ospfd's checks cannot cope with FreeBSD-like IP aliases.
Please help.




More information about the frog mailing list