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

    Simple Newbie question on multi wan

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 4 Posters 1.8k 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.
    • D Offline
      digiteltlc
      last edited by

      HI All
      New to the forum.

      In multi-wan , can I use multiple gateways on the same IP class using a single PFSENSE interface , rather than use multiple phisical interfaces on the hardware devices ??

      (i.e. :
      Pfsense wan=192.168.1.100   
      Router1=192.168.1.1
      Router2=192.168.1.2
      Router3=192.168.1.3  )

      Thanks

      1 Reply Last reply Reply Quote 0
      • H Offline
        heper
        last edited by

        pfsense does not support multi-wan with gateway within the same subnet

        an option would be to apply vlans to your wan-interface and use vlan-capable switch where you connect your modem/routers to. Do note that you'd still have to use seperate subnets for each wan

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by

          Hi,

          I'm facing kinda the same problem, with the difference that my routers are on different subnets, but can only be accessed through the same interface (I can't change this configuration).

          My routers are 192.168.1.1/24 192.168.2.1/24 192.168.3.1/24 connected on my interface 0, tagged vlan 1000.

          My first idea was to have 3 interfaces, one on each network, but this is not possible. Pfsense doesn't let me create multiple interface tagged on the same vlan.

          Do you have an idea what could be the solution with that network configuration ?

          Regards,

          1 Reply Last reply Reply Quote 0
          • M Offline
            muswellhillbilly
            last edited by

            Hi,

            As stated in the original reply, as long as your firewall is patched into a VLAN-capable switch, you can create a separate VLAN for each of the networks (eg: VLAN-ID: 1681 = 192.168.1.0/24, VLAN-ID: 1682 = 192.168.2.0/24, VLAN-ID: 1683 = 192.168.3.0/24) and bind each VLAN to the same physical interface (eg: bge0). This will create three new interfaces, each bound to the same physical NIC but on separate VLANS. You can then set up your rules and NAT and routes for each of these new interfaces and be able to selectively route to any of the three routers you mentioned.

            You have to be sure the three new VLANS are defined in your switch as well, otherwise your VLAN traffic won't route correctly.

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