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
9
votes
2 answers

IPv6 DHCP Configuration

I want to set up an IPv6 only network for testing. However, I can't find any HOWTOs or information on setting up DHCP to autoconfigure IPv6 DNS server addresses etc. I use radvd on a ubuntu server to autoconfigure host addresses and I'm led to…
user23512
9
votes
1 answer

What are the practical risks of enabling the unsecure DNS updates on Windows?

What are the practical risks of enabling the unsecure DNS updates on Windows? As far as I found enabling the unsecure DNS updates is a requirement for enabling DHCP Linux clients from registering their names with a FQDN. I do want to know that are…
sorin
  • 7,668
  • 24
  • 75
  • 100
9
votes
2 answers

Domain Controller offline for a few days

My primary domain controller died over the weekend, its motherboard is being replaced tomorrow. I have been told that the mac address of the server may change once the new motherboard is installed. What issues should I be concerned about before I…
Simon Foster
  • 2,572
  • 6
  • 36
  • 54
9
votes
4 answers

How can I set a search domain (and other resolv.conf parameters) in Ubuntu?

I like Ubuntu's NetworkManager -- it does a great job keeping track of all my WiFi parameters and passwords. However, when I actually plug in an Ethernet cable, the frustration begins. When hooked up to my work LAN, I'd like to force a particular…
mike
  • 3,853
  • 11
  • 29
  • 27
9
votes
2 answers

MAC addresses on dual-NIC mainboards

Here's a weird problem. We've got a number of devices with dual-NIC mainboards. Some are Realtek NICs, which suck. Some are Intel e1000s, which don't. I've just noticed on 2 machines, one is an Intel NIC, one is a Realtek, that when I put the MAC…
Tom O'Connor
  • 27,440
  • 10
  • 72
  • 148
9
votes
5 answers

Can a DHCP server assign itself an IP address via DHCP

This may seem a daft question (and i fear it might be), but would it be possible for a server acting as a network's sole DHCP server send out a request for an IP address to the network, then catch its own request and answer it? All of my intuition…
James Butler
  • 388
  • 1
  • 4
  • 14
9
votes
5 answers

Is there any way to force my Linux box to always boot up with a self-assigned IP address?

This is perhaps an unusual request: I'm trying to get a Debian Linux box to always give itself a self-assigned IP address (i.e. 169.254.x.y) on boot. In particular, I want it to do that even when there is a DHCP server present on the LAN. That…
Jeremy Friesner
  • 1,311
  • 1
  • 14
  • 25
9
votes
3 answers

IPTables and DHCP questions?

On my other thread I was talking about some interesting things about the iptables policy and states, now I would like to understand more about how the DHCP works and how iptables understands it. ETH0 is connected to my main switch that receives the…
Guapo
  • 453
  • 2
  • 5
  • 13
9
votes
6 answers

Update hostname from Debian machine with DHCP to a Windows 2008 DNS server

I have a XenServer installation with Debian (lenny) machines created on a daily basis using a script which creates the machine from a template and assigns it with a new hostname. Our network has a Fortinet 60B appliance which servers as the DHCP…
Electric Monk
  • 195
  • 3
  • 8
8
votes
4 answers

How to add a static secondary IP to a DHCP interface using netplan?

My server has a file /etc/netplan/50-cloud-init.yaml with the following content: # This file is generated from information provided by # the datasource. Changes to it will not persist across an instance. # To disable cloud-init's network…
Torsten Bronger
  • 226
  • 1
  • 2
  • 10
8
votes
1 answer

Linux self recovering DHCP after really long downtime?

I have a few CentOS 6/7 systems (non-production, experimental purposes) that have been configured to use DHCP for their IP address. Last week there was a big network disruption and I found that those systems had lost their IP address and the DHCP…
Niels Basjes
  • 2,176
  • 3
  • 18
  • 26
8
votes
4 answers

DHCP on-the-fly block assignment

We have a large number of clients who connect to our DHCP machine. We want to assign some of them to a different IP block, which is routed with lower priority. Every DHCP lease renewal, we'd like to check a database and decide which IP block we'd…
Andomar
  • 933
  • 1
  • 10
  • 23
8
votes
4 answers

When the internet is down, so is Active Directory?

I am setting up a business server for a small office use with 5 users / 5 devices or so. Nothing elaborate here. I've set up a SINGLE Lenovo TS440 server (single NIC) with Windows Server 2012 R2 Essentials. Step by step via install and wizards. No…
timd1971
  • 287
  • 1
  • 5
  • 15
8
votes
4 answers

CentOS 7 is not setting my gateway from DHCP

I have a Minimal Install of CentOS 7. I have disabled the Network Manager as I want to setup my network the "old school" way. systemctl stop NetworkManager systemctl disable NetworkManager chkconfig network on service network restart My network…
Daniele Testa
  • 631
  • 4
  • 10
  • 18
8
votes
5 answers

Which DHCP Client OS Support DHCP Option 119 Domain Suffix Search?

The ability for DHCP servers (Microsoft, ISC, VitalQIP, IPControl, Infoblox, etc.) to deliver DHCP Option 119 - Domain Suffix Search Lists has been around for a long time. Initially, DHCP Client Support for this option was scarce. So, my question…
netlinxman
  • 477
  • 1
  • 5
  • 10