Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Two gateways in same network - is it possible?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    6 Posts 3 Posters 2.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hsoldo
      last edited by

      Hi,

      I have two routers. One is ADSL and other is connected to a wireless provider. They are both into same network. Some computers in network are using gateway ADSL, others are using gateway that comes from wireless provider. Is it possible to have pfsense computer to act as one united gateway with load balancing and failover but not directly connecting those routers to wans of pfsense. Sofor example if i set one router 192.168.0.1, other 192.168.0.2, and pfsense as 192.168.0.3 and set wan1 gateway of pfsense 192.168.0.1 and wan2 192.168.0.2. And then just set gateways of my other netwrk computers to 192.168.0.3?

      Thank You!
      pfsense.jpg
      pfsense.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • pttP
        ptt Rebel Alliance
        last edited by

        Is your ADSL Modem in Router Mode ?

        Is your Wireles CPE in router Mode ?

        Are you using VLANs in your Switch ?

        1 Reply Last reply Reply Quote 0
        • H
          hsoldo
          last edited by

          both adsl and cpe are in router mode. switch is not using any vlans.
          all the network is subnet
          255.255.255.0
          and all adresses are from 192.168.0.1 - 192.168.0.255
          the switches are netgear gs748t smartswitch.

          so is there any solution that I can make pf sense do the load balancing but without phisically connecting cpe and adsl directly into pfsense wans?

          pfsense2.jpg
          pfsense2.jpg_thumb

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            Yes you can. Inbound traffic from the Internet would be problematic for one of the two because the reply-to will only be set to the gateway defined in that interface's configuration. Best to use separate NICs regardless.

            1 Reply Last reply Reply Quote 0
            • H
              hsoldo
              last edited by

              Can anyone help me set up pfsense to work in this network so I can use it as load balancer and failover between wireles cpe and adsl.
              These are the settings of wireless and adsl:
              Wireless: Wan (dhcp), Lan (192.168.0.99) DNS(212.39.98.162)
              Adsl : Wan (dhcp), Lan (192.168.0.98) DNS (87.250.98.250)

              whole network is running on subnet mask 255.255.255.0, and range from 192.168.0.1 - 192.168.0.255.
              What I need is to set the network so all computers see each other. And I would like PFSENSE to be a gateway fo all computers with ip (192.168.0.100) and that I can set DNS on computers 192.168.0.100.

              Please dont forget that I cannon have physical connection to the adsl and wireless cpe but instead I must find them through network.(admin of pfsense said it is possible)
              Can someone help me set up pf sense form with all details. I did installation, and installed 1 lan and 2 wans.

              Thank You

              pfsense2.jpg
              pfsense2.jpg_thumb

              1 Reply Last reply Reply Quote 0
              • pttP
                ptt Rebel Alliance
                last edited by

                Check the docs: http://doc.pfsense.org/index.php/Multi-WAN_2.0

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.