From 89478bd251968a026142d4578e3661398a7b8c7f Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Thu, 22 Apr 2021 13:35:38 +0200 Subject: doc/demo: Explicitly add route to guest Signed-off-by: Stefano Brivio --- doc/demo.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/demo.sh b/doc/demo.sh index fe24751..3df6267 100755 --- a/doc/demo.sh +++ b/doc/demo.sh @@ -64,6 +64,7 @@ ipv6_passt="$(ipv6_mangle "${ipv6_addr}")" ndp_setup "${ipv6_passt}" ip -n passt addr add "${ipv6_passt}/$(ipv6_mask "${ipv6_addr}")" dev veth_passt ip addr add "${ipv6_addr}" dev veth_passt +ip route add "${ipv6_passt}" dev veth_passt passt_ll="$(ipv6_ll_addr "veth_passt")" main_ll="$(get_token "link/ether" $(ip -o li sh veth_passt))" ip neigh add "${passt_ll%%/*}" dev veth_passt lladdr "${main_ll}" -- cgit v1.2.3