diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-11 17:45:30 +0200 |
---|---|---|
committer | Jernej Jakob <jernej.jakob@gmail.com> | 2020-05-11 17:45:30 +0200 |
commit | 57024619284c8fc8b5c4a1c20c19d97b0d58a161 (patch) | |
tree | c9adbaad1b7cb21442aff27e712a9151012639ef /src/conf_mode | |
parent | 0d1a6d2e936dcfd969bf1af706d7b9edf4282635 (diff) | |
download | vyos-1x-57024619284c8fc8b5c4a1c20c19d97b0d58a161.tar.gz vyos-1x-57024619284c8fc8b5c4a1c20c19d97b0d58a161.zip |
ethernet: T2449: set accept_ra on ethernet interfaces
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/interfaces-ethernet.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-ethernet.py b/src/conf_mode/interfaces-ethernet.py index 955022042..5f7b0014e 100755 --- a/src/conf_mode/interfaces-ethernet.py +++ b/src/conf_mode/interfaces-ethernet.py @@ -49,6 +49,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': [], @@ -240,6 +241,8 @@ def apply(eth): e.set_proxy_arp(eth['ip_proxy_arp']) # Enable private VLAN proxy ARP on this interface e.set_proxy_arp_pvlan(eth['ip_proxy_arp_pvlan']) + # IPv6 accept RA + e.set_ipv6_accept_ra(eth['ipv6_accept_ra']) # IPv6 address autoconfiguration e.set_ipv6_autoconf(eth['ipv6_autoconf']) # IPv6 forwarding |