From owner-freebsd-questions Thu Mar 4 15:11:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from localhost.jsp.umontreal.ca (derby.JSP.UMontreal.CA [132.204.45.26]) by hub.freebsd.org (Postfix) with ESMTP id A13C1150B3 for ; Thu, 4 Mar 1999 15:11:05 -0800 (PST) (envelope-from spidey@jsp.umontreal.ca) Received: from localhost (spidey@localhost) by localhost.jsp.umontreal.ca (8.9.1/8.9.1) with SMTP id SAA04350; Thu, 4 Mar 1999 18:10:25 -0500 (EST) (envelope-from spidey@jsp.umontreal.ca) X-Authentication-Warning: localhost.jsp.umontreal.ca: spidey owned process doing -bs Date: Thu, 4 Mar 1999 18:10:25 -0500 (EST) From: Spidey Reply-To: Spidey To: unknown@riverstyx.net Cc: freebsd-questions Subject: Re: Default router In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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... :( On Thu, 4 Mar 1999 unknown@riverstyx.net wrote: > I think you can do this: > > route add 0.0.0.0 12.34.56.78 > > where 12.34.56.78 is your gateway. > > you also have to have an IP assigned to that NIC before you can add any > routes... > > --- > Tani Hosokawa > River Styx Internet > > > On Thu, 4 Mar 1999, Spidey wrote: > > > Hi! > > > > I was trying to setup my ed0 ether card as the default gateway, and did > > not understood how to do it until I used the sysinstall utility to > > reconfigure the ed0 card. > > > > But I still don't understand how it is enabled. I searched the > > /etc/directory for any use of the defaultrouter variable, and all I found > > is the rc.networks file that mentions an assignement like: > > > > route_default="default ${defaultrouter}" > > > > but the route_default variable is not used anywhere else!!! > > > > How could I have enabled the default route without rebooting? > > > > Thanks! > > > > ############################### > > ## 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 > > > ############################### ## 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