Navigation

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

    Just failover, no load balancing needed. How to achieve?

    Routing and Multi WAN
    5
    8
    3569
    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.
    • F
      fibble last edited by

      Hi,

      After searching the forum and using the WiKi I got load-balancing working with a PPPoE DSL connection and a cable modem connection.

      However, the cable modem is very slow and I don't really want to use it round-robin. Only if my DSL fails.

      What do i need to do to just configure failover from DSL -> Cable (WAN -> WAN2) if my DSL dies.

      Would it be 1 failover pool with the two connections listed? And then a firewall rule using this as the gateway?

      Or do i need two pools?

      I am using 1.2 RC2.

      My DSL connection is PPPoE on WAN
      The cable connection is presented on OPT1(WAN2) with a gateway of 192.168.83.1

      Any hints / URLs or pointers would be much appreciated!

      Thanks
      Andy

      1 Reply Last reply Reply Quote 0
      • GruensFroeschli
        GruensFroeschli last edited by

        http://doc.pfsense.org/index.php/Multi_WAN_/_Load_Balancing#Setting_up_load_balancing_and_failover

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • F
          fibble last edited by

          Thanks,

          I have figured it out. To get simple failover (no load balancing) I just created a single failover pool. Put in WAN and OPT1 (in that order) and created a firewall rule to pass all LAN traffic out, and specified this pool as the gateway. This works fine.

          thanks

          andy

          1 Reply Last reply Reply Quote 0
          • L
            leap last edited by

            I created only one poll too but the tracfic still route to WAN1.
            Here is the status
            Status: Load Balancer: Pool

            Name Type Gateways Status Description
            FailOver W1->W2  gateway
            (failover)  wan  Online  Last change Nov 20 2007 14:03:55
                          opt1  Online  Last change Nov 20 2007 14:00:23

            I also created the rule allow all tracfic out
            Thanks

            1 Reply Last reply Reply Quote 0
            • K
              KiaN last edited by

              @fibble:

              Thanks,

              I have figured it out. To get simple failover (no load balancing) I just created a single failover pool. Put in WAN and OPT1 (in that order) and created a firewall rule to pass all LAN traffic out, and specified this pool as the gateway. This works fine.

              thanks

              andy

              I think I must be missing someting.

              How can you specify the pool as the gateway ?

              1 Reply Last reply Reply Quote 0
              • K
                KiaN last edited by

                Here is some slbd log :

                Club = WAN
                Orange = Backup connection (OPT1)

                Dec 12 18:12:54 	slbd[48661]: ICMP poll succeeded for 2xx.xxx.205.1, marking service UP
                Dec 12 18:12:54 	slbd[48661]: Service ClubversOrange changed status, reloading filter policy
                Dec 12 18:19:18 	slbd[51345]: Using r_refresh of 5000 milliseconds
                Dec 12 18:19:18 	slbd[51345]: Using configuration file /var/etc/slbd.conf
                Dec 12 18:19:18 	slbd[51345]: VIP 127.0.0.1:666 configured as "127.0.0.1"
                Dec 12 18:19:18 	slbd[51345]: VIP 127.0.0.1:666 sitedown at 127.0.0.1:666
                Dec 12 18:19:18 	slbd[51345]: VIP 127.0.0.1:666 added real service 2xx.xxx.205.1:666
                Dec 12 18:19:18 	slbd[51345]: VIP 127.0.0.1:666 added real service 2xx.xxx.205.2:666
                Dec 12 18:19:19 	slbd[51345]: ICMP poll succeeded for 2xx.xxx.205.1, marking service UP
                Dec 12 18:19:19 	slbd[51345]: ICMP poll succeeded for 2xx.xxx.205.2, marking service UP
                Dec 12 18:20:57 	slbd[51345]: ICMP poll failed for 2xx.xxx.205.1, marking service DOWN
                Dec 12 18:20:57 	slbd[51345]: Service ClubversOrange changed status, reloading filter policy
                

                At 18:20:57  I unplugged the WAN (Club) connection. The poll failed, but nothing happened, and no more Internet.

                Thanks !

                1 Reply Last reply Reply Quote 0
                • GruensFroeschli
                  GruensFroeschli last edited by

                  @KiaN:

                  I think I must be missing someting.

                  How can you specify the pool as the gateway ?

                  How about you read the doc?
                  (….i mean i even provided a link to it in this thread..... )

                  We do what we must, because we can.

                  Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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

                    @KiaN:

                    I think I must be missing someting.

                    How can you specify the pool as the gateway ?

                    In the Firewall rule there is a Gateway option. That allows you to select the WAN ports or the Pools. Select the Pool you have setup

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post