diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-19 07:49:03 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-12-21 16:34:52 +0100 |
commit | eac5251c4c804c580fe9f3c3d6c6f6e355fca6d1 (patch) | |
tree | 049e3aee4e11351cfeee0b6984e2725cd3c3192a /src/conf_mode/protocols_pim.py | |
parent | 5c91424daafbee512f7c87caa418cd05f0bc4633 (diff) | |
download | vyos-1x-eac5251c4c804c580fe9f3c3d6c6f6e355fca6d1.tar.gz vyos-1x-eac5251c4c804c580fe9f3c3d6c6f6e355fca6d1.zip |
T2898: add ndp-proxy service
VyOS CLI command
set service ndp-proxy interface eth0 prefix 2001:db8::/64 mode 'static'
Will generate the following NDP proxy configuration
$ cat /run/ndppd/ndppd.conf
# autogenerated by service_ndp-proxy.py
# This tells 'ndppd' how often to reload the route file /proc/net/ipv6_route
route-ttl 30000
# This sets up a listener, that will listen for any Neighbor Solicitation
# messages, and respond to them according to a set of rules
proxy eth0 {
# Turn on or off the router flag for Neighbor Advertisements
router no
# Control how long to wait for a Neighbor Advertisment message before invalidating the entry (milliseconds)
timeout 500
# Control how long a valid or invalid entry remains in the cache (milliseconds)
ttl 30000
# This is a rule that the target address is to match against. If no netmask
# is provided, /128 is assumed. You may have several rule sections, and the
# addresses may or may not overlap.
rule 2001:db8::/64 {
static
}
}
(cherry picked from commit 4d721a58020971d00ab854c37b68e88359999f9c)
Diffstat (limited to 'src/conf_mode/protocols_pim.py')
0 files changed, 0 insertions, 0 deletions