]> git.puffer.fish Git - mirror/frr.git/commit
staticd: Add v4-via-v6 nexthop support
authorChristopher Dziomba <christopher.dziomba@telekom.de>
Mon, 14 Apr 2025 17:13:45 +0000 (19:13 +0200)
committerChristopher Dziomba <christopher.dziomba@telekom.de>
Mon, 14 Apr 2025 17:22:39 +0000 (19:22 +0200)
commit8fc41e81f0881d4f35564b57d54f92ca410b8de6
treeabb492699adc9ce79bed92dc33df8c62d4483d0d
parentac56da1f50ee73582ce8afd60b91433ed3218e42
staticd: Add v4-via-v6 nexthop support

Routing v4 over an v6 nexthop is already well supported within zebra
(and FRR). This adds support to staticd, allowing an IPv6 nexthop to
be provided to ip route statements. For this the commands are
extended and the address family is parsed from the parameter.

When receiving nht updates from zebra, both AFIs are checked because
prefixes could exist in both. Additionally when route_node is known,
family of prefix is used instead of nexthop.

Signed-off-by: Christopher Dziomba <christopher.dziomba@telekom.de>
staticd/static_vty.c
staticd/static_zebra.c