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

    Load balancer not working?

    Scheduled Pinned Locked Moved 1.2.1-RC Snapshot Feedback and Problems-RETIRED
    5 Posts 2 Posters 3.1k 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.
    • A
      ask
      last edited by

      Hi,

      I setup a load balancer pool and two virtual servers (one on my dmz net and the other on the wan).

      The Load Balancer Status page says that the servers in the pool are up - but requests to the virtual server IPs don't get through.  I noticed that the "slb" rdr anchor is empty; is that right?

      pfctl -a slb -s rules

      1 Reply Last reply Reply Quote 0
      • A
        ask
        last edited by

        So which is it – it's working fine for everyone else or nobody else is using the incoming load balancer on 1.2.1?  :-)

        1 Reply Last reply Reply Quote 0
        • B
          BillHeaton
          last edited by

          We're seeing the same problem with the rev we just downloaded today.  To clarify we're talking about inbound load balancing, where we take inbound WWW requests and distribute to multiple servers.

          We see the configuration information in the XML file when we backup the configuration.

          
          	 <load_balancer><lbpool><type>server</type>
          			<behaviour>balance</behaviour>
          			 <monitorip><name>LBtest</name>
          			<desc>Load balance test pool</desc>
          			<port>80</port>
          			<servers>10.1.20.100</servers>
          			<servers>10.1.20.101</servers>
          			<monitor>TCP</monitor></monitorip></lbpool> 
          		 <virtual_server><name>lbtest_virt</name>
          			<desc>Virtual IP address for our test servers</desc>
          			<pool>LBtest</pool>
          			<port>80</port>
          			<sitedown>10.1.10.95</sitedown>
          			<ipaddr>10.1.10.230</ipaddr></virtual_server></load_balancer> 
          
          

          When we dump the pf conf  using pfctl we see no references to the pool.  Two of us currently tracking it down. But since we're newbies it's slow going.  Hints and Suggestions very welcome! ::)
          Bill

          1 Reply Last reply Reply Quote 0
          • B
            BillHeaton
            last edited by

            Hi All,

            Load Balancing is now working for us.  Suspect operator error, we reloaded factory defaults and reconfigured from scratch.  Just verified that everything is working as expected.

            Regards, Bill

            1 Reply Last reply Reply Quote 0
            • A
              ask
              last edited by

              Hi Bill,

              What is different in your configuration now than before?

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