How to change gateway nic to dhcp

Al Plant noc at hdk5.net
Fri Jul 4 01:56:34 UTC 2014


Polytropon wrote:
> 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.
> 
> 
> 
Thanks Poly,

This is what I thought.
:)

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
   + http://hawaiidakine.com + http://freebsdinfo.org +
   + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   < email: noc at hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol




More information about the freebsd-questions mailing list