Monday, April 8, 2013

DHCP configuration on a Ubuntu machine



-:DHCP configuration:-

·         Find out if the machine is detecting the network interface with command:-
Ifconfig –a | grep eth
·         It will tell you the network interface address for example eth0 eth1……. eth 6.

·         You can control the logical name for mac address by doing changes  in the below configuration file
vi /etc/udev/rules.d/70-persistent-net.rules.

for reference:-
 





·      Configure network configuration file .i.e. interface at location  vi /etc/network/interfaces as:-

 
·  







       Sudo ifup eth0 (will use dhclient for obtaining the dynamic IP/... if it does not restart the machine).



No comments:

Post a Comment