From owner-freebsd-questions@FreeBSD.ORG Sat Sep 13 09:23:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A1CC16A4BF for ; Sat, 13 Sep 2003 09:23:33 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61B9643FD7 for ; Sat, 13 Sep 2003 09:23:32 -0700 (PDT) (envelope-from kathey@pobox.com) Received: from salinger.birdbrain.net (12-235-49-181.client.attbi.com[12.235.49.181](untrusted sender)) by comcast.net (rwcrmhc12) with ESMTP id <20030913162331014008q20oe>; Sat, 13 Sep 2003 16:23:31 +0000 Received: from salinger.birdbrain.net (localhost.birdbrain.net [127.0.0.1]) h8DGMCLq073051; Sat, 13 Sep 2003 09:22:13 -0700 (PDT) (envelope-from kathey@pobox.com) Received: (from kathey@localhost) by salinger.birdbrain.net (8.12.8p1/8.12.8/Submit) id h8DGMCOa073050; Sat, 13 Sep 2003 09:22:12 -0700 (PDT) X-Authentication-Warning: salinger.birdbrain.net: kathey set sender to kathey@pobox.com using -f Date: Sat, 13 Sep 2003 09:22:12 -0700 From: -kevin- To: vickly Message-ID: <20030913162212.GA73009@salinger.birdbrain.net> References: <20030906071036.GE24191@salinger.birdbrain.net> <001901c379ce$ca697a80$1408a8c0@mhe> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001901c379ce$ca697a80$1408a8c0@mhe> User-Agent: Mutt/1.4.1i Organization: none cc: -kevin- cc: freebsd-questions@freebsd.org Subject: Re: triple NIC route challenge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Sep 2003 16:23:33 -0000 Vickly, On 03-09-13 01:12, vickly wrote: > do u using outbond n' inbound with difrent isp ? I could. ISP1 is Vendor X. ISP2 is Vendor Y. I would like all inbound to be on ISP2. But I would like to split outbound between ISP1 and ISP2. > ----- Original Message ----- > From: "-kevin-" > To: > Sent: Saturday, September 06, 2003 12:10 AM > Subject: triple NIC route challenge > > > > (Please respond directly, as I am not on this list.) > > > > I have 3 NICs in a single machine. Shaped something like > > this: > > > > |-------------------| > > ISP1 -------|DHCP | > > | |------ Internal Network > > ISP2 -------|PPPoE | > > |-------------------| > > > > ISP2 is the new thing. Currently, all my traffic goes out > > to ISP1 thanks to the same old ipnat rule. > > > > If I set up a route for a range of addresses, they will take > > ISP2 out and be very happy. > > > > The problem is inbound. When I ping via ISP1 it works > > beautifully. But when I ping via ISP2, I don't get a > > response. I believe the echorep packet is lost because it > > is being routed according to the existing rules which don't > > give the machine a clue about ISP2. If I add a route to the > > pinging host which uses ISP2, then the pinging starts > > working there, but you guessed it, the ping via ISP1 stops > > working. > > > > - How can I have the outbound route setup based upon the > > inbound request? > > - Furthermore, how can I have that new route only affect > > that connection? > > > > > > > > Bonus Question: > > - How do I configure ipnat such that outbound traffic > > from my Internal Network is split between the two > > external interfaces? > > > > Yes, I know I can route it based on the origin machine on > > the Internal Network, and I know that I can set up the rules > > such that all traffic goes to a single external interface > > and when that interface is down, it will fail over to the > > secondary. What I want is outbound load balancing with > > failover capability. > > > > > > My "ifconfig -a": > > rl0: flags=8843 mtu 1500 > > inet 12.235.49.181 netmask 0xffffff80 broadcast > 255.255.255.255 > > ether 00:01:0a:10:8c:74 > > media: Ethernet autoselect (100baseTX ) > > status: active > > dc0: flags=8843 mtu 1500 > > inet 192.168.177.1 netmask 0xffffff00 broadcast > 192.168.177.255 > > ether 00:80:c6:f9:2a:d0 > > media: Ethernet autoselect (100baseTX ) > > status: active > > rl1: flags=8843 mtu 1500 > > ether 00:40:05:83:11:75 > > media: Ethernet autoselect (100baseTX ) > > status: active > > lo0: flags=8049 mtu 16384 > > inet 127.0.0.1 netmask 0xff000000 > > tun0: flags=8051 mtu 1492 > > inet 68.122.3.211 --> 10.1.1.1 netmask 0xffffff00 > > Opened by PID 1213 > > > > My "ipnat.rules": > > map rl0 192.168.177.0/24 -> 0/32 > > > > > > > > -- > > -* -kevin- *- > > -* sick with the good infection *- > > -* kathey@pobox.com *- > > -* http://www.pobox.com/~kathey *- > > _______________________________________________ > > 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" > > > -- -* -kevin- *- -* sick with the good infection *- -* kathey@pobox.com *- -* http://www.pobox.com/~kathey *-