Skip to content

Instantly share code, notes, and snippets.

@cyrex562
Created August 8, 2016 01:14
Show Gist options
  • Save cyrex562/abdc6bcaa9594ccaf0f4bd839eeba8f4 to your computer and use it in GitHub Desktop.
Save cyrex562/abdc6bcaa9594ccaf0f4bd839eeba8f4 to your computer and use it in GitHub Desktop.
ip link add vxlan243 type vxlan id 243 group 239.0.0.243 ttl 3 dev eth3
ip link set vxlan243 up
ip address add 10.243.0.254 dev vxlan243
ip link del vxlan243
ip link set eth3 up
ip address add 10.243.0.1 dev eth3
ip tunnel add tun1 mode gre local 10.150.0.1 remote 172.31.30.66 ttl 255
ip link set tun1 up
ip addr add 10.253.0.1 dev tun1
10.253.0.0 -- gre -- lantern
10.243.0.0 -- vxlan -- lantern
10.233.0.0 -- loopback -- lantern
10.252.0.0 -- gre -- outpost
10.242.0.0 -- vxlan -- outpost
10.232.0.0 -- loopback -- outpost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment