Our server (Ubuntu 14.04) has recently been migrated to a new web server network. It has been assigned a DNS name and an IP address which will be assigned to it by the DHCP server (static addressing via DHCP). Our team was told that we would need to
release/renew its IP lease configure the server to use automatic DHCP settings in order for the server to pick up its new IP reservation.
Here is what I've tried to do that:
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp
sudo ifdown eth0 &&
sudo ifup eth0, the system hangs on the DHCPDISCOVER messages so I'm guessing it can't reach the DHCP server. The same thing happens after reboot and after
sudo service network-manager restart.
(By the way,
ethtool eth0 prints out the line
Link detected: yes so I'm assuming our ethernet cable is plugged in to the socket corresponding to
I also tried:
sudo dhclient -r eth0 sudo dhclient -v eth0
but the second command hangs on the DHCPDISCOVER messages as well.
I'm lost as to what else I could try, any suggestions? Do I need to specify the DNS server name anywhere?
Note: if this is any help, before I started trying to configure automatic DHCP,
/etc/network/interfaces only contained
auto lo iface lo inet loopback