From owner-freebsd-questions@FreeBSD.ORG Thu Apr 15 05:47:19 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09F4C16A4CE for ; Thu, 15 Apr 2004 05:47:19 -0700 (PDT) Received: from mail.elvandar.org (cust.94.120.adsl.cistron.nl [195.64.94.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id A78F443D39 for ; Thu, 15 Apr 2004 05:47:17 -0700 (PDT) (envelope-from remko@elvandar.org) Message-ID: <407E8454.5060701@elvandar.org> Date: Thu, 15 Apr 2004 14:47:16 +0200 From: Remko Lodder X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: freebsd-questions@freebsd.org References: <1291.217.162.71.141.1082032552.squirrel@serv04.inetworx.ch> In-Reply-To: <1291.217.162.71.141.1082032552.squirrel@serv04.inetworx.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at elvandar.org Subject: Re: Simple Network Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 12:47:19 -0000 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