From 5b77288379da79bb75be129329eca785efc8b03b Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Fri, 13 Sep 2024 19:00:53 -0400 Subject: [PATCH] doc/tutorial: permanently disable IPv6 link local addresses on microbr0's parent Signed-off-by: Simon Deziel --- doc/tutorial/get_started.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/tutorial/get_started.md b/doc/tutorial/get_started.md index dd7af0ce..2954fdf0 100644 --- a/doc/tutorial/get_started.md +++ b/doc/tutorial/get_started.md @@ -209,7 +209,17 @@ Complete the following steps on each VM (`micro1`, `micro2`, `micro3`, and `micr ``` 1. Configure the network interface connected to `microbr0` to not accept any IP addresses (because MicroCloud requires a network interface that doesn't have an IP address assigned): - echo 0 > /proc/sys/net/ipv6/conf/enp6s0/accept_ra + cat << EOF > /etc/netplan/99-microcloud.yaml + # microbr0 should not get IPv6 link-local addresses + network: + version: 2 + ethernets: + enp6s0: + accept-ra: false + dhcp4: false + link-local: [] + EOF + chmod 0600 /etc/netplan/99-microcloud.yaml ```{note} `enp6s0` is the name that the VM assigns to the network interface that we previously added as `eth1`. @@ -217,7 +227,7 @@ Complete the following steps on each VM (`micro1`, `micro2`, `micro3`, and `micr 1. Bring the network interface up: - ip link set enp6s0 up + netplan apply 1. Install the required snaps: