Channel Bonding on FreeBSD without peer support

Ted Mittelstaedt tedm at toybox.placo.com
Wed Mar 30 00:25:49 PST 2005


owner-freebsd-questions at freebsd.org wrote:
> Hi,
>
> I would like to combine the bandwidth of two network cards on FreeBSD
> (which are connected to 2 different ADSL modems of the same ISP) in
> order to double
> the bandwidth of the Internet connection of the LAN that is
> behind this box.
>
> I have searched Google and FreeBSD question and people suggest to use
> "netgraph", like ng_fec, or ng_one2many.
> However, these approaches require support from the other peer (the
> ISP), which is not possible in my situation.
>
> Do you know if there is any way of combining the bandwidth of the two
> modems?

You cannot do it on a single FreeBSD system without cooperation of the
ISP
because it only has 1 internal route table.

You can use 2 FreeBSD systems one for each modem, put both into
translation
mode, set the inside IP addresses to something like 192.168.1.1 on the
first
one and 192.168.1.2 on the second.  Then you set the default gateway on
half of the systems on the inside to .1 and the other half to .2

> Or it is easier to just route services (like www
> traffic on modem 1,
> email traffic on modem 2..)

That's another way to do it.

Ted



More information about the freebsd-questions mailing list