Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. # Install the necessary VLAN packages and configuration
  2.  
  3. # Install package
  4. sudo apt-get install -y vlan
  5. # Load the kernel module
  6. sudo modprobe 8021q
  7. # Add the module to load at system boot (If it isn't already)
  8. grep '^8021q$' /etc/modules 2>/dev/null 1>&2 || sudo sh -c 'echo "8021q" >> /etc/modules'
  9.  
  10. echo "I recommend rebooting"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement