From owner-freebsd-questions Thu Mar 4 15:49: 4 1999 Delivered-To: freebsd-questions@freebsd.org Received: from walnut.readington.com (walnut.readington.com [207.207.198.10]) by hub.freebsd.org (Postfix) with ESMTP id E3EB0150D9 for ; Thu, 4 Mar 1999 15:49:00 -0800 (PST) (envelope-from chrismar@readington.com) Received: from localhost (chrismar@localhost) by walnut.readington.com (8.8.8/8.8.8) with ESMTP id SAA19631; Thu, 4 Mar 1999 18:43:42 -0500 (EST) (envelope-from chrismar@readington.com) Date: Thu, 4 Mar 1999 18:43:42 -0500 (EST) From: Chris To: Spidey Cc: unknown@riverstyx.net, freebsd-questions Subject: Re: Default router In-Reply-To: Message-ID: Webpage: http://www.weirdo.net/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG NIC = Network Interface Card C On Thu, 4 Mar 1999, Spidey wrote: > On Thu, 4 Mar 1999 unknown@riverstyx.net wrote: > > > Naw, you gotta add the IP to the NIC like so: > > > > ifconfig ed0 206.12.12.3 > > This I did. (what's NIC?) > > > that'll set your machine's IP to 206.12.12.3. Now, assuming you have a > > gateway of 12.34.56.78 (which I made up -- that can't possibly be your > > gateway), you can run > > > > route add 0.0.0.0 12.34.56.78 > > > > netstat -r probably stuck because it couldn't do any DNS lookups or > > something. Try netstat -rn instead. > > Great! Thanks for everything! > > > --- > > Tani Hosokawa > > River Styx Internet > > > > > > On Thu, 4 Mar 1999, Spidey wrote: > > > > > aaah! > > > > > > I tried route add default 12.34.56.78 > > > > > > and netstat -r stuck... > > > > > > I can't test it now because i'm not on the good machine... > > > > > > And... humm... the NIC you're talking about is 12.34.56.78, in the > > > example? And the IP would be 12.34.56.78? > > > > > > Thanks! > > > > > > PS: Shouldn't this be in the handbook or something? In the default routes > > > sections, it is explained how it is working, but not how to add a default > > > route... :( > > > > Yeah, I wish there was more documentation around. I'm just messing with > > FreeBSD for the first time in like, two years (I had an installation for > > about a week, before I switched to Linux). > > > > ############################### > ## Au nom de l'etat, ## > ## La force s'appelle droit. ## > ## Au main de l'individu, ## > ## Elle se nomme crime. ## > ## ## > ## -Berurier Noir ## > ############################### > > Spidey > > Visitez http://www.JSP.UMontreal.CA/~beaupran > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message