LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dhcp (https://www.linuxquestions.org/questions/linux-networking-3/dhcp-58479/)

roofy 05-06-2003 06:05 PM

dhcp
 
when i installed rh 7.2 i chose static addressing, how do i enable dhcp so that it can have a dynamic address? thanks

born4linux 05-06-2003 07:16 PM

run 'netconfig' as root.

netconfig -d eth0

roofy 05-06-2003 09:13 PM

WOW thanks, how would i renew?

born4linux 05-07-2003 09:33 PM

do a '/sbin/service network restart'

or

a /sbin/ifdown eth0;/sbin/ifup eth0

if u are asking how to get a new IP address - that depends on the setup of your DHCP server. Eache client (or NIC via MAC address) is given a lease for their IP usage. Until that lease expires, u won't be able to renew.

i think pump is still with RHL 7.2, check its man page. It might give u some tips.

hth

roofy 05-07-2003 10:38 PM

thanks alot :D


All times are GMT -5. The time now is 11:09 AM.