SOLVED:Routing problem after changing interfaces
-
Hi all,
I have two WAN links and one LAN link on a pfSense box. Everything was working ok before I changed the interfaces.
I had an ADSL with a /29 on WAN and a DHCP cable on OPT1, several services 1:1 NAT behind the ADSL link and preferred traffic from LAN to Internet over the cable connection. All was OK.Recently I received a /29 cable and wanted to make this the primary so from the console I chose 'assign interfaces' and assigned the WAN interface to the cable and assigned OPT1 to the ADSL. I then changed the rulesets (where needed), updated DNS and started testing.
I noticed that the ADSL link kept getting the cable gateway as gateway which resulted in the link not functioning. When I delete the route for the ADSL ip it resets it to the MAC address and all is functioning again but as soon as I reload the ruleset or reboot the gateway for the ADSL link changes to the cable gateway and it has no connection anymore.
Is this due to the changing of the interfaces or should I do something else in the loadbalancer services (I only use a failover setup for the LAN which has cable preferred and in case of faillure should go out the ADSL).
It turned out that the second failover was configured incorrectly, I cleaned out the load balancer settings, redid them and all was well.