Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OSPFv3 over IPv6

OSPFv3 peers over IPv6 link-local addresses. Its router ID is still 32 bits. An IPv4 address on the peering interface is unnecessary.

Configure the first router

On a point-to-point interface, set a unique router ID on each node and enable the matching interface on its peer.

router-id = "10.0.0.1"
[ospf3]
enabled = true
interfaces = ["veth0"]
network-type = "point-to-point"

Observe the result

bash scripts/ospf3-show-smoke.sh

On a separate running instance, inspect the same state:

wren show ospf3 neighbors
wren show ospf3 interfaces

On the running lab, the neighbor appears as 10.0.0.2 via fe80:… dev veth0 state Full. The interface view identifies area 0.0.0.0 and PtP.

Lab source.

Validate additional requirements

Use the OSPFv3/BFD lab to observe a failed BFD session tear down the adjacency. For authenticated adjacencies, use the authentication trailer configuration on both peers.