Configure DHCP Client on Ubuntu 13.04 12.10 12.04 Debian

Configure DHCP Client on Ubuntu 13.04 12.10 12.04 Debian


1. Configure DHCP Client on Ubuntu Debian

root@opensips:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).# The loopback network interface
auto lo
iface lo inet loopback# The primary network interface
auto eth0
iface eth0 inet dhcp

2. Restart network to receive IP address from DHCP Server

root@opensips:~# /etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable a gain some interfaces … (warning).
Reconfiguring network interfaces…Internet Systems Consortium DHCP Client 4.1.1 -P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit on LPF/eth0/00:0c:29:37:6a:35
Sending on LPF/eth0/00:0c:29:37:6a:35
Sending on Socket/fallback
DHCPREQUEST on eth0 to port 67
bound to — renewal in 791 seconds.done.

That’s all. Thanks for using


Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>