Skip to content

Instantly share code, notes, and snippets.

@scottslowe
Last active December 17, 2015 19:09
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 scottslowe/5658227 to your computer and use it in GitHub Desktop.
Save scottslowe/5658227 to your computer and use it in GitHub Desktop.
This snippet of configuration from /etc/network/interfaces will configure a VLAN interface on an Ubuntu system.
auto eth0.20
iface eth0.20 inet static
vlan-raw-device eth0
address 192.168.20.200
netmask 255.255.255.0
network 192.168.20.0
broadcast 192.168.20.255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment