From 76feb7d154a452ba5475b9b6ee720a7a8f5491d5 Mon Sep 17 00:00:00 2001 From: Jernej Jakob Date: Wed, 22 Apr 2020 17:11:14 +0200 Subject: interfaces: T2362: add default IPv6 link-local address to make IPv6 work --- src/conf_mode/interfaces-pseudo-ethernet.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/conf_mode/interfaces-pseudo-ethernet.py') diff --git a/src/conf_mode/interfaces-pseudo-ethernet.py b/src/conf_mode/interfaces-pseudo-ethernet.py index 6f194f814..d7863512e 100755 --- a/src/conf_mode/interfaces-pseudo-ethernet.py +++ b/src/conf_mode/interfaces-pseudo-ethernet.py @@ -168,6 +168,9 @@ def get_config(): if eff_addr and eff_addr not in peth['ipv6_eui64_prefix']: peth['ipv6_eui64_prefix_remove'].append(eff_addr) + # add the link-local by default to make IPv6 work + peth['ipv6_eui64_prefix'].append('fe80::/64') + # Disable IPv6 forwarding on this interface if conf.exists('ipv6 disable-forwarding'): peth['ipv6_forwarding'] = 0 -- cgit v1.2.3