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.

2127 questions
5
votes
5 answers

Disable dhcp client over one interface

I'm encountering a problem on a sever with two ethernet interfaces(etho and eth1), it runs linux-ubuntu-server. I need eth1 not make any dhcp request, becouse I need it to be only a listening interface, obviusly I need eth0 running normally. So how…
Lopoc
  • 201
  • 1
  • 2
  • 4
5
votes
8 answers

What equipment do real ISP's use?

In a dormitory of 550 residents, people often mistakenly set up DHCP servers for the whole network by plugging in their private Wi-Fi routers wrongly. Also recently, someone mistakenly configured their PC to a static IP address being the same as…
Allanrbo
  • 173
  • 1
  • 7
5
votes
6 answers

Why do partially failed/failing switches fail to pass DHCP?

I've noticed this several times: a switch starts to behave oddly. Usually if the switch doesn't fail outright, what tends to get noticed is that DHCP doesn't work. We had a Linksys SRW-224P fail today. Systems which were still connected worked…
David Mackintosh
  • 14,293
  • 7
  • 49
  • 78
5
votes
1 answer

ISC DHCP client (dhclient) alternative?

I've just seen the news on https://www.isc.org/dhcp : ISC has ended development on the ISC DHCP client as of early 2022. This client implementation is no longer maintained and should not be used in production any longer. Now that dhclient seems to…
kol
  • 191
  • 8
5
votes
1 answer

Setting up an Access Point, Raspberry Pi, and Laptop to serve a website in a classroom. "The internet in a suitcase"

Our trainers experience bad internet connections at some schools. I would like to provide them with a "mobile" (as in take it on the train) version of our platform running on a laptop, which the students can connect to directly via a private WiFi…
4
votes
1 answer

AWS: Getting a server to pickup changes to VPC DHCP options

I have an AWS VPC that by mistake had the default DHCP option set cleared. As a result I have a handful of servers that have the wrong (unresolvable) hostnames and missing settings in /etc/resolv.conf. I have fixed the VPC to use the default DHCP…
herbrandson
  • 163
  • 5
4
votes
1 answer

Why is the DNS Server not updating with dynamic updates from the DHCP server?

I'm using Dock to create Windows containers that are visible to the LAN via a transparent network. The container get's it's IP from our (Windows) DHCP server. Everything works fine except that the DNS Server that serves our network does not update…
Sven Niehus
  • 143
  • 1
  • 1
  • 7
4
votes
0 answers

Windows DHCP Server not responding to relay requests

I have a Windows Server 2016 (Datacenter Core) running DHCP server role which is not responding to DHCP requests which come from a DHCP relay but is responding to DHCP requests on the local network. The server running the DHCP role has an ip address…
digitalPhonix
  • 83
  • 1
  • 2
  • 6
4
votes
3 answers

A Linux DHCP server that will listen on an non-broadcast (tap) interface?

Are there any Linux DHCP servers that will listen to what Cisco calls an "unnumbered" interface, or what others might call a "NBMA" (non-broadcast) interface. I have a Linux system that connects to a number of others using GRE tunnels. The machines…
TomOnTime
  • 7,945
  • 6
  • 32
  • 52
4
votes
0 answers

DHCP Server Listing Host as "BAD_ADDRESS" and not Registering DNS

Question Why is DHCP showing "BAD_ADDR", why does it think there is a Conflict, and why can't the host register its DNS name? Devices: DHCP Server = Server 2012 on bare metal. Also running DNS. Host = Ubuntu 16 Server on ESXi. For testing…
4
votes
9 answers

Prevent unauthorized users from gaining network access?

Just curious: How do people "lock down" their network to prevent unauthorized devices from gaining network access? Is it different in a DHCP vs. static IP network? What about Windows AD managed? Edit: I'm not trying to prevent anything per se. Just…
Matt Rogish
  • 1,512
  • 6
  • 25
  • 41
4
votes
2 answers

How can I automate the DNS flush?

I am having couple of Virtual machines . Few applications are using the HOSTNAME in their configuration files to contact these machines. Everything was running fine and all happy! until application stopped connecting to VMs or services in VMs using…
kudlatiger
  • 361
  • 2
  • 5
  • 18
4
votes
1 answer

Why does a DHCP-provided DNS IP address becomes a static one in Windows 10?

I have a Windows 10 machine which often changes networks and retrieves its IP configuration via DHCP. Since an indefinite moment in the past it started to set its DNS as fixed, despite the fact that they are retrieved via DHCP: The initial setting…
WoJ
  • 3,607
  • 9
  • 49
  • 79
4
votes
1 answer

Does a Windows host correctly interpret dnsmasq parameters?

I have a network of Windows 10 machines served (DNS and DHCP) by a dnsmasq instance on a Ubuntu server (Ubuntu 15.10, dnsmasq 2.75). The setup basically works (dnsmasq provides addresses and manages DNS requests correctly) except for one specific…
WoJ
  • 3,607
  • 9
  • 49
  • 79
4
votes
1 answer

Windows Server 2012 Failover DHCP

I've been tasked with migrating from our current 50/50 scope resilient DHCP servers to new hot standby failover DHCP in Server 2012 R2. Built a test bed with the two DHCP server VMs and created a failover relationship between them. Created a few…