Date: Thu, 5 Oct 2006 18:59:28 -0300 From: "Thiago Rocha" <thiago.bsdes@gmail.com> To: freebsd-questions@freebsd.org Subject: FreeBSD and 2 ADSL links Message-ID: <471361580610051459m7f7c7d3dwa982dddcb139b684@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
hi! Brazilian I and do not say English, I forgive for any error! I have a FreeBSD Server (5.4). This server links ADSL has two, and I need to balance the load between them, e also case one stops the other keeps the connection. My system is thus: ============== rl0 ----> IP=192.168.2.254/24 / GW for machines in this net is 192.168.2.254- (this is localnet NIC) rl1 ----> IP= 10.0.0.2/30 / GW for this net is 10.0.0.1 - (adsl1) sis0 --> IP= 10.0.1.2/30 / GW for fhis net is 10.0.1.1 - (adsl2) ######################################################################### I have two NATD process, see below: =========================== 318 ?? Ss 0:00.39 /sbin/natd -f /etc/natd.conf -p 8668 -n rl1 1815 ?? Ss 0:00.65 /sbin/natd -f /etc/natd1.conf -p 8669 -n sis0 ######################################################################### And my firewall : ============ ipfw add 10 divert 8668 all from any to 10.0.0.2 via rl1 ipfw add 11 divert 8669 all from any to 10.0.1.2 in via sis0 ipfw add 12 prob 0.5 divert 8668 all from any to any out via rl1 ipfw add 13 divert 8669 all from any to any out via rl1 ipfw add 30 fwd 10.0.0.1 all from 10.0.0.2 to any ipfw add 30 fwd 10.0.1.1 all from 10.0.1.2 to any ######################################################################### and my default route is: 10.0.0.1, I need to make the balancing between these interfaces. when I apply these rules nothing I function. I I followed a manual in the Internet ( http://wiki.luizgustavo.pro.br/doku.php?id=artigos_freebsd:balancelinks), but without success.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?471361580610051459m7f7c7d3dwa982dddcb139b684>