Skip to content

Instantly share code, notes, and snippets.

@vkmc
Last active April 3, 2016 14:48
Show Gist options
  • Save vkmc/264dd35045c7b1cc0d9afa8b0b294e72 to your computer and use it in GitHub Desktop.
Save vkmc/264dd35045c7b1cc0d9afa8b0b294e72 to your computer and use it in GitHub Desktop.
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