Skip to content

Instantly share code, notes, and snippets.

@cyrex562
Last active November 28, 2016 01:33
Show Gist options
  • Save cyrex562/3f6af1380a7bca3f16a13191e5da1438 to your computer and use it in GitHub Desktop.
Save cyrex562/3f6af1380a7bca3f16a13191e5da1438 to your computer and use it in GitHub Desktop.
Create a multicast GRE tunnel
ip tunnel add {dev_name} mode gre remote {remote_ip} local {local_ip} ttl 255
ip link set {dev_name} up
ip addr add {tunnel_ip}/30 dev {dev_name}
ip link set {dev_name} multicast on
# change mtu
ip link set {dev} mtu {mtu}
# change tunnel8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment