Skip to content

Instantly share code, notes, and snippets.

@wildwind123
Created October 13, 2022 02:52
Show Gist options
  • Save wildwind123/2212d5d00c9aebadc168bbfa4913cb6a to your computer and use it in GitHub Desktop.
Save wildwind123/2212d5d00c9aebadc168bbfa4913cb6a to your computer and use it in GitHub Desktop.
Example ip config linux /etc/netplan/
network:
ethernets:
ens160:
addresses:
- 192.168.1.2/16
gateway4: 192.168.0.1
nameservers:
addresses:
- 8.8.8.8
version: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment