summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Dziomba <christopher.dziomba@telekom.de>2025-04-14 19:28:13 +0200
committerChristopher Dziomba <christopher.dziomba@telekom.de>2025-04-14 19:34:17 +0200
commit86628752a5d08fe8c86783bd417fc85536b3b448 (patch)
tree952fa4f04c64dab6450cc2b50f3f33978f1f5c3b
parent438360e2bd074010a6f00a76bdd5a1df93bf7289 (diff)
doc: Add v4-over-v6 next-hop to staticd docs
GATEWAY can now be v4 or v6 for v4 routes, for v6 routes it can only be v6 (like today). Signed-off-by: Christopher Dziomba <christopher.dziomba@telekom.de>
-rw-r--r--doc/user/static.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/static.rst b/doc/user/static.rst
index c1d11cf0b0..8a32460547 100644
--- a/doc/user/static.rst
+++ b/doc/user/static.rst
@@ -46,8 +46,8 @@ a static prefix and gateway, with several possible forms.
NETWORK is destination prefix with a valid v4 or v6 network based upon
initial form of the command.
- GATEWAY is the IP address to use as next-hop for the prefix. Currently, it must match
- the v4 or v6 route type specified at the start of the command.
+ GATEWAY is the IP address to use as next-hop for the prefix. Routes of type v4 can use v4 and v6 next-hops,
+ v6 routes only support v6 next-hops.
IFNAME is the name of the interface to use as next-hop. If only IFNAME is specified
(without GATEWAY), a connected route will be created.