Last active
April 3, 2016 14:48
-
-
Save vkmc/264dd35045c7b1cc0d9afa8b0b294e72 to your computer and use it in GitHub Desktop.
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
| VPP | |
| tap connect tap0 | |
| tap connect tap1 | |
| tap connect tap2 | |
| set interface state tap-0 up | |
| set interface state tap-1 up | |
| set interface state tap-2 up | |
| set interface ip address tap-0 1::1/64 | |
| set interface ip address tap-1 2::1/64 | |
| set interface ip address tap-2 3::1/64 | |
| LINUX | |
| ifconfig tap0 add 1::2/64 | |
| ifconfig tap1 add 2::2/64 | |
| ifconfig tap2 add 3::2/64 | |
| VPP | |
| ip probe 1::2 tap-0 | |
| ip probe 2::2 tap-1 | |
| ip probe 3::2 tap-2 | |
| ip route add ::/0 from 1000::/64 via 2::2 | |
| ip route add ::/0 from 2000::/64 via 3::2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment