Last active
June 15, 2019 17:52
-
-
Save jgram925/e2d8264c4d69da9e0a44bc264ec5d5a5 to your computer and use it in GitHub Desktop.
Netplan - Set Static IP
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
sudo nano /etc/netplan/01-netconf.yaml | |
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
ens33: | |
addresses: [10.6.0.84/16] | |
gateway4: 10.6.0.1 | |
dhcp4: false | |
nameservers: | |
addresses: [10.6.18.234] | |
sudo netplan apply |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment