50.Explain how to configure DHCP client?
Ans.
1. Before configuring DHCP, NIC should be configured properly and recognized by the system.
2. After that it’s easy to command system to use DHCP to obtain its IP information.
3. Configuring DHCP client involves following steps :
a. Open the /etc/sysconfig/networkscripts/ifcfg-eth0 file.
b. Find the line bootproto=static
c. Change the static to dhcp.
d. Save changes.
e. Restart the network by issuing command ‘service network restart’, after that system will receive its IP information from the DHCP server.
Ans.
1. Before configuring DHCP, NIC should be configured properly and recognized by the system.
2. After that it’s easy to command system to use DHCP to obtain its IP information.
3. Configuring DHCP client involves following steps :
a. Open the /etc/sysconfig/networkscripts/ifcfg-eth0 file.
b. Find the line bootproto=static
c. Change the static to dhcp.
d. Save changes.
e. Restart the network by issuing command ‘service network restart’, after that system will receive its IP information from the DHCP server.
Comments
Post a Comment