summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/vyos/configdict.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/configdict.py b/python/vyos/configdict.py
index 0d315f146..611f7dd6e 100644
--- a/python/vyos/configdict.py
+++ b/python/vyos/configdict.py
@@ -211,6 +211,9 @@ def vlan_to_dict(conf):
if eff_addr and eff_addr not in vlan['ipv6_eui64_prefix']:
vlan['ipv6_eui64_prefix_remove'].append(eff_addr)
+ # add the link-local by default to make IPv6 work
+ vlan['ipv6_eui64_prefix'].append('fe80::/64')
+
# Disable IPv6 forwarding on this interface
if conf.exists('ipv6 disable-forwarding'):
vlan['ipv6_forwarding'] = 0