H
H
harlamov_org2015-03-03 07:37:24
linux
harlamov_org, 2015-03-03 07:37:24

How to organize traffic balancing and link aggregation?

c0a11074cadf4a7486622e6c93018a6b.jpgGiven :
- FreePBX distr (CentOS)
- 4pcs ubiquiti nano station m2
- remote office
- two providers (optics 10 megabits)
Questions :
- How to raise two pppoe connections so that the first provider is used for one network, for the second, respectively, the second, it seems both connections are now up, but if defroute no, then the internet is down.
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 (?), now only two points are configured in bridge mode.
- In general, there are a lot of questions, how would you set up such a network?
PS contacted linux not so long ago, what questions should I ask Google? :) what to look for is a little unclear.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2015-03-05
@MechanID

Theory - I highly recommend reading LARTC
In general, a lot depends on the load, if the throughput of one pair of ubiquiti nano station is not enough, then yes, you need to use aggregation.
You can also use both providers for both networks (attention, the load balancing described in LARTC only works for kernels 2.6 for 3+, this is done a little differently)

K
Konstantin, 2015-03-03
@fallen8rwtf

ping good passes through wi-fi? for pbx this is one of the most critical factors.
what is the remote network? I would make a connection with a remote office via 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?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question