Hello guys,
I have the below default route on a mx but it seems not to work. The route is meant to point traffic to a FW that is meant to be the GW to the internet. However, the route doesn't work and traffic to the internet uses the MX as the GW. Anyone with an idea why?
A default route is always 0.0.0.0/0 and not /24.
What is your topology. The other gateway is connected to a LAN-Port and not the WAN port? In general, the Internet should be connected to WAN.
Hey Karstenl.
Ohh yes, that is correct about the default route. Thanks.
The other GW is connected to the LAN port. The othet GW has a different internet link which is the one I want to use and not the internet connecting to the meraki WAN port.
Hi @Tirop You can install a 0.0.0.0/0 as a static route and make the next hop the other gateway you want to use on the LAN side of the MX and that should work fine. The "default WAN route" of 0.0.0.0/0 will always be there in the routing table by design and as the last resort, but your static will take precedence.
Hey @MerakiDave Thank you for the reply. Will test and revert on how this goes.
Hello @MerakiDave I did input the default route as advised. However, it is not working as should. I have a branch and HQ. I have configured VPNs and the branch should browse via the HQ. At the HQ there is a FW (205.205.1.169) connected to the LAN on the Meraki. The FW should be the GW to the internet. However, the branch gets to the HQ via the VPN whic is okay but does not make use of the default route to get to the internet. See below. The 3rd hop should be 205.205.1.169 if the route works as should. Is there something I am not doing? The trace is from the branch. 205.205.1.93 is the MX at the HQ. 205.205.2.254 is MX at branch.
@Tirop you need the default route to be 0.0.0.0/0, you have 24 so it only applies for 0.0.0.0-0.0.0.255