Linux Labs

Networking / Stage 3 of 14

Persistent networking with Netplan

Not running Starting usually ~20 s
Leave the lesson

Step 6 of 9 · on a machine · 4 min

An old copy in the directory

lab0 has two addresses again, although 50-lab.yaml is correct. Find where the second one comes from and tidy up yourself.

After yesterday's fix a colleague kept the old configuration, and now sudo netplan apply gives lab0 an extra address.

Exercise · do it

An extra address after apply

Make lab0 end up with a single address, 192.0.2.10/24, after sudo netplan apply. The file /etc/netplan/50-lab.yaml is correct; do not change it.

Sign in and start The machine is available after signing in

Goals · 0 of 2

  • Remove the extra address from Netplan's merged configuration not done yet
  • Apply the configuration to lab0 not done yet

Step goals

0 of 2
  • Remove the extra address from Netplan's merged configuration — not done yet
  • Apply the configuration to lab0 — not done yet
Ubuntu 24.04

Step goals

0 of 2
  • Remove the extra address from Netplan's merged configuration — not done yet
  • Apply the configuration to lab0 — not done yet
Loading…