Simple Network Question

Remko Lodder remko at
Thu Apr 15 05:47:19 PDT 2004

dev at 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


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 A Dutch community for helping newcomers on the 

More information about the freebsd-questions mailing list