V
V
Val2015-05-12 06:08:31
FreeBSD
Val, 2015-05-12 06:08:31

Configuring ppp in FreeBSD for 2 or more links?

There is a machine running FreeBSD, it acts as a router for the network
3 network interfaces
1 - ISP 1
2 - ISP 2
3 - LAN
Configured by https://www.freebsd.org/doc/ru/books/handbook/pppo... connection with ISP 1 via ppp, a section in the config for ISP 2 has also been added, if you manually call, establish a connection, create an interface, everything is OK, how to make it automatically establish a connection with ISP 2 when the system boots, just like with ISP 1? The goal is to use 2 communication channels to increase bandwidth and improve fault tolerance.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
sbh, 2015-05-12
@sbh

Did you do exactly according to the article?
23.5.4. Start ppp at boot
Add the following to /etc/rc.conf:
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES" # if you want to enable nat for your local network, otherwise NO
ppp_profile="name_of_service_provider"

V
Val, 2015-05-12
@Desem

Yes, for example, I have ppp_profile="ISP 1", but how to make 2 links?
ppp_profile="ISP 1"
ppp_profile="ISP 2" ?

D
Dmitry Luponos, 2015-05-12
@Bessome

habrahabr.ru/post/177767
This is how I did it. But I abandoned FreeBSD ppp and put routers on every channel.

A
athacker, 2015-05-21
@athacker

There like profiles through a gap it is possible to register. Those. something like this:
ppp_profile="ISP1 ISP2"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question