From 97fbc1cebe8f80f19c66880cfd43e352cd8ce44e Mon Sep 17 00:00:00 2001 From: Damien Date: Thu, 23 Apr 2026 16:14:43 +0000 Subject: [PATCH] Force fabric default route on campus hosts The 'ip route add default via ' exec command silently failed on campus-host1 and campus-host2 because the management DHCP on eth0 had already installed a default via 172.16.0.254. As a result, traffic leaving the host for other fabric subnets was sent out the management interface instead of the EVPN fabric, breaking end-to-end ping. Switch to 'ip route replace' so the fabric gateway overrides whatever default is installed at container start. --- evpn-lab.clab.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evpn-lab.clab.yml b/evpn-lab.clab.yml index caf3c80..5c839b8 100644 --- a/evpn-lab.clab.yml +++ b/evpn-lab.clab.yml @@ -279,7 +279,7 @@ topology: exec: - ip link set dev eth1 up - ip addr add 10.60.60.101/24 dev eth1 - - ip route add default via 10.60.60.1 + - ip route replace default via 10.60.60.1 campus-host2: kind: linux @@ -292,7 +292,7 @@ topology: exec: - ip link set dev eth1 up - ip addr add 10.60.70.102/24 dev eth1 - - ip route add default via 10.60.70.1 + - ip route replace default via 10.60.70.1 links: # =====================================================