From owner-freebsd-questions@FreeBSD.ORG Thu Apr 15 05:50:35 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 5110C16A4CE for ; Thu, 15 Apr 2004 05:50:35 -0700 (PDT) Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 639A743D54 for ; Thu, 15 Apr 2004 05:50:34 -0700 (PDT) (envelope-from albi@saynotomicrosoft.org) Received: from moonshine (213-84-173-33.adsl.xs4all.nl [213.84.173.33]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i3FCoWk2097650 for ; Thu, 15 Apr 2004 14:50:32 +0200 (CEST) Received: from moonshine.eyfa.org (localhost.eyfa.org [127.0.0.1]) by moonshine (Postfix) with SMTP id 0B3798FC for ; Thu, 15 Apr 2004 14:50:27 +0200 (CEST) Date: Thu, 15 Apr 2004 14:50:26 +0200 From: albi To: freebsd-questions@freebsd.org Message-Id: <20040415145026.18a4c9bc@moonshine.eyfa.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> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-unknown-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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:50:35 -0000 On Thu, 15 Apr 2004 14:35:52 +0200 (CEST) dev@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"