From c3d85377bac78111ccd708e2eabf7dbd7586f31b Mon Sep 17 00:00:00 2001 From: Antigravity Agent Date: Sat, 3 Oct 2026 00:37:10 -0400 Subject: [PATCH] NetVM: topology also shows host links and netns list --- bin/netvm-topology.sh | 5 +++++ 1 file changed, 5 insertions(+) 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)"