-
-
Save anonymous/d9a035e42539c35bda98 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
ip netns add veth2n2n0 | |
ip link add veth2n2n1 type veth peer name veth2n2n2 | |
ip link set veth2n2n2 netns veth2n2n0 | |
ip netns exec veth2n2n0 ip addr add 192.168.2.2/30 dev veth2n2n2 | |
ip netns exec veth2n2n0 ip link set dev veth2n2n2 up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment