Questions tagged [dhcp]

DHCP stands for Dynamic Host Configuration Protocol and is an auto configuration protocol used on IP networks and an extension of the Bootstrap Protocol.

The Dynamic Host Configuration Protocol (DHCP) is an auto configuration protocol used on IP networks and an extension of the Bootstrap Protocol. DHCP allows for computers to be configured automatically to communicate with each other over an IP network without the need for manual setup by a network administrator.

The implementation of DHCP relies on a DHCP server to hand out network configuration information to DHCP-capable clients that request an IP address (and other information required or useful in communicating with other devices on an IP network). In addition to an IP address, common configuration information served over DHCP includes a default gateway, subnet mask and DNS sever(s), though there are many more possible configurations that can be sent out using the DHCP protocol.

More in-depth detail on DHCP and its implementation can be found at Wikipedia.

2086 questions
12
votes
6 answers

How to make a Macintosh register a Hostname to the DHCP Server?

I have a MacBook running Snow Leopard in our company's internal network, which is basically a Windows domain network. Our TO department complains about my MacBook not specifying a name to the DHCP server. Accordingly, the MacBook isn't resolvable by…
netmikey
  • 233
  • 1
  • 2
  • 7
11
votes
4 answers

Force the DHCP server to renew the IP address of a client machine, without doing anything in client machine

I would like to know, if there is a way I could force the DHCP server to renew the IP address of a client machine instantly, without me going to the client machine? In fact, imagine, I don't have access to the client machine. So, here is my…
SSaikia_JtheRocker
  • 287
  • 2
  • 3
  • 8
11
votes
3 answers

How to configure radvd, dhcpd6, routing and /64 subnet based on delegated prefix by DHCPv6-PD server?

My ISP has just started IPv4/IPv6 dual stack service. In order to connect IPv4/IPv6 internet, almost all users usually use a CPE leased by the ISP. But I want to use my Linux router instead of such CPE, because my router has so many roles(a lot of…
takaomag
  • 241
  • 1
  • 3
  • 6
11
votes
1 answer

Is "broadcast-address" necessary in dhcpd.conf?

Or, more generally, is it required to specify the broadcast address that a client should use when a DHCP server is assigning an address?
Jed Daniels
  • 7,172
  • 2
  • 33
  • 41
11
votes
2 answers

How to enable debug of dhcp client on Windows 7

Is it possible to enable some sort of debugging for dhcp client on Windows 7?
pchel
  • 151
  • 1
  • 2
  • 6
11
votes
5 answers

libvirt: Change dhcp-setup without restarting

I'm using libvirt and kvm to virtualize my server. I configured libvirt to start a dhcp-server on the bridge-network-interface to give the vm's their ips. Every VM's gets always the same ip based on its mac, this is configured like this:
theomega
  • 724
  • 1
  • 8
  • 17
10
votes
2 answers

Interpreting DHCP related message from rsyslog

In /var/log/messages from an EC2 instance there are a lot of lines such as: ip- ec2net: [get_meta] Trying to get http://169.254.169.254/latest/meta-data/network/interfaces/macs/MAC_ADDR/local-ipv4s
ChristianF
  • 165
  • 1
  • 1
  • 8
10
votes
1 answer

Is it possible to configure proxy setting through dhcp?

I have a small LAN with 12 devices connected to it, ubuntu box running dnsmasq acting as a dhcp server and another ubuntu box acting as a web proxy. Is it possible to configure all of the devices in the network through the dhcp server to use this…
Gray
  • 201
  • 1
  • 2
  • 3
10
votes
6 answers

Windows DHCP server - distribute multiple default gateways?

I'm helping a client through the process of configuring a Windows 2012 DHCP server while migrating from Linux ISC DHCP. In the Windows New Scope Wizard dialog, there is an option to: ...specify the routers, or default gateways (plural), to be…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
10
votes
1 answer

How can I configure my DHCP server to distribute IP routes?

I have a DHCP server (Linux, IPCop, dnsmasq) running on my default gateway server 192.168.0.1. I have a VPN endpoint on another server in the network (192.168.0.4). Is it possible to configure the DHCP server so it sends not only the default gateway…
blerontin
  • 364
  • 1
  • 3
  • 13
10
votes
3 answers

No internet after dhcp lease renews

Today we had a number of machines stop getting internet access. After a lot of troubleshooting, the common thread is that they all had their dhcp lease renewed today (we're on 8 day leases here). Everything you would expect looks good after the…
Joel Coel
  • 12,910
  • 13
  • 61
  • 99
10
votes
2 answers

DNS and DHCP not agreeing on an IP address

I'm having a problem where our Windows Server 2003 domain controller assigns my Windows 7 computer one IP address (x.x.x.75) via DHCP, but reports another (x.x.x.84) via DNS. This causes some interesting behavior on the network. If I change my…
Mr. Jefferson
  • 697
  • 2
  • 11
  • 25
10
votes
4 answers

Excessive DHCP requests in /var/log/messages: DHCPINFORM, DHCPACK and DHCPREQUEST repeated

I have a CentOS 5 system running DHCP for several subnets. In /var/log/messages, I'm seeing constant DHCPINFORM, DHCPACK and DHCPREQUEST messages. I don't understand why these requests are more frequent here than in other installations. The messages…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
10
votes
4 answers

Force Linux servers to automatically try to get an IP address if they lose it

We use static DHCP leases for our Linux servers on our small business network. Recently something bad happened to the DHCP server and all the linux servers ended up losing their IP addresses since they couldn't find a DHCP server on the…
Jake Wilson
  • 8,494
  • 29
  • 94
  • 121
9
votes
2 answers

Registering linux hostnames on windows DNS

How do I register DHCP linux client's hostnames in a windows server DNS? I have a small-business mixed network with: DCHP Windows workstations (Example hostname: win1) About 10 machines Machines are on the domain, no special config. DHCP Linux…
Stewart
  • 301
  • 1
  • 3
  • 10