Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2014 05:30:47 +0200
From:      Polytropon <freebsd@edvax.de>
To:        noc@hdk5.net
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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_<nic>="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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140703053047.4a63184d.freebsd>