aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vm
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates/vm')
-rw-r--r--resources/templates/vm/vpp_chain_ip4_noarp.exec10
1 files changed, 10 insertions, 0 deletions
diff --git a/resources/templates/vm/vpp_chain_ip4_noarp.exec b/resources/templates/vm/vpp_chain_ip4_noarp.exec
new file mode 100644
index 0000000000..80e9cd8643
--- /dev/null
+++ b/resources/templates/vm/vpp_chain_ip4_noarp.exec
@@ -0,0 +1,10 @@
+set interface ip address GigabitEthernet0/6/0 1.1.1.1/30
+set interface state GigabitEthernet0/6/0 up
+
+set interface ip address GigabitEthernet0/7/0 1.1.2.1/30
+set interface state GigabitEthernet0/7/0 up
+
+ip route add 10.0.0.0/8 via 1.1.1.2 GigabitEthernet0/6/0
+ip route add 20.0.0.0/8 via 1.1.2.2 GigabitEthernet0/7/0
+
+show version