Created
May 13, 2019 09:42
-
-
Save wongsyrone/4740f8f860e49bc05a82652234d3c5de to your computer and use it in GitHub Desktop.
ubuntu systemd-networkd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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