Sajith a icrit :
Hi its Sajith
Is it possible for Merging 2 ADSL lines
yep i do this for my company .... with 2 ADSL line in load balancing
it is working like a charm :
pf.conf ( a part of ...)
# load balance outgoing tcp traffic from internal network.
pass in on $int_if route-to \
{ ($ext_if0 $ext_gw), ($ext_if1 $ext_gw) } round-robin \
proto tcp from <LAN> to any flags S/SA modulate state
# load balance outgoing udp and icmp traffic from internal network
pass in on $int_if route-to \
{ ($ext_if0 $ext_gw), ($ext_if1 $ext_gw) } round-robin \
proto { udp, icmp } from <LAN> to any keep state
# general "pass out" rules for external interfaces
pass out on $ext_if0 proto tcp from any to any flags S/SA modulate state
pass out on $ext_if0 proto { udp, icmp } from any to any keep state
pass out on $ext_if1 proto tcp from any to any flags S/SA modulate state
pass out on $ext_if1 proto { udp, icmp } from any to any keep state
# route packets from any IPs on $ext_if1 to $ext_gw1 and the same for
# $ext_if2 and $ext_gw2
pass out on $ext_if0 route-to ($ext_if1 $ext_gw) from $ext_if1 to any
pass out on $ext_if1 route-to ($ext_if0 $ext_gw) from $ext_if0 to any
and ppp.conf
default:
set log Phase Chat IPCP CCP tun command
set redial 15 0
set reconnect 15 10000
disable acfcomp protocomp
deny acfcomp
set mtu max 1492
set mru max 1492
set speed sync
enable lqr
set lqrperiod 5
set dial
set login
set timeout 0
enable mssfixup
disable ipv6cp
pppoe-0:
set device "!/usr/sbin/pppoe -i re0"
set authname xxxxxxxxxx
set authkey xxxxxxxxxxx
add! default HISADDR
pppoe-1:
set device "!/usr/sbin/pppoe -i re1"
set authname yyyyyyyyyyyyyyyy
set authkey yyyyyyyyyyyy
add! default HISADDR
hope it's help
jc
--
-----------------------------------------
* ~~~~~ Jean-christophe ROIRON ~~~~~ *
* Conseil Giniral Haute-Loire *
* ~~~~~~~~~~~~~~~~~~ *
* Service Informatique *
* Responsable Technique *
* *
* Tel : 04-71-07-42-24 *
* Mail : [EMAIL PROTECTED] *
-----------------------------------------