Last active
November 28, 2016 01:33
-
-
Save cyrex562/3f6af1380a7bca3f16a13191e5da1438 to your computer and use it in GitHub Desktop.
Create a multicast GRE 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 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