Created
July 3, 2021 05:21
-
-
Save XertroV/dfdfa262ec545ace989ccca2699cc5c4 to your computer and use it in GitHub Desktop.
netplan bridge with vlan config
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
# /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