[FROG] OSPF, FreeBSD and aliases
Eugene Grosbein
eugen at grosbein.net
Sun Jul 18 14:02:19 UTC 2021
18.07.2021 5:57, Eugene Grosbein wrote:
> 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 is my obvious mistake in "broadcast" part for second example
because of copy-paste and improper of editing, I hope it is not very misleading.
Of course, every broadcast really equals to IP for /32 aliases.
>
> 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.
>
>
> _______________________________________________
> frog mailing list
> frog at lists.frrouting.org
> https://lists.frrouting.org/listinfo/frog
>
>
>
More information about the frog
mailing list