feat(core): node veth idempotency, multi-node cdp ports, brain last ids persistence, and pulse interval variable
This commit is contained in:
@@ -24,6 +24,9 @@ if ! nsexec ip link show "$VPEER" >/dev/null 2>&1; then
|
||||
nsexec ip addr add "${PEER_IP}/30" dev "$VPEER" 2>/dev/null || true
|
||||
nsexec ip link set "$VPEER" up
|
||||
fi
|
||||
# Idempotent: re-assert host-side GW addr even if veth pre-existed (2026-10-04: def/dev lost theirs)
|
||||
ip addr add "${GW}/30" dev "$VETH" 2>/dev/null || true
|
||||
ip link set "$VETH" up
|
||||
nsexec ip link set lo up
|
||||
|
||||
# host NAT + forwarding for the veth subnet
|
||||
|
||||
Reference in New Issue
Block a user