From owner-freebsd-questions@FreeBSD.ORG Tue Jul 12 15:44:45 2005 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 5B5B816A41C for ; Tue, 12 Jul 2005 15:44:45 +0000 (GMT) (envelope-from nielsen-list@memberwebs.com) Received: from mail.npubs.com (mail.writemehere.com [209.66.100.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3508D43D46 for ; Tue, 12 Jul 2005 15:44:42 +0000 (GMT) (envelope-from nielsen-list@memberwebs.com) From: Nate Nielsen User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mario.lobo@ipad.com.br References: <42D2A405.10443.923658@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-Id: <20050712154637.01FB670DBB5@mail.npubs.com> X-Virus-Scanned: ClamAV using ClamSMTP Date: Tue, 12 Jul 2005 15:46:38 +0000 (GMT) Cc: freebsd-questions@freebsd.org Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nielsen@memberwebs.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 15:44:45 -0000 Mario Lobo wrote: > Forgive me if this is off-topic. > > How could I force a packet to go out through an interface, > despite the default route? What I do for testing is: 1. Assign additional local IP aliases. 2. Use IPFW or pf to forward packets that from those IPs through the different NICs. 3. Ping an IP online using the '-S' argument to specify the source as one of the IP aliases. Cheers, Nate