Changes

Jump to: navigation, search

NAD710 Lab 2

700 bytes added, 18:07, 11 September 2008
DHCP Client Issue
=== DHCP Client Issue===
If you boot to FC8, by default, the system contacts the DHCP server in the Lab and config its ethernet adpator with the assigned TCP/IP parameters. The DHCP client running on FC8 will renew its TCP/IP lease from the server every few minutes. Since we want to change the IP address of the network interface, we must first stop the DHCP client on the machine.
=== Stopping DHCP Client ===
* The name of the DHCP Client on FC8 is called "dhclient". Use the following to find out the process ID of the running dhclient on the system:
[root@host-a ~]# ps -ef | grep dhclient |grep -v grep
root <font color="red">2030</font> 1 0 15:23 ? 00:00:00 /sbin/dhclient -1 -q -lf
/var/lib/dhclient/dhclient-eth2.leases -pf /var/run/dhclient-eth2.pid eth2
* If the command produces nothing, DHCP client is not running on your system. The number in red (I highlight it here, the actual output shows no color) is the process number of the DHCP client process. You can use the following "kill" to try to terminate it:
[root@host-a ~]# kill -15 2030
=Procedure=
1
edit

Navigation menu