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

RIPv2 and RIPng

Use [rip] for IPv4 and [ripng] for IPv6. Enable both on the same link when both families should advertise routes.

Configure the first router

The lab originates two static routes. Each protocol exports the route in its own address family.

router-id = "10.0.0.1"
[[static]]
prefix = "10.99.0.0/24"
via    = "10.0.0.2"
[[static]]
prefix = "2001:db8:99::/64"
via    = "2001:db8::2"
[rip]
enabled      = true
interfaces   = ["veth0"]
redistribute = ["static"]
[ripng]
enabled      = true
interfaces   = ["veth0"]
redistribute = ["static"]

Observe the result

bash scripts/rip-show-smoke.sh

On a separate running instance, inspect the same state:

wren show rip
wren show ripng

Inspect 10.99.0.0/24 in the RIP table and 2001:db8:99::/64 in RIPng. With a kernel backend, inspect learned routes separately with ip -4 route and ip -6 route.

Lab source.

Filter advertisements

Run the IPv4 redistribution lab and the IPv6 redistribution lab to compare an accepted and a rejected route across a live adjacency.