How routing + NAT work, should work and really work

35 views
Skip to first unread message

Mahmoud Magdy

unread,
Sep 22, 2024, 2:42:00 PM9/22/24
to flexiWAN users
Hi,
I have a setup in my lab, where we have a HUB and branch office the branch office has single interface that is connected to WAN network providing access to both HUB network and WAN network

path label is create as tunnel
the spoke is connected to hub as HUB/Spoke network, works nice.

the issue is that in spoke, I have 2 LAN NICs, one configured to be routed via Tunnel, BGP is running over it, the other NIC configured NAT'd, no routing is running over it.

this works great for Internet traffic and traffic coming from routes interface.
HOWEVER
traffic that goes to the same network advertised through tunnel, is dropped

to explain, suppose network 192.168.1.0/24 is advertised via tunnel to spoke via hub, but I have a NAT interface, so traffic goes via the tunnel but since this interface is not advertised , traffic doesn't go back.

in this case, how should we handle routing in thie case ?!
Reply all
Reply to author
Forward
0 new messages