summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-24 17:48:30 +0200
committerGitHub <noreply@github.com>2023-08-24 17:48:30 +0200
commit250a5d13c9e463b04fde0216b133065f26f11430 (patch)
treec53e8afbc3909d2e828b15d6aad6f7796f45279f /src
parent4ea1b15069406c96fb3c6dc8eceea298ff853ee8 (diff)
parent0f3749cb9414b5a66bca56e5c9a7a1f1782d5495 (diff)
downloadvyos-1x-250a5d13c9e463b04fde0216b133065f26f11430.tar.gz
vyos-1x-250a5d13c9e463b04fde0216b133065f26f11430.zip
Merge pull request #2165 from sever-sever/T5506
T5506: Add link-local IPv6 address for container interfaces
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/container.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/container.py b/src/conf_mode/container.py
index 478868a9a..754742c37 100755
--- a/src/conf_mode/container.py
+++ b/src/conf_mode/container.py
@@ -463,6 +463,7 @@ def apply(container):
# it to a VRF as there's no consumer, yet.
if os.path.exists(f'/sys/class/net/{network_name}'):
tmp = Interface(network_name)
+ tmp.add_ipv6_eui64_address('fe80::/64')
tmp.set_vrf(network_config.get('vrf', ''))
return None