diff options
Diffstat (limited to 'resources/templates/vm/vpp_2vfpt_ip4base_plen24.exec')
-rw-r--r-- | resources/templates/vm/vpp_2vfpt_ip4base_plen24.exec | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/templates/vm/vpp_2vfpt_ip4base_plen24.exec b/resources/templates/vm/vpp_2vfpt_ip4base_plen24.exec index 7563309a68..96727ac5e4 100644 --- a/resources/templates/vm/vpp_2vfpt_ip4base_plen24.exec +++ b/resources/templates/vm/vpp_2vfpt_ip4base_plen24.exec @@ -1,11 +1,11 @@ -create interface avf 0000:00:03.0 num-rx-queues $queues -create interface avf 0000:00:04.0 num-rx-queues $queues +create interface avf 0000:00:06.0 num-rx-queues $queues +create interface avf 0000:00:07.0 num-rx-queues $queues -set interface ip address avf-0/0/3/0 $ip1 -set interface state avf-0/0/3/0 up +set interface ip address avf-0/0/6/0 $ip1 +set interface state avf-0/0/6/0 up -set interface ip address avf-0/0/4/0 $ip2 -set interface state avf-0/0/4/0 up +set interface ip address avf-0/0/7/0 $ip2 +set interface state avf-0/0/7/0 up ip route add $route1 via $nexthop1 $routeif1 ip route add $route2 via $nexthop2 $routeif2 |