Renewing DHCP on Linux is easy
Written by IT News on 9:33 PMToday tips and tricks
This tips is applies (tested) on Linux SUSE 9.0, Suse Linux Enterprise Desktop (SLED) 10.1 Service pack 1.
In this tips I will show you how easy is to turning off network interface (NIC card) so that you can get new IP address. But this tip is work for DHCP only.
- Open a Linux terminal console and logon as root, or from user account you can type su –l and supply root password
- to show your existing IP address type ifconfig
- type dhcpcd –k to send appropriate signals to dhcpd, if you got an error message “**** dhcpcd: not running” you need turn of the IP address using the syntax ifup and ifdown following eth0, if the problem persist you need to change your Ethernet connection type to traditional
- bring up the IP address up by typing ifup eth0
- type ifconfig again to make sure your new IP address
Is this tips work for you? Any idea or improvement? Just leave a comments
0 comments: Responses to “ Renewing DHCP on Linux is easy ”