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

    Dual Wan with a Quirk

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 2 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.
    • J
      jonas
      last edited by

      Hi, I'm new to soft-routers/firewalls but thought it's worth trying. Anyway I'm trying to acomplish the following:

      I have two WANs (2 ISPs), one lan (or I can partition it into two), I would like a part of the LAN to always use WAN1 and the other to always use WAN2 no need for loab balancing or failover. I could create two subnets for the lan, but that complicates the things since I need them to talk to each other and I'd need another nic on the router.

      For instance lan is 10.0.0.1 255.255.255.0, and 10.0.0.1-138 -> WAN1 and 10.0.0.139-254 -> WAN2.

      So is it possible if so, what are the highlights of what I need to remember while doing it.

      Thanks,
      Jonas.

      1 Reply Last reply Reply Quote 0
      • jahonixJ
        jahonix
        last edited by

        Search the forum,please.
        In the recent past someone wanted to route all traffic from odd IPs to WAN1 and even IPs to WAN2.
        The information given in that thread might help you.

        1 Reply Last reply Reply Quote 0
        • J
          jonas
          last edited by

          I did search and saw the post "Specify Netmask rather than CIDR" but it has no solutions, and I'm not certain if the fact that there is no solution is due to the weird (odd/even) request or something else.

          In my case I could specify that all trafic with CIDR being 10.0.0.1 /25 be routed to WAN1 and 10.0.0.129 /25 to WAN2.

          Would that be possible while still keeping the network not-partitioned ie. 10.0.0.1 255.255.255.0

          Thanks.

          1 Reply Last reply Reply Quote 0
          • jahonixJ
            jahonix
            last edited by

            Different default gateways don't bother local LAN traffic, nor do rules that point to different gateways.

            Within the access rules to the internet you specify a gateway to use.
            Create two rules, one for each subnet/IP range and you're done.

            1 Reply Last reply Reply Quote 0
            • J
              jonas
              last edited by

              Many thanks, I'll try that.

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