Created
November 26, 2017 14:27
-
-
Save sorki/6f1e030b3cc30739d8dc422de2183811 to your computer and use it in GitHub Desktop.
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
# NODE | |
ip a add 172.17.98.1/30 dev $veth | |
ip r add 172.17.100.2/32 via 172.17.98.2 dev $veth | |
# CT | |
ip a add 172.17.98.2/30 dev eth0 | |
ip link set up dev eth0 | |
ip r add default via 172.17.98.1 | |
# ip r add default via 172.17.98.1 src 172.17.100.2 | |
ip a add 172.17.100.2/32 dev eth0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment