From owner-freebsd-questions@FreeBSD.ORG Wed May 12 00:14:52 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 75C8B16A4CE for ; Wed, 12 May 2004 00:14:52 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 024F443D53 for ; Wed, 12 May 2004 00:14:51 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i4C7EidK028997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 12 May 2004 08:14:44 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i4C7Eiuw028996; Wed, 12 May 2004 08:14:44 +0100 (BST) (envelope-from matthew) Date: Wed, 12 May 2004 08:14:44 +0100 From: Matthew Seaman To: Bryan Cassidy Message-ID: <20040512071444.GB28587@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Bryan Cassidy , freebsd-questions@freebsd.org References: <20040511231120.GA487@bellsouth.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: <20040511231120.GA487@bellsouth.net> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040504, clamav-milter version 0.70u X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: DHCP to Static 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: Wed, 12 May 2004 07:14:52 -0000 --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 11, 2004 at 06:11:20PM -0500, Bryan Cassidy wrote: > Just went and got an extra NIC card, and ordered static ip address and up= graded my service. I have a quick question. If I am changing from dhcp to s= tatic is there anything that I need to do in order to take advantage of sta= tic or to setup static? Always had dhcp up until now. Not sure if I have to= do anything to setup static. Thanks Well, you have to provide all of the configuration info usually supplied by DHCP yourself. That's not just the IP number and netmask, but includes such things as the default gateway, the IP numbers of the DNS servers you should be using, and static routes and probably a few other things as well. All of this stuff can be set by editing a few files in /etc -- /etc/resolv.conf for the DNS stuff (see resolv.conf(5) for instructions), and /etc/rc.conf for just about everything else (See rc.conf(5) and look at /etc/defaults/rc.conf for some examples). Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAoc7kiD657aJF7eIRAqpwAKCjLeExpJVi+jTVEMXqi6iFgYDdhwCgg7UT Y2vTiMyI+7WZZcXMZs8umCg= =VYfA -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--