OSPFv2 and unnumbered interfaces without peer ?

Etienne Champetier champetier.etienne at gmail.com
Sun Jan 24 17:57:36 CET 2021


Hi All,

Is it possible to use unnumbered interfaces without having a peer
address setup ?
Without a peer the state stays 'PtP (stub)'

# ip link add name wg-test type wireguard
# ip addr add dev wg-test local 1.2.3.4
# ip link set wg-test up
# birdc show ospf interface
Interface wg-test (1.2.3.4/32)
Type: ptp
Area: 0.0.0.0 (0)
State: PtP (stub)
...

# ip addr del 1.2.3.4/32 dev wg-test
# ip addr add dev wg-test local 1.2.3.4 peer 5.6.7.8
# birdc show ospf interface
Interface wg-test (peer 5.6.7.8)
Type: ptp
Area: 0.0.0.0 (0)
State: PtP
...

Jason (in CC) and I were wondering if this is a Bird limitation or if
having a peer setup is really important semantically (and worth adding
to all protocols in OpenWrt)?
https://github.com/openwrt/openwrt/pull/3810

Thanks
Etienne


More information about the Bird-users mailing list