The Dynamic Host Configuration Protocol (DHCP) is a network configuration protocol that assigns IP addresses and gateway configuration automatically.
26
votes
6answers
16k views
How can I find my public IP using the terminal?
I am on DHCP, having dynamic IP.
Finding your public IP when using a GUI and a browser is extremely easy.
Simply go to Google.com and search for "What is my IP". Google will display it in the very ...
8
votes
5answers
5k views
Why is dhclient saying: “SIOCSIFADDR: Permission denied”?
I have encountered a very weird error on ubuntu-server (8.04), I have no idea why dhclient is not allowed to set the network settings! I'm not the one who installed the server in the first place, so i ...
7
votes
2answers
36k views
How do I configure a DHCP server?
How to configure a DHCP server in Ubuntu 12.04?
I need a step-by-step tutorial if somebody has one.
6
votes
4answers
912 views
Accidently Deleted /usr/lib/*.so.*
While I was installing MRTG, by mistake I have deleted /usr/lib/*.so.* and /usr/lib/*.so
I am now unable to boot-up my system now, it gets stuck at the splash screen and when I press PAGEDOWN button ...
6
votes
4answers
11k views
How to set up a DHCP server?
I am currently at this stage of setting up DHCP, and id just like to know what this output in terminal means? I know I have to edit a file but I do not know which one, and I do not know what to put in ...
6
votes
2answers
2k views
Unable to connect to wired DHCP connection via my PC?
Hi As I upgrade my pc to ubuntu 11.10 I can't connect to the wired connection ! It doesn't even find my Device MAC address !!What can I do ?
ifconfig -a
eth0 Link encap:Ethernet HWaddr ...
6
votes
2answers
9k views
Waiting for network configuration message at boot, then blank screen
When I boot (11.10), I get the message that it's "waiting for network configuration" and then the same, but "60 seconds longer" and then finially it "boots" but to a black screen. No cursor, just ...
5
votes
3answers
2k views
Check if IP is static or dynamic programmatically
I'm trying to determine whether my IP has been statically or dynamically assigned in Ubuntu 11.04 from within C. The closest I've come is examining /var/lib/dhcp/dhclient.leases, but that doesn't ...
4
votes
2answers
1k views
How to enable DHCP server to all subnets for PXE server?
I have setup-ed a PXE boot server for installing ubuntu via network. Currently i am using hosts mac address to install the ubuntu operating system. I would like to enable the DHCP server in all the ...
4
votes
1answer
173 views
Why using DHCP service?
A few simple questions for a total beginner:
1)Why use DHCP? I am running a small home-network: 1 desktop computer and twp lap-tops. What is the big advantage in DHCP for me? What configurations does ...
4
votes
1answer
2k views
dhcp3-server or isc-dhcp-server
So. I need a dhcp server on my ubuntu server.
I've found two options, and some saying it's the same thing?
Could someone explain the difference, maybe even pros and cons? If it's not the same.
4
votes
4answers
2k views
Adding additional DNS search domains when using DHCP
How can I add additional DNS search domains to a network connection which is configured using DHCP?
At work, we have several sub-domains (test.example.com, dev.example.com, etc), and I've grown tired ...
4
votes
1answer
2k views
How can I setup dhcpd (dynamic DNS)?
I have a Ubuntu Server 11.04 firewall/gateway set up and I'm wondering how I can configure isc-dhcp-server to update bind9 to resolve hostnames in the network.
Here is my setup:
3 computers ...
4
votes
1answer
847 views
How do I setup DHCP-Server interfaces so they are mapped/bridged to each other?
I have recently setup a DHCP-Server on an Ubuntu 10.04 server machine. The machine has two interfaces (eth0, eth1). I have the DHCP server setup correctly because computers connecting to the network ...
3
votes
2answers
3k views
How to override the DHCP-provided nameserver?
I (think) that I've configured a static IP address in /etc/network/interfaces:
# The primary network interface
auto eth0
iface eth0 inet static
address 10.1.1.2
netmask 255.255.255.0
...
3
votes
3answers
144 views
How do you actually configure DHCP in MaaS in Raring?
All the docs say is
If you are using MAAS to control DHCP, you need to set this via the web interface.
But I see no mention of DHCP in the web interface. What exactly do you click on to ...
3
votes
2answers
933 views
How to add some additional DNS search domains without ignoring the ones returned by DHCP?
Please provide:
correct location to add my custom domain search option (preferably appending it to the DHCP list, instead of prepending)
command to run to make the settings effective
Note: do not ...
3
votes
1answer
684 views
VPN default route issue when using the UI
When setting up a VPN connection using the UI (System settings => Network) the VPN connection is used as the default route after connecting to it.
How can I avoid this? That is without assigning ...
3
votes
2answers
3k views
Can't get ipv6 address using dhcp
I can get the ipv4 address using dhcp,But can't get the ipv6 address.
the dhcp server also support the ipv6 service.
ifconfig eth0
eth0 Link encap:Ethernet HWaddr: 00:21:85:d3:a3:36
...
3
votes
3answers
2k views
dhcpd offers ip address but client doesn't get ip
I set up a dhcpd on my ubuntu server with this configuration:
please note that the ubuntu server which runs the dhcpd has a static ip
of 192.168.1.50
default-lease-time 600;
max-lease-time 7200;
...
3
votes
2answers
2k views
How to edit /etc/resolv.conf on Ubuntu 12.04
I have two network interfaces configured via DHCP. As a result, /etc/resolv.conf is populated with information coming from the DHCP server.
How can I edit this file?
I know that if I add prepend ...
3
votes
1answer
1k views
testing dhcp server locally on one physical machine with virtual machine
I'm writing simple program to configure and monitor DHCP server on my Ubuntu 12.04.
What I'm trying to achieve that my physical machine will be DHCP server and my VM (virtual machine) get one lease ...
3
votes
1answer
291 views
MAAS on Ubuntu 12.10
I just upgraded a Ubuntu 12.04 server to 12.10.
It was built with MAAS but no other servers had been added to its private network yet, but I confirmed that dnsmasq was setup correctly for DHCP and ...
3
votes
1answer
1k views
can the hostname changed via DHCP?
According to several comments in the web most DHCP clients simply ignore the hostname provided by the DHCP server. Does Ubuntu use the provided hostname?
If not, how can Ubuntu be persuaded to use the ...
3
votes
1answer
1k views
How do you change udev rules without restarting (e.g. to change eth1 to eth0)?
TLDR; How do you apply changes to /etc/udev/rules.d/70-persistent-net.rules without restarting? (See this documentation about ethernet interface logical names.)
Long version:
I have a bootable USB ...
2
votes
1answer
468 views
How to set up static IP for DHCP server
I would like to set up a DHCP server on Ubuntu 10.10. How can I give it a static IP? I know this question is not very specific--I would like just you to point me in the right direction.
2
votes
1answer
3k views
I try install dhcp3-server, but /etc/init.d/dhcp3-server file is missing. Whats going on?
I've found several how-to's that essentially go through the same process in setting up DHCP.
Here's a link that has the list of step needed install and setup DHCP. I follow all the steps and find ...
2
votes
3answers
7k views
How to get hostname from dhcp server
I want ubuntu to get hostname and dns name from dhcp client. Default installation of 11.10 does not do that.
Update: same question asked and Unsolved
2
votes
1answer
493 views
How to access my virtual machine server via hostname?
I created a Ubuntu 12.10 virtual machine in VMware which runs an Apache server. The VMware machine is on a bridged network adapter, so it's using the physical network connected on my host.
For now I ...
2
votes
1answer
1k views
What is the difference between dhcp3-server and isc-dhcp-server packages?
What is the difference between dhcp3-server and isc-dhcp-server packages in ubuntu 12.04?
2
votes
1answer
653 views
No client internet access when setting up these iptables rules
I have read many other posts but cannot figure this out.
eth0 is my external connected to a Comcast modem. The server has internet access with no issues.
eth1 is internal and running DHCP for the ...
2
votes
2answers
1k views
I need to reset my computer's ip address to dhcp from static
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 ...
2
votes
1answer
451 views
Domain name isn't assigned from DHCP when booting from Live CD
I downloaded the ubuntu 10.10 ISO image for AMD64. When i start the ISO ubuntu gets an IP address from my DHCP server. NetworkManager updates /etc/resolv.conf according to the DNS config provided by ...
2
votes
1answer
122 views
Enabling DHCP without being connected
I was installing Ubuntu server the other night and I was not able to hook up to the network while installing because I don't have a monitor for my desktop machines. I had to go into the living room ...
2
votes
1answer
243 views
Casper set hostname via dhcp
I'm booting sucessfull via pxeboot a live ubuntu remix. I wan't to set the hostname via dhcp because I'm booting several instances of the same image. Right now I'm using a hookline in ...
2
votes
1answer
219 views
DHCP server doesn't assign network dns to other hosts on my network
I had a problem with my DHCP but I managed to fix it. Now the network starts but I have a problem with DNS. Clients in the network don't get any dns from my DHCP.
My network works as follow my I ...
2
votes
1answer
998 views
Is dhclient.conf used during boot when bringing up network interfaces?
I am running Ubuntu 11.10 32bit Server on a single-board computer. I want the option of using the Ethernet interface (eth0) as a backend to control the computer if it's connected. I'm also lazy: if ...
2
votes
2answers
2k views
How can I set up a Dynamic DNS fetching service on Ubuntu Server?
I've created accounts and hostnames within my http://no-ip.org/ account, which is by far the most commonly used service for my type of server. Can somebody walk me through the configuration process ...
2
votes
1answer
81 views
How to monitor DHCP leased ip address
I have Ubuntu server 12.10 as DRBL and CloneZilla. How can I find out how many IP addresses have been assigned to the clients. How do I control/monitor the DHCP daemon service(stop/start/status)?
2
votes
1answer
100 views
internet connection: connected only when detach/attach the wire again
I just started my adventure with Linux.
obviously had many issues already, but get to manage it.
one that bother me a little though I have found the temporary workoround
is my network connection.
my ...
2
votes
0answers
42 views
Add Server between current wireless router and new router
I have a Ubuntu 12.04 Server with a wireless router attached. I would like to connect it to my modem/wireless router via the wireless interface in a transparent manner. My goal is to use the server to ...
2
votes
0answers
114 views
Ubuntu router breaking internet radio streams
I have Ubuntu 12.04 up and running fine as a DHCP router with great throughput to my connected devices. two single nic's (one onboard and one PCI-e, both with Realtek 8111E chips) are used as WAN and ...
2
votes
0answers
97 views
dhcp server configured in ubuntu on vmware
How can I test a dhcp server running on Ubuntu in vmware?
My dhcp configuration is:
ddns: update-style none;
default-lease-time 600;
max-lease-time 7200;
subnet 192.168.56.0 netmask 255.255.255.0 {
...
2
votes
1answer
1k views
Can't Start ISC DHCP IPv6 Server
Trying to enable the ISC DHCP server for just IPv6 on Ubuntu 12.04 LTS.
I have downloaded and installed the DHCP server via the following command:
$ sudo apt-get install isc-dhcp-server
Then I ...
2
votes
2answers
195 views
Cannot connet to password protected wifis
Network manager cannot connect to a wifi, if the wifi is password protected (WEP or WPA). However it can connect to passwordless wifis. Also, I can conned to password protected wifis manually as:
...
2
votes
1answer
2k views
How to define default gateway with multiple DHCP interfaces?
How does ifconfig determine which network interface to use as the default when DHCP assigns a default route for each NIC? It seems like it's in a race-condition and I need to have a more reliable ...
2
votes
2answers
2k views
How to make dhclient forget its last DHCP lease?
What I'm trying to achieve is to get cold-start, zero-state DHCP lease which means forcing dhclient through the full discovery and configuration process (DHCPDISCOVER–DHCPOFFER–DHCPREQUEST–DHCPACK as ...
2
votes
1answer
268 views
Is it possible to setup a DHCP server only for local virtual machines?
I have a quick question. I have a bunch of virtual machines (VMWare Workstation) running on an Ubuntu server and have found that VMWare NAT (DHCP) service is unreliable and slow. I have to use NAT ...
2
votes
0answers
245 views
VirtualBox networking problems [closed]
I'm attempting to set up a local web development server in virtual box.
Ive got my first adapter (eth0) set to host only networking on a fixed IP, because I don't want it to be affected by dhcp, and ...
1
vote
2answers
665 views
How can I configure Mythbuntu 11.10 to wait for a DCHP lease before completing boot and starting network dependent apps?
I have a clean install of Mythbuntu 11.10 acting as a frontend only. It is networked using eth0 and I have a router acting as a DHCP server on the same subnet.
The frontend boots and automatically ...



