Created
February 24, 2020 11:15
-
-
Save brmzkw/0992ff2399cb64edd24c59ddbea7debd to your computer and use it in GitHub Desktop.
VLAN over GRE TAP tunnel
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
ip link add enp1s1 type gretap remote <other host> local <me> | |
ip link add link enp1s1 name enp1s1.1337 type vlan id 1337 | |
ip link set dev enp1s1 up | |
ip link set dev enp1s1.1337 up | |
ip addr add 10.0.0.1/24 dev enp1s1.1337 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment