how to configure static ip or dhcp ip in Linux
Setup DHCP or static IP address from command line in Linux
Step 1 : STOP and START Networking service. Some people would argue restart would work, but I prefer STOP-START to do a complete rehash. …
Step 2 : STOP and START Network-Manager. …
Step 3 : Bring up network Interface. …
Step 4 : Setting up IP address – DHCP or Static? …
Step 5 : Setting up nameserver / DNS.
by Tahmina Nishi
linux dhcp client