aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vm/vppip6_2vhostvr1024.exec
diff options
context:
space:
mode:
authorJuraj Linkeš <juraj.linkes@pantheon.tech>2020-10-16 12:57:08 +0200
committerPeter Mikus <pmikus@cisco.com>2020-10-19 09:20:08 +0000
commit94e9a913b562f9f0ebe3ed75ce519b51ee75bde7 (patch)
tree83a879791999827d7d2db0ee3d0ac2151e2a384b /resources/templates/vm/vppip6_2vhostvr1024.exec
parent1c14952a05b77e96eff4bba9d63f17947440294a (diff)
FIX: disable sending IPv6 RA messages from VMs
There were occasional Router Advertisement packets received in a Traffic Generator in VM testcases. Fix by adding config that disables sending IPv6 RA messages on interfaces in VM VPP config before enabling them. Also rename related keywords and change descriptions based on https://docs.fd.io/vpp/21.01/db/d4c/clicmd_src_vnet_ip6-nd.html#clicmd_ip6_nd Change-Id: I1c2a33337ac91f6039d287b4c2aac388e3a52383 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Diffstat (limited to 'resources/templates/vm/vppip6_2vhostvr1024.exec')
-rw-r--r--resources/templates/vm/vppip6_2vhostvr1024.exec2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/templates/vm/vppip6_2vhostvr1024.exec b/resources/templates/vm/vppip6_2vhostvr1024.exec
index 8545d77761..3ceefbb58f 100644
--- a/resources/templates/vm/vppip6_2vhostvr1024.exec
+++ b/resources/templates/vm/vppip6_2vhostvr1024.exec
@@ -1,7 +1,9 @@
set interface ip address GigabitEthernet0/6/0 1:1::1/64
+ip6 nd GigabitEthernet0/6/0 ra-suppress
set interface state GigabitEthernet0/6/0 up
set interface ip address GigabitEthernet0/7/0 1:2::1/64
+ip6 nd GigabitEthernet0/7/0 ra-suppress
set interface state GigabitEthernet0/7/0 up
ip route add 2001:1::/64 via 1:1::2 GigabitEthernet0/6/0