Skip to content

Commit

Permalink
doc: Improve Zebra set src documentation. (IPv6)
Browse files Browse the repository at this point in the history
Include an IPv6 example for set src

And a note that the IP address has to exist.   This is to try and make
people aware to avoid things like issue FRRouting#4249
FRRouting#4249

Signed-off-by: Tim Bray <[email protected]>
  • Loading branch information
kooky committed May 12, 2020
1 parent 029ef88 commit 394542d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions doc/user/zebra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,25 @@ that sets the preferred source address, and applies the route-map to all
ip protocol rip route-map RM1
IPv6 example for OSPFv3.

.. code-block:: frr
ipv6 prefix-list ANY seq 10 permit any
ipv6 prefix-list ANY seq 5 permit ::/0
route-map RM6 permit 10
match ipv6 address prefix-list ANY
set src 2001:db8:425:1000::3
ipv6 protocol ospf6 route-map RM6
.. note::

For both IPv4 and IPv6, the IP address has to exist at the point the
route-map is created. Be wary of race conditions if the interface is
not created at startup. On Debian, FRR might start before ifupdown
completes. Consider a reboot test.

.. _zebra-fib-push-interface:

Expand Down

0 comments on commit 394542d

Please sign in to comment.