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

    Is what i want to do possible?

    Scheduled Pinned Locked Moved General pfSense Questions
    27 Posts 6 Posters 7.6k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      pfSense is a great loadbalancer, there is no need to buy anything else to do the job.
      Since you are dealing with many 2Mbps connections it should be no problem that you cannot get a single large 20Mbps connection.
      The only caveat is that there is a routing problem if both WAN connections are given the same gateway. I don't have that problem as I'm using two ISPs but you need to be sure this isn't a problem for you before you order new connections.
      You should check that you can't get an ML-PPP connection because if you can it will work a lot better.

      Steve

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

        Sorry, but what is an ML-PPP connection?

        Also, you say that there is no need to buy anything else as pfSense can do this.. which is good news.. but as my server only has 1 WAN NIC and i cant add another.. is this possible with my current WAN NIC plugged into a small managed switch and have the 2 modems plugged into the switch?  can pfsense then still do load balancing? or do i HAVE to have a seperate NIC for each?

        1 Reply Last reply Reply Quote 0
        • P
          podilarius
          last edited by

          ML-PPP is multi-link PPP. Same as T1 bonding. The ISP bonds the DSL connections for you and you get a link that is capable of the aggregate on a single connection.

          You can use a single NIC, but you are going to have to do VLANs. I don't think you have have PPP from 2 separate links on the same WAN. You can have the modems do the authentication and then use the pfsense to setup multiple gateways. Then you will use each connection as a load balance configuration. You will not be able to attain the full aggregate bandwidth unless you are using multi-threaded applications … like torrents. Since you are also have multiple 2MBit/s connections, you might be able to attain higher speeds since it will inherently be multi-threaded.

          You don't have to have physically separated NIC, you can do logically separated links like the others have suggested.

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            @luke240778:

            Sorry, but what is an ML-PPP connection?

            @luke240778:

            Also, you say that there is no need to buy anything else as pfSense can do this.. which is good news.. but as my server only has 1 WAN NIC and i cant add another.. is this possible with my current WAN NIC plugged into a small managed switch and have the 2 modems plugged into the switch?  can pfsense then still do load balancing? or do i HAVE to have a seperate NIC for each?

            • first modem 192.168.1.1

            • second modem 192.168.1.2

            • pfsense at 192.168.1.3

            • first modem 192.168.1.1 on WAN

            • second modem 192.168.2.1 on OPT1

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              @marcelloc:

              You can do it with a non vlan switch but the 2 modems cannot be in bridge mode.
              for example

              • first modem 192.168.1.1

              • second modem 192.168.1.2

              • pfsense at 192.168.1.3

              That would also negate the unique gateway problem if you are using the same ISP.

              Steve

              1 Reply Last reply Reply Quote 0
              • pttP
                ptt Rebel Alliance
                last edited by

                I would prefer the VLANs approach, also i will use the modems Bridged, remember that in 2.0.1, you can use PPPoE with same GW without problem.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  @ptt:

                  remember that in 2.0.1, you can use PPPoE with same GW without problem.

                  Really? How did I miss that.
                  Ok well in that case yes, avoiding double NAT is a good plan.

                  Steve

                  Edit: Ah yes.
                  @http://blog.pfsense.org/?p=633:

                  Added patch to mpd to allow multiple PPPoE connections with the same remote gateway

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

                    Great news!  I also thought that it might be a nightmare here in Brasil to get Oi to do anything at all beyond their normal duty for me marcelloc..

                    Lastly.. if i have 2 links at the location 4km away and want them combined at that end before connected to the PTP that will interface into my server here.. will a switch be enough to do that? or am i going to need another pfsense box at that end?

                    1 Reply Last reply Reply Quote 0
                    • pttP
                      ptt Rebel Alliance
                      last edited by

                      @stephenw10:

                      @ptt:

                      remember that in 2.0.1, you can use PPPoE with same GW without problem.

                      Really? How did I miss that.
                      Ok well in that case yes, avoiding double NAT is a good plan.

                      Steve

                      http://blog.pfsense.org/?p=633

                      » Added patch to mpd to allow multiple PPPoE connections with the same remote gateway

                      1 Reply Last reply Reply Quote 0
                      • pttP
                        ptt Rebel Alliance
                        last edited by

                        @luke240778:

                        Great news!  I also thought that it might be a nightmare here in Brasil to get Oi to do anything at all beyond their normal duty for me marcelloc..

                        Lastly.. if i have 2 links at the location 4km away and want them combined at that end before connected to the PTP that will interface into my server here.. will a switch be enough to do that? or am i going to need another pfsense box at that end?

                        What kind of "links" are ?

                        With VLANs you can have as many as you want…. each remote "link" will be a WAN....

                        Your pfSense ( 1 interface configured as "trunk" ) <---> PowerBridge ( AP WDS ) < - - - - - 4Km - - - - > PowerBridge ( STA WDS ) <--> VLAN Capable SW---> Your provider connections

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

                          2 ADLS 5mb links.. so 2 ADSL modems that will need to be connected somehow so i can get 10mb of total bandwidth

                          And just so i understand.. as i have never played with vlan's before.. to do that, the switch HAS to be vlan capable as well as creating the vlan's in pfsense?

                          1 Reply Last reply Reply Quote 0
                          • marcellocM
                            marcelloc
                            last edited by

                            @luke240778:

                            Great news!  I also thought that it might be a nightmare here in Brasil to get Oi to do anything at all beyond their normal duty for me marcelloc..

                            Move your servers to somewhere you can get datalinks from other provider(gvt or net for example), OI is one of the worst providers we can get in Brazil. :(

                            Treinamentos de Elite: http://sys-squad.com

                            Help a community developer! ;D

                            1 Reply Last reply Reply Quote 0
                            • P
                              podilarius
                              last edited by

                              @luke240778:

                              2 ADLS 5mb links.. so 2 ADSL modems that will need to be connected somehow so i can get 10mb of total bandwidth

                              And just so i understand.. as i have never played with vlan's before.. to do that, the switch HAS to be vlan capable as well as creating the vlan's in pfsense?

                              Yes. I believe that you have to have a VLAN capable switch if you want to maintain the VLAN across switches.

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator
                                last edited by

                                I think we had this discussion before but theoretically you could have VLAN capable modem/routers that could read and write the tagged packets directly. However it's likely to be a PITA to set up and a small VLAN capable switch is quite cheap.

                                Steve

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

                                  @marcelloc:

                                  @luke240778:

                                  Great news!  I also thought that it might be a nightmare here in Brasil to get Oi to do anything at all beyond their normal duty for me marcelloc..

                                  Move your servers to somewhere you can get datalinks from other provider(gvt or net for example), OI is one of the worst providers we can get in Brazil. :(

                                  Without going into detail its not possible.. also here, there is only the option of Oi or Embratel.. gvt and net arent available here.

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

                                    @stephenw10:

                                    I think we had this discussion before but theoretically you could have VLAN capable modem/routers that could read and write the tagged packets directly. However it's likely to be a PITA to set up and a small VLAN capable switch is quite cheap.

                                    Steve

                                    Thanks Steve.. :)..  Here in Brasil, nothing to do with electronics is "quite cheap" unfortunately.  Makes me miss home sometimes when i have to buy stuff here for double the normal price!

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      podilarius
                                      last edited by

                                      That sucks. Hopefully there is a lightly used market where you can get one a little cheaper.

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

                                        Yeah unfortunately its either spend alot, or get it from China/Paraguay and hope the tax isnt too high.  I actually just priced a basic 24 port Gigabit managed switch (the lsat one i got in the US for $179) here it will cost around $700.

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          @luke240778:

                                          The last one i got in the US for $179, here it will cost around $700.

                                          Ouch!  :o

                                          Steve

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