Skip to content

Instantly share code, notes, and snippets.

@XertroV
Created July 3, 2021 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XertroV/dfdfa262ec545ace989ccca2699cc5c4 to your computer and use it in GitHub Desktop.
Save XertroV/dfdfa262ec545ace989ccca2699cc5c4 to your computer and use it in GitHub Desktop.
netplan bridge with vlan config
# /etc/netplan/01-asdf.yaml
# after populating, run: sudo netplan try
network:
version: 2
renderer: networkd
ethernets:
enp5s0:
dhcp4: true
enp9s0:
dhcp4: true
vlans:
vlan.200:
id: 200
link: enp9s0
dhcp4: true
bridges:
br200:
interfaces: [ vlan.200 ]
dhcp4: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment