aboutgitcodebugslistschat
path: root/doc/demo.sh
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2021-04-22 13:35:38 +0200
committerStefano Brivio <sbrivio@redhat.com>2021-04-22 13:35:38 +0200
commit89478bd251968a026142d4578e3661398a7b8c7f (patch)
tree76100ae8875798bdaa3142a19479e6dfd02484d8 /doc/demo.sh
parent5f21a7773777124a60343a0e3b83dbf3b3ddd59f (diff)
downloadpasst-89478bd251968a026142d4578e3661398a7b8c7f.tar
passt-89478bd251968a026142d4578e3661398a7b8c7f.tar.gz
passt-89478bd251968a026142d4578e3661398a7b8c7f.tar.bz2
passt-89478bd251968a026142d4578e3661398a7b8c7f.tar.lz
passt-89478bd251968a026142d4578e3661398a7b8c7f.tar.xz
passt-89478bd251968a026142d4578e3661398a7b8c7f.tar.zst
passt-89478bd251968a026142d4578e3661398a7b8c7f.zip
doc/demo: Explicitly add route to guest
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/demo.sh')
-rwxr-xr-xdoc/demo.sh1
1 files changed, 1 insertions, 0 deletions
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}"