Simple Network Question
Remko Lodder
remko at elvandar.org
Thu Apr 15 05:47:19 PDT 2004
dev at 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
More information about the freebsd-questions
mailing list