Skip to content

Instantly share code, notes, and snippets.

@karthik101
Last active June 14, 2024 00:48
Show Gist options
  • Save karthik101/6c58dd1cce23e9e063c92c5baacb6161 to your computer and use it in GitHub Desktop.
Save karthik101/6c58dd1cce23e9e063c92c5baacb6161 to your computer and use it in GitHub Desktop.
# This is the network config
network:
version: 2
ethernets:
enp0s3:
dhcp4: true
routes:
- to: default
via: 10.0.2.2
nameservers:
addresses:
- 8.8.8.8
- 8.8.4.4
enp0s8:
dhcp4: no
addresses:
- 192.168.56.105/24
routes:
- to: default
via: 192.168.56.1
nameservers:
addresses:
- 192.168.1.200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment