Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wongsyrone/4740f8f860e49bc05a82652234d3c5de to your computer and use it in GitHub Desktop.
Save wongsyrone/4740f8f860e49bc05a82652234d3c5de to your computer and use it in GitHub Desktop.
ubuntu systemd-networkd
apt-get purge netplan.io
/etc/rc.local
ip -6 route add 2604:180:3::1 dev ens3
ip -6 route add default via 2604:180:3::1
/etc/systemd/network/10-ens3.network
[Match]
Name=ens3
[Network]
Address=168.235.99.22/24
Gateway=168.235.99.1
DNS=8.8.8.8
DNS=8.8.4.4
[Network]
Address=2604:180:3:5ba::ab4e/64
#Gateway=2604:180:3::1
DNS=2001:4860:4860::8888
DNS=2001:4860:4860::8844
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment