From owner-freebsd-questions@FreeBSD.ORG Tue Feb 14 19:40:51 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3476F16A438 for ; Tue, 14 Feb 2006 19:40:51 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from relay03.roc.ny.frontiernet.net (relay03.roc.ny.frontiernet.net [66.133.182.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAC1C43D48 for ; Tue, 14 Feb 2006 19:40:50 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from blacklamb.mykitchentable.net (70-97-209-135.dsl2.elk.ca.frontiernet.net [70.97.209.135]) by relay03.roc.ny.frontiernet.net (Postfix) with ESMTP id F0C723587A8; Tue, 14 Feb 2006 19:40:46 +0000 (UTC) Received: from [192.168.1.30] (unknown [192.168.1.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id 11A501648B7; Tue, 14 Feb 2006 11:40:45 -0800 (PST) Message-ID: <43F2323D.4040601@mykitchentable.net> Date: Tue, 14 Feb 2006 11:40:45 -0800 From: Drew Tomlinson User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Steve Douville References: <02ca01c6316c$ce4b2ce0$c5eb020a@sdouvilnonq1> <43F2252D.8060605@mykitchentable.net> <000a01c6319b$56bf5730$6501a8c0@sdouvilnonq1> In-Reply-To: <000a01c6319b$56bf5730$6501a8c0@sdouvilnonq1> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.3.2 (20050629) at filter06.roc.ny.frontiernet.net Cc: FreeBSD Questions Subject: Re: IP Routing Question 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: Tue, 14 Feb 2006 19:40:51 -0000 On 2/14/2006 11:17 AM Steve Douville wrote: > Weird stuff... > route add -host aaa.bbb.ccc.209 aaa.bbb.ccc.196 -ifp em1 > What happens if you leave off the "-ifp em1"? Cheers, Drew > doesn't work even if i've already set > aaa.bbb.ccc.196 link#2 em1 > > The only way things work well is if the gateway is set to link#2. The only > way I can set it to link#2 is if the address was accessed, unsuccessfully, > creating a record with link#1 as the gateway and then issuing a route change > command to move it to link#2. > > it'd be much easier if i could just type > route add -host aaa.bbb.ccc.xxx link#2 -ifp em1 > but it doesn't recognize link#2 as a valid address, even though it uses it > in the table by default!! > > Haven't tried the ipfilter yet. Maybe i'll give that a whirl, too. > ----- Original Message ----- > From: "Drew Tomlinson" > To: "Steve Douville" > Cc: > Sent: Tuesday, February 14, 2006 1:45 PM > Subject: Re: IP Routing Question > > > > What happens with a simple 'route add > aaa.bbb.ccc.196? Or am I misinterpreting what you wish to achieve? > > HTH, > > Drew