From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 21:24:26 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 0970B16A41C for ; Tue, 12 Jul 2005 21:24:26 +0000 (GMT) (envelope-from mlobo@ocp.nlink.com.br) Received: from ocp.nlink.com.br (ocp.nlink.com.br [201.12.61.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 8A70943D48 for ; Tue, 12 Jul 2005 21:24:23 +0000 (GMT) (envelope-from mlobo@ocp.nlink.com.br) Received: (qmail 11574 invoked from network); 12 Jul 2005 21:24:15 -0000 Received: from unknown (HELO studio-too) (192.168.1.2) by ocp.nlink.com.br with SMTP; 12 Jul 2005 21:24:15 -0000 From: "Mario Lobo" To: John Von Essen Date: Tue, 12 Jul 2005 18:26:31 -0300 MIME-Version: 1.0 Message-ID: <42D40B57.2968.2A42E0@localhost> Priority: normal In-reply-to: <20050712104229.W50125@beck.quonix.net> References: <42D3A7A1.17453.488500C@localhost> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body X-Antivirus: avast! (VPS 0528-2, 12/07/2005), Outbound message X-Antivirus-Status: Clean 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 21:24:26 -0000 That sounds close to what I need !! > > 1) rl0 -----------> router ----------> antenna ------> ISPx ------> i= nternet So would it be something like: route add -host ${ip.of.public.host} netmask 255.255.255.255 gateway ${ip.= of.rl0} is that correct? In this case that host will be "sacrificed", if rl0 is down. Do you have any suggestions on time or whois servers? Don't worry because the pings I send are standard 56 bytes long. Thanks John ! P.S. - I'm replying to your post from my home e-mail. I made the post from= my work e-mail. -- //| //|| // | // || -//--//--|| ARIO LOBO // // || --------------------------------- mlobo@ocp.nlink.com.br http://mariolobo.70d.com http://www.mallavoodoo.com.br > 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. The= n > add custom routes for those two specific hosts, and with those routes, y= ou > 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= doing. > > > > 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. > > > > > > So the fact that i can ping the hop next to rl0 doesn=B4t mean the lin= k is 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), > > > > > > ping -I www.google.com > > > > > > might help. > > > > > > Just a guess though. Packets might still take the default route, eve= n with -I. > > > > > > Good luck, > > > -- > > > stefan > > > http://stsp.in-berlin.de PGP Key: 0x= F59D25F0 > > > _______________________________________________ > > > freebsd-hackers@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebs= d.org" > > > > > > _______________________________________________ > > 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" > > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.or= g" >