Re: How to change gateway nic to dhcp
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, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
討論串 (同標題文章)