Simple Network Question

albi albi at saynotomicrosoft.org
Thu Apr 15 05:50:35 PDT 2004


On Thu, 15 Apr 2004 14:35:52 +0200 (CEST)
dev at 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"



More information about the freebsd-questions mailing list