From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 03:30:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DEAA863F for ; Thu, 3 Jul 2014 03:30:58 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A2F272408 for ; Thu, 3 Jul 2014 03:30:58 +0000 (UTC) Received: from r56.edvax.de (port-92-195-69-249.dynamic.qsc.de [92.195.69.249]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 9E9E53CCD5; Thu, 3 Jul 2014 05:30:48 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s633UlNK001878; Thu, 3 Jul 2014 05:30:47 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 3 Jul 2014 05:30:47 +0200 From: Polytropon To: noc@hdk5.net Subject: Re: How to change gateway nic to dhcp Message-Id: <20140703053047.4a63184d.freebsd@edvax.de> In-Reply-To: <53B4CCF3.4080404@hdk5.net> References: <53B4CCF3.4080404@hdk5.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2014 03:30:58 -0000 On Wed, 02 Jul 2014 17:24:35 -1000, Al Plant wrote: > I have a static gateway that needs to be set to nic interface DHCP on > the outside. It was set static on both sides when the Lan was originally > setup. Is there a file name that I can use and just change to DHCP from > the IP? > > I used to do this when sysinstall was the way to go. Do I use > etc/rc.conf as we used to. or do I have to go into the new BSD Installer? The standard way should still be supported via /etc/rc.conf: ifconfig_="DHCP" In case you have entered IP-specific things for example to /etc/hosts, make sure there are no conflicts. Otherwise, DHCP should work fine. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...