Routing using same subnet



  • Hi,
    Just wondering if there are limitation on using pfsense with its interfaces on the same subnet - it seems to do strange things.

    I currently have a cisco 877 with a local interface of 192.168.0.1 and a bunch of other configuration i'm reluctant to mess with. We have an influx of users and have obtained a second dsl connection until fibre is provisioned. Obviously for this second account to be useful some of our traffic needs to be allocated to it. I could have a subset of users change from DHCP to static and set the new dsl modem as their gateway but I was looking for a more elegant load balanced solution using pfsense. The new dsl modem has a local interface of 192.168.0.2. I set up pfsense to have a LAN interface of 192.168.0.5, a WAN interface of 192.168.0.3 w/ gateway 192.168.0.1 and the OPT1 interface as 192.168.0.4 w/ gateway 192.168.0.2. I was then planning on having the DHCP server set peoples gateway to 192.168.0.5 and let pfsense do its magic but strange things happened. I can set the second modem to be on a different subnet because its currently not used but i dont really want to mess with the 877 because it has a bunch of port forwards, IPSEC vpns etc on it. Is the fact that LAN and WAN are on the same subnet the cause of my problems?




  • Yes it's never going to work.

    WAN 192.168.0.2/24 gateway 192.168.0.1
    WAN2 192.168.2.2 gateway 192.168.2.1
    LAN 192.168.1.1/24
    rules
    Source 192.168.1.1/25 gateway WanFailsToWan2
    Source 192.168.1.128/25 gateway Wan2FailsToWan


Log in to reply