Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2004 14:47:16 +0200
From:      Remko Lodder <remko@elvandar.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Simple Network Question
Message-ID:  <407E8454.5060701@elvandar.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
dev@eth0.ch wrote:
> Hi all,
> 
> I am more or less new to FreeBSD and used to Linux. I have setup a server
> on FreeBSD at home using DHCP. Now I want to move the server into our
> housing environment with fixed IP's.
> 
> 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
> 
> But where can I set the default gateway address?

Hi Dev!

That's also defined in /etc/rc.conf
configured as

defaultrouter="ipadres"

The syntax for /etc/resolv.conf is correct, and yeah since dhcp does not 
give you any dns servers any more you need to fill them in yourself.




Cheers :-)



-- 

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene



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