How to organize the traffic load balancing and link aggregation?

c0a11074cadf4a7486622e6c93018a6b.jpgThis:
- Distr FreePBX (CentOS)
- 4pcs ubiquiti nano station m2
- remote office
- two providers (optics 10 Mbit)
Questions:
- How to raise two pppoe connections to the same network was used by the first provider, for the second, respectively the second, like both connections are up, but if defroute no, the Internet does not work.
ppp0
USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl-maginfo.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=yes
SYNCHRONOUS=no
ETH=eth1
PROVIDER=DSLppp0
USER=login
PEERDNS=no
DEMAND=no

ppp1
USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp1
DEVICE=ppp1
TYPE=xDSL
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl-citylink.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=no
SYNCHRONOUS=no
ETH=eth2
PROVIDER=DSLppp1
USER=login
PEERDNS=no
DEMAND=no

- Does it make sense to do link aggregation(?), currently set up only two points in bridge mode.
In the General question of the bunch, how would you set up such a network?
PS linux was contacted not so long ago, what questions to ask Google? :) what search a little unclear.
September 19th 19 at 00:05
2 answers
September 19th 19 at 00:07
Theory - I highly recommend reading LARTC
Markups a lot depends on the load, if the bandwidth of one pair of ubiquiti nano station is not enough, Yes you have to use aggregation.
You can also use the two providers for both networks (note load balancing is described in LARTC works only for 2.6 kernels for 3+ this is done a little differently)
September 19th 19 at 00:09
ping is good on wi-fi? for pbx it is one of the most critical factors.
what is remote network? I would have made a connection with a remote office over a vpn tunnel more stable,relatively easier and less hassle in the future (weather and so on for wi-fi will play a big role). Long distance between offices?
1. What is a "good ping" ?! Can you give the criteria of "goodness" ?
2. "a connection with a remote office over a vpn tunnel" Is like? More stable relative to what? Easier relative to what? What do you mean by a very broad notion of "vpn-tunnel"? - carleton_Windl commented on September 19th 19 at 00:15
Packets: sent = 116, received = 116, lost = 0
(0% loss)
Approximate time of reception-transfer in a msec:
Minimum = 1мсек, Max = 95 MS, Average = 10 MS

telephony to a second office already comes with wires, two analog PBX connected to ADSL modems, so that in this case is not important.
Removed second office 1.8 km - Marquise_Zie commented on September 19th 19 at 00:12

in order
1. "goodness" to assess the author of the question according to his requirements and evaluation system.
2. you explain what a vpn tunnel?
regarding what led the author in your question - Picostation m2 3-4 times a week and went to reboot for some unknown reason + housing was very hot, up to 65-70 degrees (not incidents, but it is not a normal working temperature for office locations) - cary_Lebsack9 commented on September 19th 19 at 00:18
: I have not Picostaton, nanostation - Marquise_Zie commented on September 19th 19 at 00:21
not accuracy) with nanostation was not working,no facts - cary_Lebsack9 commented on September 19th 19 at 00:24
: I'd like to explain what you mean by "vpn tunnel" in this context. In addition, I asked some more questions. I do not understand as "vpn tunnel" will help to defeat those same problems that, for example, you yourself have described. - carleton_Windl commented on September 19th 19 at 00:27
: Yes figs with them with Tonel, then I will understand, here's how to give inteternet from one provider to network 0.0/24 and the other from 1.0/24 and that interchangeable was the fall of one of... ? - Marquise_Zie commented on September 19th 19 at 00:30

Find more questions by tags * nix-like systemsCentOSLinuxIptables