freebsd : how to allow loopback nexthop in OSPFv3-IPv4 ?
Hi all, I would like te to use the new feature "allow loopback nexthop in OSPFv3-IPv4 " on freebsd but I am not sure about the configuration. Let say 2 machines are linked to each others via a vlan. Should I pass the vlan as ptp or stub on freebsd ? Or is there any other way to have unnumbered interfaces on freebsd? Eg for the interface vlan330: protocol ospf v3 ospfv4 { ipv4 { import filter ospf_import; export filter ospf_export; }; area 0 { interface "lo1" { stub yes; }; interface "vlan330" { type ptp; cost 25; }; }; } Is this configuration correct? Benoît
On 26.12.24 6:34 PM, benoitc--- via Bird-users wrote:
Should I pass the vlan as ptp or stub on freebsd ? Or is there any other way to have unnumbered interfaces on freebsd?
I have no proper exp. with *bsd but from what I've heard: * If you want unnumbered interfaces,then do you have a /32 assigned to loopback? * Ensure this address used as preferred source address (pref_src(?)) within the kernel protocol * don't use stub. IIRC, stub means: do not send and do not participate. * for unnumbered interfaces you want to use broadcast to send your pkts to the multicast address I hope I'm not totally off. Have a nice time... Bernd
Thank you for the information. Tis didn't work but I think that 2.16 is probably missing a way to set the IP correctly on freebsd. This is probably missing that patch : https://gitlab.nic.cz/labs/bird/-/commit/e0ed978e753c57b65b89e860b49fd29acb0... to make it works. Would be good to have a 2.16.1 that includes it. Benoit
On 26 Dec 2024, at 19:44, Bernd Naumann <bernd@kr217.de> wrote:
On 26.12.24 6:34 PM, benoitc--- via Bird-users wrote:
Should I pass the vlan as ptp or stub on freebsd ? Or is there any other way to have unnumbered interfaces on freebsd?
I have no proper exp. with *bsd but from what I've heard:
* If you want unnumbered interfaces,then do you have a /32 assigned to loopback? * Ensure this address used as preferred source address (pref_src(?)) within the kernel protocol * don't use stub. IIRC, stub means: do not send and do not participate. * for unnumbered interfaces you want to use broadcast to send your pkts to the multicast address
I hope I'm not totally off. Have a nice time...
Bernd
participants (2)
-
benoitc@enki-multimedia.eu -
Bernd Naumann