From owner-freebsd-questions@FreeBSD.ORG Wed Feb 15 12:29:57 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 AE73316A420 for ; Wed, 15 Feb 2006 12:29:57 +0000 (GMT) (envelope-from fbsd@douville.net) Received: from smtp102.rog.mail.re2.yahoo.com (smtp102.rog.mail.re2.yahoo.com [206.190.36.80]) by mx1.FreeBSD.org (Postfix) with SMTP id EE02343D45 for ; Wed, 15 Feb 2006 12:29:56 +0000 (GMT) (envelope-from fbsd@douville.net) Received: (qmail 43243 invoked from network); 15 Feb 2006 12:29:56 -0000 Received: from unknown (HELO sdouvilnonq1) (sns536@rogers.com@70.29.116.42 with login) by smtp102.rog.mail.re2.yahoo.com with SMTP; 15 Feb 2006 12:29:56 -0000 Message-ID: <006a01c6322b$862bfc90$6501a8c0@sdouvilnonq1> From: "Steve Douville" To: References: <02ca01c6316c$ce4b2ce0$c5eb020a@sdouvilnonq1><43F2252D.8060605@mykitchentable.net><000a01c6319b$56bf5730$6501a8c0@sdouvilnonq1><43F2323D.4040601@mykitchentable.net><001701c6319e$ed94bee0$6501a8c0@sdouvilnonq1> <43F2361C.7080400@mykitchentable.net> Date: Wed, 15 Feb 2006 07:29:53 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 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: Wed, 15 Feb 2006 12:29:57 -0000 Well, the solution ended up just setting up the rule for the subnet, not the host... route add aaa.bbb.ccc.200/29 aaa.bbb.ccc.200 -interface Had to move some IP addresses, but at least the traffic is going to the right ethernet controller now. Thanks for the help! ----- Original Message ----- From: "Drew Tomlinson" To: "Steve Douville" Cc: "FreeBSD Questions" Sent: Tuesday, February 14, 2006 2:57 PM Subject: Re: IP Routing Question On 2/14/2006 11:43 AM Steve Douville wrote: > By default, it sets the netif to em0 > OK, then what about 'route add -host aaa.bbb.ccc.209 aaa.bbb.ccc.200'? And if that doesn't work, can I please see 'netstat -rn'? You can obfuscate the IPs if you wish. Cheers, Drew > ----- Original Message ----- > From: "Drew Tomlinson" > To: "Steve Douville" > Cc: "FreeBSD Questions" > Sent: Tuesday, February 14, 2006 2:40 PM > Subject: Re: IP Routing Question > > > 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 >> _______________________________________________ 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"