Created
May 21, 2019 14:04
-
-
Save gmassawe/cc56228d0f3db85a20120171ef5f56ea to your computer and use it in GitHub Desktop.
Ubuntu Server 18.04 - Static IP - Netplan
This file contains hidden or 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
# Netplan static IP config Ubuntu Server 18.04 | |
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
enp6s7: | |
dhcp4: no | |
dhcp6: no | |
addresses: [xxx.xxx.xxx.xxx/xx] | |
gateway4: xxx.xxx.xxx.xxx | |
nameservers: | |
addresses: [xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx] | |
enp7s8: | |
dhcp4: true | |
dhcp6: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment