The Dynamic Host Configuration Protocol (DHCP) is a network configuration protocol that assigns IP addresses and gateway configuration automatically.

learn more… | top users | synonyms

2
votes
2answers
4k views

How do I override an MTU provided by DHCP?

I'm running Ubuntu Server 12.04 LTS, and I want to override the MTU my cable company provides via DHCP. They provide an MTU of 576 and I want to use 1492. I can change it with ifconfig, but it ...
0
votes
1answer
331 views

Website access only with ip

I recently installed Linaro Ubuntu 12.04 on my cubie development board and I can access websites only with ip adresses, for example I can access google with 74.125.224.72. I also can ping only ip ...
3
votes
2answers
4k views

How can i give internet access to local network via DHCP/Gateway server?

I think i now find myself somewhere between cognitive overload and like a babe lost in the woods. Thus i hope someone out there can assist me! :) I setup a Ubuntu 12.04 server on my home local ...
3
votes
2answers
15k views

Networking stop/waiting error

I wanted to set up a bridge connection for my VMs (I am using KVM). I modified my etc/network/interfaces file and its contents are: auto lo iface lo inet loopback auto br0 iface br0 inet dhcp ...
0
votes
1answer
115 views

Limited or no connectivity on windows clients

here's my scenario Using ubuntu server non gui, I would set up a server with static IP on eth0 then share the connection on eth1 -> connected to a network switch. i did set up eth0 as static, ...
2
votes
0answers
347 views

How do I perform maintenance on a master DNS/DHCP (BIND9/ISC-DHCP) Ubuntu server?

I'm running non-GUI Ubuntu Server 12.04.2 LTS (64-bit) on my 2 DNS/DHCP servers. Both servers are running BIND9 9.8.1-P1 and ISC-DHCP-SERVER 4.1.ESV-R4-0ubuntu5.6. Please note that for DNS I'm ...
0
votes
1answer
1k views

Virtual Box guest (Windows7) in Ubuntu 12.04 (host) not connecting to the internet.

Have a Virtual Box running Win7 inside an Ubuntu host - the guest does not connect to the internet, but the host does. It is using an intel pro/1000 MT Desktop adapter with settings set to ...
2
votes
2answers
16k views

Can't set DNS with Static IP

I'm running Ubuntu 13.04. I uninstalled DHCP. I set my IP address to 192.168.1.200 and it's working just fine. I can connect to it via my other internet network machines. However, I've tried to ...
3
votes
1answer
2k views

Changing/Setting DNS settings on boot

I have a situation where i do not give access to a machine, but there may be circumstances where the IP settings need to be changed. I have overcome this by providing a USB stick with a file with both ...
0
votes
1answer
301 views

Ubuntu 13.04: Ethernet works at office but not at home. DHCP issue maybe?

I am fairly new to Linux and just installed Ubuntu 13.04 on an external USB HD (using the liveCD). The computer the drive is connected to is a Dell Precision M4500 (laptop). After the fresh install, ...
2
votes
1answer
448 views

How to send DHCPD leases to remote syslog-ng

I want to query a DHCP server for logs about leased IP’s every 5 minutes. I am not sure how to run the query from my server or which file to edit. The queried logs will be sent to the server ...
0
votes
1answer
81 views

machine goes to DHCP after reboot

Our server if rebooted goes to DHCP even if we have provided static IP to the server. What all changes needs to be done so that even machine reboots it will boot with static IP. Pl. help.
1
vote
1answer
3k views

ubuntu 12.04 pxe boot fail with message “IP-Config: no response after *** secs - give up”

I followed the DisklessUbuntuHowto and set up my pxe boot service. When configure the dhcp server in /etc/dhcp/dhcpd.conf, I tried to use static IP address as follows, in which "00:22:15:F8:D9:1A" is ...
1
vote
0answers
2k views

Force lease renew for leases in /var/lib/misc/dnsmasq.leases

I have a Raspberry Pi connected to my laptop (running 13.04 with Gnome) via direct ethernet using these instructions. Normally, the RPi will connect and work just fine. However, if I disconnect the ...
4
votes
5answers
29k views

Is there a safe way to disable DHCP from command line?

Short version I know this question is very similar to others and I did really search the Internet for answers, but it seems that no approach is working or the solutions seem to be "to complicated to ...
0
votes
1answer
2k views

Ethernet over GRE setup is not working

Click here for Netwrok Topology I am having problem setup the L2 over GRE tunnel with above hyperlink. The following is the setup commands I used to setup GRE tunnel. create and enable the GRE ...
2
votes
0answers
257 views

Ubuntu FQDN Not pingable on Windows Network

My problem is that my Ubuntu machine seems to have its FQDN setup correctly, yet I cannot ping the FQDN from a windows machine on the same network. Output of various commands on my Ubuntu machine: ...
1
vote
0answers
97 views

Setting up DHCP without ethernet

I'm a noob to networking so bare with me. Since I want to learn how to network, I asked a friend about what I should start with. He told me I should learn home networking first such as DHCP and IPv4 ...
1
vote
1answer
946 views

How to fix DHCP and TFTP server?

I do a job in which I need TFTP and DHCP server. The DHCP settings I should adjust is (I have DHCP and DHCP 3, not sure where to set): default-lease-time 21600; max-lease-time 43200; ...
2
votes
2answers
8k views

Adding nameserver in resolv.conf

Im using Ubuntu server edition. In that it's configured to use ip address provided by DHCP. Now, I want to edit the resolv.conf file so that it points to the nameservers that I want to define. ...
1
vote
2answers
130 views

Is there a way to connect with the real router(server) from the fake one?

Scenario: +---+ eth0| S | +----------+ internet ======| | | |------PC1 | / | | switch |------PC2 | ...
2
votes
1answer
490 views

Prevent device from using static IP not assigned by dnsmasq's DHCP server

I am trying to mimic the functionality of ClearOS, a Red Hat based gateway/content filter. I'm using Ubuntu 13.04 desktop on a PC with two NICs. So I have installed dansguardian and squid and I also ...
1
vote
1answer
5k views

Bridging eth0 and vboxnet0 and using ISC DHCP server to provide dynamic IPs

I have Lubuntu 12.04 (64bit) with VirtualBox 4.2 installed and the setup below: eth0 adapter connected to LAN (having static IP 192.168.0.1 and it is the default gateway). ISC DHCP server listening ...
0
votes
1answer
2k views

Ubuntu Server and setting up two nic cards

I have ubuntu server on a computer with a wireless and hardwired nic card. The wireless needs to get the internet and pass it to the ubuntu server as well as pass it along to the hardwired nic card ...
0
votes
1answer
313 views

VM doesn't pick up any ip address

I'm running virtualbox in bridged mode on a windows host. ifconfig returns this: Here's the etc../interfaces file: here's the output of ifconfig -a: here's the output of route How can I ...
3
votes
1answer
635 views

Is it possible to setup an interface with both DHCP and a static IP?

Sending a box out to a colo and the guy taking it has no idea of networking. was hoping I could set it up so I can access it no matter which of two switches he plugs it into. After which I can remove ...
2
votes
0answers
602 views

Resolvconf is ignoring domain-names received by dhcpclient

My workstation is connected to a network which uses dhcp for IP-configuration. I'm running 12.04 which is using /etc/network/interfaces for the network configuration. For eth0 I have: auto eth0 iface ...
1
vote
1answer
9k views

Hostapd wifi AP [closed]

I am trying to start wifi AP with hostapd, followed carefully all of this instructions. For now, from my phone, i see network, i connect to it, but it stucks at receiving ip address and then just ...
1
vote
1answer
198 views

Blocking MAC Address does not work on DHCPv6 request

I blocked a MAC address of a client on my DHCP Server running on Ubuntu 12.10 using iptables -A INPUT -m mac --mac-source -j DROP But I am still getting DHCP requests from the client and the ...
1
vote
1answer
4k views

How to start dhclient at boot?

Here's the problem: root@home:~# ping 8.8.8.8 connect: Network is unreachable root@home:~# dhclient eth0 RTNETLINK answers: File exists root@home:~# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) ...
1
vote
2answers
2k views

DHCP working but clients don't have internet

Just as the title says. My DHCP assigns IP addresse and all that stuff to clients; however clients don't have access to the Internet. Here's my DHCP configuration: ddns-update-style none; option ...
0
votes
1answer
817 views

Ubuntu 13.04 Network Configuration

I recently bought a new Linksys E3200 router, and after much trouble, got it working, but I can only connect to it via Static wireless settings in my Connections Manager. I want it to be DHCP ...
0
votes
1answer
805 views

Wired network works in live CD but not after installation

Live CD and installation have working network connection. But after installing, the network connection is offline; it won't connect! No automatic configuration, aka DHCP doesn't work. Static ...
1
vote
1answer
346 views

Dhcpd: I have 2 Linux Ubuntu Servers running DHCP. Is it possible to install a 3rd DHCP server (which will run Windows Server)?

Im learning /etc/dhcpd.conf, and set up 2 dhcp servers that are running Ubuntu 1204. Do you know if I can make a 3rd dhcp server, but I want this one to run Windows DHCP (not AD, just Dhcp and ...
1
vote
1answer
670 views

Many dhclient processes running?

Is it OK to have many dhclient processes running? Or is this an error and you should always have one such a process? What does it mean? Why is it listening? Is this computer a DHCP client or is it a ...
3
votes
1answer
2k views

Ubuntu Server randomly gets DHCP address instead of keeping static IP

I have a home server set up as my internet gateway. IP fowarding and such is working fine, but for some reason the server keeps grabbing a DHCP address instead of sticking with the static address I ...
3
votes
2answers
4k 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 ...
0
votes
1answer
1k views

MAC address changing in Ubuntu 12.04 [duplicate]

I am trying to change the MAC address of my device. I tried the ifconfig way as well as the macchanger tool way. However although the MAC address changes on interface eth0. I do not get a DHCP based ...
0
votes
1answer
919 views

how to configure dhcp?

I have still problems with internet connection on my network using Ubuntu 12.10. I have router NetGear 192.168.1.1, then TP-Link running on his 192.168.1.2 and Ubuntu connected through wire to TP-Link ...
1
vote
1answer
1k views

Re-run the auto DHCP configuration

I need to re-run the network configuration, as everything has changed. How can I re-run the auto-configuration? This is on 12.04 Server
2
votes
1answer
3k views

Regenerate resolv.conf from dhclient.conf without releasing/renewing IP?

When I make changes to dhclient.conf such as modifying the DNS search path (so that the changes don't get lost on reboot or DHCP renews), how do I regenerate /etc/resolv.conf? That page suggests ...
1
vote
1answer
3k views

Ubuntu as a Router/Gateway - Unable to access WAN

I am currently trying to set up a home router using a machine running Ubuntu 12.04. The machine has two ethernet ports. eth0 is LAN and eth1 is WAN. I have set eth0 to a static ip and have eth1 ...
0
votes
1answer
222 views

Ubuntu Server as Router, Static ip for macadr's

I have Ubuntu Server as Router. On it i have turned on DHCP Server, but i want to give static adresses to some devices (mac adresses) in my network, where I have to start? I tried to google it, and i ...
1
vote
1answer
20k views

DHCP server not starting

I'm trying to set a DHCP server on 12.04. I installed: sudo apt-get install isc-dhcp-server My configuration files look like this: /etc/default/isc-dhcp-server INTERFACES="eth0" ...
1
vote
0answers
382 views

DHCP can not obtain correct IP sometimes

I installed Ubuntu lucid on my Thinkpad x201i laptop.Recently I found it that when I connect my cable to my laptop in our school's library,my DHCP client can not obtain correct IP. I have to set it ...
1
vote
1answer
434 views

CUPS: HP printer DNS url

The URL for my printer generated by hp-makeuri looks like this: hp:/net/Officejet_6500_E710n-z?ip=192.168.178.30 But the printer is on a dhcp enabled wifi network and so its IP-address does and ...
0
votes
2answers
11k views

How can I configure isc dhcpd to provide option 150 for Cisco phones?

Cisco phones use the proprietary option 150 to tell the phone what server to contact for configuration information. How can I provide this option using the ISC DHCP server on Ubuntu?
3
votes
3answers
17k 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)?
0
votes
1answer
2k views

DHCP help in Virtual Box

new to Linux and Ubuntu - ya noob, be gentle. I have a Windows 7 host, running latest Virtual Box, created an Ubuntu 12.10 server installation. Everything seemed to go fine, I chose all defaults ...
2
votes
1answer
522 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 ...