Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2004 14:50:26 +0200
From:      albi <albi@saynotomicrosoft.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Simple Network Question
Message-ID:  <20040415145026.18a4c9bc@moonshine.eyfa.org>
In-Reply-To: <1291.217.162.71.141.1082032552.squirrel@serv04.inetworx.ch>
References:  <1291.217.162.71.141.1082032552.squirrel@serv04.inetworx.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Apr 2004 14:35:52 +0200 (CEST)
dev@eth0.ch wrote:

> I found in the docs to change the network configuration I have to
> assign the new IP and netmask in /etc/rc.conf to my network card.
> 
> Am I also right assinging new servers for DNS lookups in
> /etc/resolv.conf using this syntax?
> 
> nameserver IP-Address

yes

> But where can I set the default gateway address?

also in /etc/rc.conf, e.g. :
defaultrouter="192.168.0.1"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040415145026.18a4c9bc>