diff --git a/bin/netvm-topology.sh b/bin/netvm-topology.sh index 0167f29..ecdf620 100755 --- a/bin/netvm-topology.sh +++ b/bin/netvm-topology.sh @@ -12,3 +12,8 @@ for ns in $(ip netns list 2>/dev/null | awk '{print $1}' | grep '^warp-'); do done # host-side NAT rules for our subnets iptables -t nat -L POSTROUTING -n 2>/dev/null | grep '10.201\.' || echo "no netvm NAT rules on host" + +echo "--- host links ---" +ip link show 2>/dev/null | grep -E 'veth-|vpeer-|wg-' || echo "(no netvm links on host)" +echo "--- all netns ---" +ip netns list 2>/dev/null || echo "(none)"