summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-05-11 17:48:35 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-05-11 17:48:35 +0200
commit36fe33c035135fceefd3e6434474a16d34c6c4b1 (patch)
tree7095c5c4b22ae9fec104cc6c2ef8a5a79700b08e /src/conf_mode
parentd34a9412e09eacb9009eba9b0bbb57c9cd215543 (diff)
downloadvyos-1x-36fe33c035135fceefd3e6434474a16d34c6c4b1.tar.gz
vyos-1x-36fe33c035135fceefd3e6434474a16d34c6c4b1.zip
pseudo-ethernet: T2449: set accept_ra on pseudo-ethernet interfaces
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces-pseudo-ethernet.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-pseudo-ethernet.py b/src/conf_mode/interfaces-pseudo-ethernet.py
index ec2f1146e..a050ae80b 100755
--- a/src/conf_mode/interfaces-pseudo-ethernet.py
+++ b/src/conf_mode/interfaces-pseudo-ethernet.py
@@ -46,6 +46,7 @@ default_config_data = {
'ip_enable_arp_ignore': 0,
'ip_proxy_arp': 0,
'ip_proxy_arp_pvlan': 0,
+ 'ipv6_accept_ra': 1,
'ipv6_autoconf': 0,
'ipv6_eui64_prefix': [],
'ipv6_eui64_prefix_remove': [],
@@ -208,6 +209,8 @@ def apply(peth):
p.set_proxy_arp(peth['ip_proxy_arp'])
# Enable private VLAN proxy ARP on this interface
p.set_proxy_arp_pvlan(peth['ip_proxy_arp_pvlan'])
+ # IPv6 accept RA
+ p.set_ipv6_accept_ra(peth['ipv6_accept_ra'])
# IPv6 address autoconfiguration
p.set_ipv6_autoconf(peth['ipv6_autoconf'])
# IPv6 forwarding