From owner-freebsd-questions Thu Mar 4 15: 5:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hades.riverstyx.net (cr959997-a.crdva1.bc.wave.home.com [24.113.1.166]) by hub.freebsd.org (Postfix) with ESMTP id 863A0150B9 for ; Thu, 4 Mar 1999 15:05:35 -0800 (PST) (envelope-from unknown@riverstyx.net) Received: from localhost (unknown@localhost) by hades.riverstyx.net (8.8.8/8.8.8) with ESMTP id PAA20449; Thu, 4 Mar 1999 15:07:00 -0800 (PST) (envelope-from unknown@riverstyx.net) Date: Thu, 4 Mar 1999 15:06:59 -0800 (PST) From: To: Spidey 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 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message