Skip to content

Instantly share code, notes, and snippets.

@RolandWarburton
Created February 6, 2021 03:02
Show Gist options
  • Save RolandWarburton/18a458f7ce98ad6e764468ffb81e0193 to your computer and use it in GitHub Desktop.
Save RolandWarburton/18a458f7ce98ad6e764468ffb81e0193 to your computer and use it in GitHub Desktop.
linux interface vlans
sudo ip link add link eno1 name eno1.10 type vlan id 10
sudo ip addr add 10.10.10.15/24 dev eno1.10
sudo ip link set dev eno1.10 up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment