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

Load balancing does not utilize one of the gate ways.

Scheduled Pinned Locked Moved Routing and Multi WAN
4 Posts 2 Posters 297 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.
  • S
    scilek
    last edited by Dec 4, 2022, 3:56 PM

    I set up a new box for a student dorm. They have 3 VDSL connections.

    68aef07f-9a98-4f3a-8a77-acdfc69a1adf-image.png

    Let's not get into why they are not named "WAN_A" and so on.

    As you can see, WAN_F and WAN_G are behind GNAT and WAN_H has a static IP provided by the ISP.

    For those of you who don't know what GNAT is, it is basically a system used by ISPs to make it possible for multiple users to use the same IP address.

    Of course, I defined a gateway group so that I could utilize all the three connections as evenly as possible:

    8a6c4ec7-3a99-4a49-b6b5-395796168739-image.png

    This is how they look in the "Gateways" tab:

    42b82dd3-dfc2-4e11-bf16-658f9ce585a5-image.png

    The first thing that caught my attention was that the gateway for the VDSL line with the static IP starts with 10! That should not happen, right?

    The second thing is that WAN_F and WAN_G have the same gateway, which is not strange.

    The shock came when I took a look at interface statistics:
    cdd267bd-5c97-4c78-8499-ed282e18420c-image.png

    Why isn't WAN_G not being utilized at all? Does that anything to do with them having the same gateway? Is there a remedy? What can or should I do?

    V 1 Reply Last reply Dec 4, 2022, 4:41 PM Reply Quote 0
    • V
      viragomann @scilek
      last edited by Dec 4, 2022, 4:41 PM

      @scilek said in Load balancing does not utilize one of the gate ways.:

      As you can see, WAN_F and WAN_G are behind GNAT and WAN_H has a static IP provided by the ISP.

      You're probably meaning CGNAT (Carrier-Grade NAT).

      The first thing that caught my attention was that the gateway for the VDSL line with the static IP starts with 10! That should not happen, right?

      That's quite odd. Never seen, that the gateway gets an RFC 1918 IP, while the interface gets a public IP. But it's possible for an ISP to set it this way using PPPoE.
      It would only make issues if you use a local subnet where the gateway IP lies in.

      Why isn't WAN_G not being utilized at all? Does that anything to do with them having the same gateway?

      Yes. pfSense cannot route between two equal gateways. Each gateway IP and subnet must be unique.

      Is there a remedy? What can or should I do?

      Get a real public IP.
      Alternatively you can put an additionally NAT router in front of pfSense in one of the concerned lines, so pfSense could use the routes internal IP as gateway.

      S 1 Reply Last reply Dec 4, 2022, 4:54 PM Reply Quote 1
      • S
        scilek @viragomann
        last edited by Dec 4, 2022, 4:54 PM

        @viragomann said in Load balancing does not utilize one of the gate ways.:

        You're probably meaning CGNAT (Carrier-Grade NAT).

        Yes, right.

        @viragomann said in Load balancing does not utilize one of the gate ways.:

        Yes. pfSense cannot route between two equal gateways. Each gateway IP and subnet must be unique.

        I see.

        @viragomann said in Load balancing does not utilize one of the gate ways.:

        Alternatively you can put an additionally NAT router in front of pfSense in one of the concerned lines, so pfSense could use the routes internal IP as gateway.

        Double NATting? No, I could not do that.

        V 1 Reply Last reply Dec 4, 2022, 6:08 PM Reply Quote 0
        • V
          viragomann @scilek
          last edited by Dec 4, 2022, 6:08 PM

          @scilek said in Load balancing does not utilize one of the gate ways.:

          Double NATting? No, I could not do that.

          No, triple-NAT. 😊
          You have double already at this time. One time NAT happens on pfSense and one time at your ISP.

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received