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

    Load Balancing Problem

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    14 Posts 5 Posters 6.3k 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
      stramato
      last edited by

      @gnhb:

      Post your config.xml file.
      Also, don't be afraid to change settings in the gateways now. That code is much more stable and shouldn't cause any more problems.

      GB

      hi i've recently reverted back to late august release because Load Balancing, particularly Gateway configuration seem to be problematic the whole of September and early October.

      Is Load Balancing/Gateway config ok now? (Oct 11 onwards)

      1 Reply Last reply Reply Quote 0
      • G
        gnhb
        last edited by

        Load Balancing should be fixed now. Please test again with a snapshot after Oct 10 13:00.

        1 Reply Last reply Reply Quote 0
        • T
          thomas777
          last edited by

          Great… I will test it today and let you know.

          Thanks

          1 Reply Last reply Reply Quote 0
          • T
            thomas777
            last edited by

            Yes, the problem is now fixed. The load balancing is now working correctly.

            1 Reply Last reply Reply Quote 0
            • S
              stramato
              last edited by

              @gnhb:

              Load Balancing should be fixed now. Please test again with a snapshot after Oct 10 13:00.

              Updated to Oct 13 build. Indeed, Load Balancing works again. Thanks :)

              1 Reply Last reply Reply Quote 0
              • N
                Nachtfalke
                last edited by

                HI,

                I'm using pfSense 2.0BETA4 from 30.11.2010.

                I have got  two WAN ports in Load Balancing. If I reboot pfSense, Load Balancing works fine, but if I disconnect WAN1 (rl0) and reconnect it after a short time, it comes up but there isn't any loadbalancing anymore.

                Syslog ist telling me this:

                Dec 1 16:19:04 	dnsmasq[1806]: using nameserver 8.8.8.8#53
                Dec 1 16:19:04 	dnsmasq[1806]: using nameserver 194.25.2.129#53
                Dec 1 16:19:04 	dnsmasq[1806]: reading /etc/resolv.conf
                Dec 1 16:17:47 	apinger: Starting Alarm Pinger, apinger(17178)
                Dec 1 16:17:47 	apinger: Exiting on signal 15.
                Dec 1 16:17:46 	dhclient[55051]: bound to 192.168.1.173 -- renewal in 432000 seconds.
                Dec 1 16:17:46 	check_reload_status: Rewriting resolv.conf
                Dec 1 16:17:46 	php: : rc.newwanip: on (IP address: 192.168.1.173) (interface: wan) (real interface: rl0).
                Dec 1 16:17:46 	dhclient: Creating resolv.conf
                Dec 1 16:17:46 	php: : rc.newwanip: Informational is starting rl0.
                Dec 1 16:17:46 	dhclient: Adding new routes to interface: rl0
                Dec 1 16:17:46 	check_reload_status: rc.newwanip starting rl0
                Dec 1 16:17:46 	dhclient: New Routers (rl0): 192.168.1.1
                Dec 1 16:17:46 	dhclient: New Broadcast Address (rl0): 192.168.1.255
                Dec 1 16:17:46 	dhclient: New Subnet Mask (rl0): 255.255.255.0
                Dec 1 16:17:46 	dhclient: New IP Address (rl0): 192.168.1.173
                Dec 1 16:17:46 	dhclient: ifconfig rl0 inet 192.168.1.173 netmask 255.255.255.0 broadcast 192.168.1.255
                Dec 1 16:17:46 	dhclient: Starting add_new_address()
                Dec 1 16:17:46 	dhclient: REBOOT
                Dec 1 16:17:46 	dhclient[55051]: DHCPACK from 192.168.1.1
                Dec 1 16:17:46 	dhclient[55051]: send_packet: No buffer space available
                Dec 1 16:17:46 	dhclient[55051]: DHCPREQUEST on rl0 to 255.255.255.255 port 67
                Dec 1 16:17:46 	dhclient[55051]: send_packet: No buffer space available
                Dec 1 16:17:44 	dhclient[55051]: DHCPREQUEST on rl0 to 255.255.255.255 port 67
                Dec 1 16:17:44 	dhclient: PREINIT
                Dec 1 16:17:43 	dhclient[19298]: exiting.
                Dec 1 16:17:43 	dhclient[19298]: exiting.
                Dec 1 16:17:43 	dhclient[19298]: short write: wanted 12 got 0 bytes
                Dec 1 16:17:43 	dhclient[19298]: short write: wanted 12 got 0 bytes
                Dec 1 16:17:43 	dhclient: FAIL
                Dec 1 16:17:43 	dhclient[55870]: My address (192.168.1.173) was deleted, dhclient exiting
                Dec 1 16:17:43 	dhclient[55870]: My address (192.168.1.173) was deleted, dhclient exiting
                Dec 1 16:17:43 	php: : HOTPLUG: Configuring interface wan
                Dec 1 16:17:43 	php: : DEVD Ethernet attached event for wan
                Dec 1 16:17:42 	kernel: rl0: link state changed to UP
                Dec 1 16:17:42 	check_reload_status: Linkup starting rl0
                Dec 1 16:16:54 	php: : MONITOR: WAN1 has high latency, removing from routing group
                Dec 1 16:16:54 	php: : MONITOR: WAN1 has high latency, removing from routing group
                Dec 1 16:16:53 	check_reload_status: reloading filter
                Dec 1 16:16:43 	apinger: ALARM: WAN1(192.168.1.1) *** down ***
                Dec 1 16:16:34 	kernel: rl0: link state changed to DOWN
                

                The Traffic Graph on startup page only shows traffic on WAN2 (rl1) but nothing on WAN1 (rl0).
                After a reboot, everything works fine again.

                I added my .XML config file but renamed it to .TXT.

                It would be fine, if you could help me.

                pfsense1.txt

                1 Reply Last reply Reply Quote 0
                • E
                  eri--
                  last edited by

                  Wait a new snapshot or try this yourself https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/6c9e8647f418fbbb854fbc0159a902fc43ca1f88

                  1 Reply Last reply Reply Quote 0
                  • N
                    Nachtfalke
                    last edited by

                    Is this patch added in the Dec 10  00:14  i386 ?

                    Because I still have got the problem, if WAN1 goes down and later comes up again, Load Balancing didn't work, only WAN2 is working.

                    1 Reply Last reply Reply Quote 0
                    • E
                      eri--
                      last edited by

                      YEah it is.
                      Show me your system logs to see if your claim is right?

                      1 Reply Last reply Reply Quote 0
                      • N
                        Nachtfalke
                        last edited by

                        I will do on monday. Over the weekend I have got no access to my testing environment.

                        1 Reply Last reply Reply Quote 0
                        • N
                          Nachtfalke
                          last edited by

                          Hi,

                          sorry for my late feedback but I didn't get it earlier. Today I updated to the latest snapshot, becaus I read in the rsc, that there were some fix for updating WAN interfaces IP adresse or something and now I just want to let you know, that it works for me again.

                          Great job, thanks!

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