Last active
August 29, 2015 14:21
-
-
Save ramr/b87d6cb2c4ae79ad4dbb to your computer and use it in GitHub Desktop.
f5 to node ip tunnel
This file contains hidden or 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
f5: | |
ip tunnel del tun1 | |
ip tunnel add tun1 mode ipip remote 10.3.89.46 dev eth0 | |
ip tunnel | |
ifconfig tun1 10.3.91.216 | |
ip link set tun1 up | |
# for remote end tunnel | |
ip route add 10.3.91.46 dev tun1 | |
# for docker containers. | |
ip route add 10.1.0.0/16 dev tun1 | |
node: | |
ip tunnel del tun1 | |
ip tunnel add tun1 mode ipip remote 10.3.88.216 dev eth0 | |
ip tunnel | |
ifconfig tun1 10.3.91.46 | |
# for remote end tunnel | |
ip route add 10.3.91.216 dev tun1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment