From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 15:18:14 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CFD716A41C; Tue, 12 Jul 2005 15:18:14 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id D596243D4C; Tue, 12 Jul 2005 15:18:13 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Tue, 12 Jul 2005 16:18:56 +0100 Message-ID: <42D3DF33.9090709@dial.pipex.com> Date: Tue, 12 Jul 2005 16:18:11 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.8) Gecko/20050530 X-Accept-Language: en, en-us, pl MIME-Version: 1.0 To: mario.lobo@ipad.com.br References: <42D38178.8740.3F340A6@localhost> <42D3A7A1.17453.488500C@localhost> In-Reply-To: <42D3A7A1.17453.488500C@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 12 Jul 2005 15:18:56.0069 (UTC) FILETIME=[051AF750:01C586F5] X-Mailman-Approved-At: Wed, 13 Jul 2005 12:13:28 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-questions Question Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 15:18:14 -0000 Mario Lobo wrote: >Yeah Stefan. They do take the default route. That is what I am already d= oing. > >I even wrote a little prog using a variation of ping to do just that. > >The problem lies with the fact that, there is a router between my rl0 an= d the internet. > >1) rl0 -----------> router ----------> antenna ------> ISPx ------> int= ernet > >So the fact that i can ping the hop next to rl0 doesn=B4t mean the link = is up :(. > >That is why I NEED to ping something on the internet. > =20 > I don't think so. You can follow Chad Leigh's advice and ping a router=20 on your ISP. Figure out where your packets through ISP1 are routed (try = traceroute) and then add a static route through ethernet1 to that=20 router. You can do similar for ISP2. Then a ping of either router will = always try to go through the network card appropriate to that ISP. --Alex