summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-vxlan.py
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-04-22 17:11:14 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-04-23 15:01:06 +0200
commit76feb7d154a452ba5475b9b6ee720a7a8f5491d5 (patch)
treeb21e5f9b1e4318c482f67b1bec9f42f3092d0606 /src/conf_mode/interfaces-vxlan.py
parent9f26522388972eb6537446a5030c806a5e1b68ff (diff)
downloadvyos-1x-76feb7d154a452ba5475b9b6ee720a7a8f5491d5.tar.gz
vyos-1x-76feb7d154a452ba5475b9b6ee720a7a8f5491d5.zip
interfaces: T2362: add default IPv6 link-local address to make IPv6 work
Diffstat (limited to 'src/conf_mode/interfaces-vxlan.py')
-rwxr-xr-xsrc/conf_mode/interfaces-vxlan.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-vxlan.py b/src/conf_mode/interfaces-vxlan.py
index 5ed19ddf2..69dbe32d8 100755
--- a/src/conf_mode/interfaces-vxlan.py
+++ b/src/conf_mode/interfaces-vxlan.py
@@ -120,6 +120,9 @@ def get_config():
if conf.exists('ipv6 address eui64'):
vxlan['ipv6_eui64_prefix'].append(conf.return_value('ipv6 address eui64'))
+ # add the link-local by default to make IPv6 work
+ vxlan['ipv6_eui64_prefix'].append('fe80::/64')
+
# Disable IPv6 forwarding on this interface
if conf.exists('ipv6 disable-forwarding'):
vxlan['ipv6_forwarding'] = 0