Last active
April 26, 2017 15:10
-
-
Save wynro/7350fe9b522494e70029fb6988e0eb30 to your computer and use it in GitHub Desktop.
This file contains 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
# Install the necessary VLAN packages and configuration | |
# Install package | |
sudo apt-get install -y vlan | |
# Load the kernel module | |
sudo modprobe 8021q | |
# Add the module to load at system boot (If it isn't already) | |
grep '^8021q$' /etc/modules 2>/dev/null 1>&2 || sudo sh -c 'echo "8021q" >> /etc/modules' | |
echo "I recommend rebooting" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment