From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 14:08:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 224D61065680 for ; Thu, 18 Jun 2009 14:08:59 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: from superhero.nl (wolverine.superhero.nl [77.73.16.20]) by mx1.freebsd.org (Postfix) with ESMTP id A13898FC17 for ; Thu, 18 Jun 2009 14:08:58 +0000 (UTC) (envelope-from gelsemap@superhero.nl) Received: (qmail 84374 invoked by uid 80); 18 Jun 2009 13:42:16 -0000 Received: from 195.50.100.20 (SquirrelMail authenticated user gelsemap) by webmail.superhero.nl with HTTP; Thu, 18 Jun 2009 15:42:16 +0200 (CEST) Message-ID: <5b15bda99281d849b6a7c28951b2d10f.squirrel@webmail.superhero.nl> In-Reply-To: <4A3A3E2B.3070107@unp.edu.ar> References: <70C0964126D66F458E688618E1CD008A0793EFEE@WADPEXV0.waddell.com> <4A3A3E2B.3070107@unp.edu.ar> Date: Thu, 18 Jun 2009 15:42:16 +0200 (CEST) From: "Gelsema, P \(Patrick\)" To: "Raul I. Becette" User-Agent: SquirrelMail/1.4.17 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Gary Gatten , freebsd-questions@freebsd.org Subject: Re: Gateway load balance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 14:08:59 -0000 On Thu, June 18, 2009 15:16, Raul I. Becette wrote: > Gary Gatten escribió: >> Adding 2 more default routes with same weight to each dsl line won't >> work? >> > I have another problem which I realized just now. > I configured via rc.conf the ip and netmask below but when I do ifconfig > the netmask appears as /24 > > calamardo# cat /etc/rc.conf | grep ifconfig > ifconfig_nfe0="192.168.10.9 255.255.0.0" If I am not mistaken, it should be ifconfig_nfe0="192.168.10.9 netmask 255.255.0.0" or ifconfig_nfe0="192.168.10.9/16" see #man rc.conf > calamardo# ifconfig nfe0 > nfe0: flags=8843 metric 0 mtu 1500 > options=8 > ether 00:1d:60:7e:38:7e > inet 192.168.10.9 netmask 0xffffff00 broadcast 255.255.0.0 > media: Ethernet autoselect (100baseTX ) > status: active > > This makes impossible to use 192.168.30.100 and 192.168.30.1 since they > are on different networks and are unreachable (according to ifconfig). > > > ----- Original Message ----- >> From: owner-freebsd-questions@freebsd.org >> >> To: FreeBSD Users >> Sent: Wed Jun 17 12:18:07 2009 >> Subject: Gateway load balance >> >> Hi all >> >> First time posting. >> >> I am a long time Linux user (desktop and server) and started with >> FreeBSD a year ago. >> Thanks to the book Absolute FreeBSD 2nd Edition I learned a lot about >> the OS and how to configure different services I used in Linux >> (Slackware). >> >> My post is regarding something I couldn't find information on how to >> implement it. Here's the situation: >> >> I had a proxy server (Squid + Dansguardian) under Slackware on the LAN >> which, via 'ip route' I make it use 3 gateways connected each one to an >> ADSL line and balance the requests. >> Unfortunately my server crashed and I took the oportunity to install a >> new one under FreeBSD 7.0-RELEASE. Squid and Dansguardian are working >> fine. My problem is that I don't know how to make the server use the >> other 2 gateways I have left and balance the requests on all ADSL lines. >> >> 192.168.10.9/16 proxy >> 192.168.10.2/16 1st gateway (1 NIC to LAN - 2 NIC >> to ADSL modem) >> 192.168.30.100/16 2nd gateway >> 192.168.30.1/16 3rd gateway >> >> I found it could be done with PF (also read most of The Book of PF) but >> I am quite lost about how to do it. >> >> Any information would be greatly appreciated. >> >> Thanks in advance >> >> Raúl I. Becette >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >> >> >> >> >> >>
>>
>> "This email is intended to be reviewed by only the intended recipient >> and may contain information that is privileged and/or confidential. >> If you are not the intended recipient, you are hereby notified that >> any review, use, dissemination, disclosure or copying of this email >> and its attachments, if any, is strictly prohibited. If you have >> received this email in error, please immediately notify the sender by >> return email and delete this email from your system." >>
>> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >