Skip to content

Instantly share code, notes, and snippets.

@smarkwell
Created October 24, 2017 03:02
Show Gist options
  • Save smarkwell/f3c8fb86891bf998fe7af25139c181e9 to your computer and use it in GitHub Desktop.
Save smarkwell/f3c8fb86891bf998fe7af25139c181e9 to your computer and use it in GitHub Desktop.
network:
ethernets:
eth0:
addresses: [192.168.100.5/24]
gateway4: 192.168.100.1
nameservers:
addresses: [192.168.100.1]
eth1:
addresses: [<public ip>/29]
gateway4: <public ip's gateway>
nameservers:
addresses: [<public ip's gateway]
version: 2
renderer: networkd
@smarkwell
Copy link
Author

root@bwnetdevvpn:/etc/netplan# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment