Skip to content

Commit

Permalink
doc/tutorial: permanently disable all IP addresses on microbr0's pare…
Browse files Browse the repository at this point in the history
…nt (#399)

Fixes #360
  • Loading branch information
masnax authored Sep 14, 2024
2 parents 8522b67 + 20feb2c commit 2d6ba28
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions doc/tutorial/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,15 +209,25 @@ 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's parent interface should not have any IP address
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`.
```

1. Bring the network interface up:

ip link set enp6s0 up
netplan apply

1. Install the required snaps:

Expand Down

0 comments on commit 2d6ba28

Please sign in to comment.