Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2005 18:56:59 +0200
From:      G Bryant <bsdt@roamingsolutions.net>
To:        freebsd-ipfw@freebsd.org
Subject:   Re: multiple incoming lines
Message-ID:  <43303F5B.2050108@roamingsolutions.net>
In-Reply-To: <255492927.20050920184148@spaingsm.com>
References:  <433009A6.9070705@roamingsolutions.net> <255492927.20050920184148@spaingsm.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the help.
I am trying to do load-balancing using 2 ISP's.  Mostly traffic from the 
LAN.
I will look at possible routing, but don't see how I can manipulate 
outgoing packets to split the outgoing load between the two external NIC's.
Anybody done this before?
Thanks
Gray


vladone wrote:

>U have (for set 2) this rules to divert packets that outgoing:
>$cmd 10050 set 2 divert natd2 ip from any to any out via $ext_if1
>$cmd 10050 set 2 divert natd2 ip from any to any out via $ext_if2
>I dont understand what u want to do?
>This rules translate all adress that outgoing throught $ext_if1 and
>$ext_if2 with address indicated by natd2. Divert and route is two
>thinks completly different.
>  If u want to route packets to different
>outgoing interfaces, need to use different routes. (man route).
>  If u want to outgoing packets with different addresses, but same
>interface, need to use divert (and need to put alias for external
>interface with addresses that u need).
>  If u want to make so named load balancing, when use to lines for
>incoming trafic that sumarize bandwidth then is more complicated.
>
>_______________________________________________
>freebsd-ipfw@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
>To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"
>
>
>
>  
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43303F5B.2050108>