Skip to content

Instantly share code, notes, and snippets.

@skleeschulte
Created February 5, 2020 15:16
Show Gist options
  • Save skleeschulte/6623e00449b446ba8e54ee852282c448 to your computer and use it in GitHub Desktop.
Save skleeschulte/6623e00449b446ba8e54ee852282c448 to your computer and use it in GitHub Desktop.
Example Netplan config file for IPv6 on Ubuntu 18.04
network:
version: 2
renderer: networkd
ethernets:
ens3:
addresses: ['203.0.113.100/24','2001:db8:2:1::1/64']
gateway4: 203.0.113.1
gateway6: fe80::1
nameservers:
addresses: [203.0.113.10,203.0.113.20,'2001:db8:1:1::a','2001:db8:1:1::b']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment