From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 14:46:27 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 1CA7216A41C; Tue, 12 Jul 2005 14:46:27 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (beck.quonix.net [146.145.66.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA3F143D45; Tue, 12 Jul 2005 14:46:24 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (localhost [127.0.0.1]) by beck.quonix.net (8.13.4/8.13.4) with ESMTP id j6CEkGJu053505; Tue, 12 Jul 2005 10:46:16 -0400 (EDT) Received: from localhost (essenz@localhost) by beck.quonix.net (8.13.4/8.13.4/Submit) with ESMTP id j6CEkGkO053502; Tue, 12 Jul 2005 10:46:16 -0400 (EDT) X-Authentication-Warning: beck.quonix.net: essenz owned process doing -bs Date: Tue, 12 Jul 2005 10:46:16 -0400 (EDT) From: John Von Essen X-X-Sender: essenz@beck.quonix.net To: Mario Lobo In-Reply-To: <42D3A7A1.17453.488500C@localhost> Message-ID: <20050712104229.W50125@beck.quonix.net> References: <42D38178.8740.3F340A6@localhost> <42D3A7A1.17453.488500C@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-SpamAssassin-3.0.3-Score: -2.82/5.8 ALL_TRUSTED X-MimeDefang-2.51: beck.quonix.net X-Scanned-By: MIMEDefang 2.51 on 146.145.66.90 Cc: freebsd-hackers@freebsd.org, stsp@stsp.in-berlin.de, 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 14:46:27 -0000 Mario, I think the only way to do what you want is to find two hosts on the internet that don't conflict with what you do on a day to day basis. Then add custom routes for those two specific hosts, and with those routes, you force traffic through each NIC. A perfect example of two public servers would be time or whois servers. Just be nice and dont ping too much (i.e., only send two "small" pings every 2 minutes or something). -john On Tue, 12 Jul 2005, Mario Lobo wrote: > Yeah Stefan. They do take the default route. That is what I am already do= ing. > > 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 and= the internet. > > 1) rl0 -----------> router ----------> antenna ------> ISPx ------> inte= rnet > > So the fact that i can ping the hop next to rl0 doesn=B4t mean the link i= s up :(. > > That is why I NEED to ping something on the internet. > > Thanks, > -- > //| //|| > // | // || > -//--//---|| ARIO LOBO > // // || > --------------------------------- > mario.lobo@ipad.com.br > http://www.ipad.com.br > > > On 12 Jul 2005 at 15:48, stsp@stsp.in-berlin.de wrote: > > > In case you got a static IP on rl0 from ISP x (and rl0 is up), > > > > =09ping -I www.google.com > > > > might help. > > > > Just a guess though. Packets might still take the default route, even w= ith -I. > > > > Good luck, > > -- > > stefan > > http://stsp.in-berlin.de PGP Key: 0xF59= D25F0 > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > >