I use Ubuntu, and I have many interfaces.
I know that there is an option for network-manager to get only the addres from DHCP but I think there's nothing for what you want.I'm not sure what you want to do. Do you have changing DNS servers and gateways?If you have control over the DHCP server you could do that by static DHCP (your pc gets the same address every time based on the MAC address).
I've got a problem with dnsmasq on my server everything but dns works on it, it currently gives out dhcp fine and points to the router etc however when i go to a website it wont find it, the dns is pointed to the server on the client machines.
My first post here.
Relevant info:
Host OS: Windows 7 Home Premium 64-bits with VMware Workstation 8
Two VMs: Ubuntu Server 12.04 and Ubuntu Desktop 12.04
VMware NAT settings:
Use local DHCP service is DISABLED
Subnet IP: 192.168.2.0
Subnet mask: 255.255.255.0
Gateway IP: 192.168.2.2
On Ubuntu Server I have a DHCP server: isc-dhcp-server
DHCP is working OK.
I have a Huwawei modem and a TP Link access point, I did the setup everything works, the TP Link is using the DHCP of the modem.
I want to configure my eth0 interface using an external DHCP server (resident in my subnet), so I edited /etc/network/configure with the lines
auto eth0
iface eth0 inet dhcp
but I also want to use avahi autoconfiguration when the DHCP server is down.
So I tried ifup eth0 when the server is down, and after a certain amount of time it fails, but the interface eth0:avahi is correctly configured
The network was fine yesterday and as far as I know nothing has been changed or added. This morning some computers are connected to our domain but most of them are reporting limited connectivity. On checking our DHCP server we are getting this message.
Cannot find the DHCP Server:
The DHCP server you specified cannot be located.
Possible Duplicate:
How do I dynamically obtain IP addresses for VLAN interfaces?
I have been running a file server on Ubuntu for a couple of years now. Recently I had to take the network down. When I brought it back up, my server lost its ip address from the router.
I can't remember how to put it back in the dhcp mode. I know that running a server in the dhcp mode isn't optimal, but my router won't allow me to assign static ip addresses.