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.
    • W
      wallabybob
      last edited by

      If you are going to put a RB750GL between your pfSense and upstream ISPs then it might be more worthwhile asking routerboard people how to configure multiple WAN links for aggregation.

      You will almost certainly still need to determine what your upstream ISP(s?) are prepared to support, e.g. multi-link PPP?

      I don't know the details of how speedtest works but its possible it might give a misleading report. For example, if it uses a single TCP connection and you have to adopt a load balanced multiple WAN configuration speedtest is likely to report a best case speed of the speed of one WAN link while the load balancing would be capable of giving the aggregate speed of the WAN connections if multiple TCP connections are in use.

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

        @luke240778:

        Steve, is there any way at all using pfsense that i can combine say 2 ADSL links of 10mbit each and actually get a speedtest of 20mb?  i mean, so it actually bonds them into one fast connection.

        Like I said above in order to get a real 20Mbps connection from two 10Mbps you need an ISP that supports ML-PPP. Otherwise you can only load balance between the two, sharing multiple connections.
        If you simply want to see it the Speedtest.net client can measure load balanced connections.

        Steve

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

          Thanks for the replies, i guess.. seeing that i am only going to be giving clienst a 2mbps cinnection, i dont mind if it doesnt speedtest at 20mb, i just want to make sure that i can set it up and have 20mb available for clients to use.

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

            @wallabybob:

            If you are going to put a RB750GL between your pfSense and upstream ISPs then it might be more worthwhile asking routerboard people how to configure multiple WAN links for aggregation.

            You will almost certainly still need to determine what your upstream ISP(s?) are prepared to support, e.g. multi-link PPP?

            I don't know the details of how speedtest works but its possible it might give a misleading report. For example, if it uses a single TCP connection and you have to adopt a load balanced multiple WAN configuration speedtest is likely to report a best case speed of the speed of one WAN link while the load balancing would be capable of giving the aggregate speed of the WAN connections if multiple TCP connections are in use.

            I dont know if i am going to use the RB750 or not, i will only use it if i can't do what i need to do with pfsense.. and also that the RB750 is the only device i have right now that i can do vlan's on if that is needed at all?

            I was looking at one of these: http://www.tp-link.com/en/products/details/?categoryid=227&model=TL-R470T%2b and wondering if i need to buy something like that, or if i can actually do the same by just using pfsense?

            1 Reply Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.