summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-bonding.py
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-05-11 17:44:18 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-05-11 17:44:18 +0200
commitb3016754eb94ad419fb130bce25a29dd1917e4ec (patch)
treeeedb79973cf1e37e8586153e79414916bab42c00 /src/conf_mode/interfaces-bonding.py
parent86e6b946ffeda358264adf07a5c73aae90db1b46 (diff)
downloadvyos-1x-b3016754eb94ad419fb130bce25a29dd1917e4ec.tar.gz
vyos-1x-b3016754eb94ad419fb130bce25a29dd1917e4ec.zip
bonding: T2449: set accept_ra on bonding interfaces
Diffstat (limited to 'src/conf_mode/interfaces-bonding.py')
-rwxr-xr-xsrc/conf_mode/interfaces-bonding.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-bonding.py b/src/conf_mode/interfaces-bonding.py
index 5a2ff9eef..93d2adbd6 100755
--- a/src/conf_mode/interfaces-bonding.py
+++ b/src/conf_mode/interfaces-bonding.py
@@ -51,6 +51,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': [],
@@ -340,6 +341,8 @@ def apply(bond):
b.set_proxy_arp(bond['ip_proxy_arp'])
# Enable private VLAN proxy ARP on this interface
b.set_proxy_arp_pvlan(bond['ip_proxy_arp_pvlan'])
+ # IPv6 accept RA
+ b.set_ipv6_accept_ra(bond['ipv6_accept_ra'])
# IPv6 address autoconfiguration
b.set_ipv6_autoconf(bond['ipv6_autoconf'])
# IPv6 forwarding