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

Libvirt networking: Set default gateway for guest VMs via DHCP

Is it possible to set a default gateway for the guest VMs via DHCP in libvirt? I have the following config
BluesSolo
  • 133
  • 1
  • 6
3
votes
2 answers

How to add another address range to DHCP server

Short version Long Version Window Server 2012 DHCP server is currently configured as: Subnet: 10.0.x.x (e.g. 10.0.0.0/16) Dynamic IP Range: 10.0.0.12 - 10.0.0.120 This is done to limit dynamically assigned addresses to a small range on the…
Ian Boyd
  • 5,293
  • 14
  • 60
  • 82
3
votes
1 answer

How does DNSMasq integrate with my router?

Context I've successfully installed DNSMasq on a Debian machine and everything seems to be working. Here's what I did: install DNSMasq with sudo apt-get install dnsmasq update file /etc/dnsmasq.d/home.dns with the following contents: # General…
Panos
  • 45
  • 1
  • 2
  • 4
3
votes
3 answers

What happens to DHCP sessions on client devices when the DHCP server breaks down and comes online after an interval?

Scenario: I use DHCP server to authenticate and provide specific services to my device. Everything is working well, my client device has a valid IP address 192.168.0.2 and a QoS service assigned by the DHCP server. My DHCP server breaks down,…
fortnite_v4
  • 31
  • 1
  • 2
3
votes
2 answers

How does a client choose between two DHCP servers in the same network?

I read on netacad that there may be more than one DHCP servers in the same network and I was wondering, how does the client choose between them? Does the client choose the one that sends the DHCPOFFER first or there is something else?
lor
  • 31
  • 1
  • 1
  • 2
3
votes
1 answer

Windows 10 DHCP Client and RFC 3397 (a.k.a. DHCP option 119, Domain Search Option)

Using DHCP option 119, Domain Search Option as documented in RFC 3397 would make my life a lot easier. All the Linux-Machines on my network have supported this option for quite a while, but unfortunately I also have to take several Windows machines…
Antagonym
  • 41
  • 1
  • 6
3
votes
1 answer

Windows RRAS VPN failing to set options on Mac L2TP clients due to DHCP relay discarding packets

When setting up an L2TP VPN service for remote access on Windows Routing and Remote Access, we ran into an odd problem with setting options on the connecting clients. The way to provide these settings to L2TP clients in RRAS in through DHCP (MS…
Shane Madden
  • 114,520
  • 13
  • 181
  • 251
3
votes
2 answers

Block DHCP traffic for one device/mac address

I have a network with a central router that runs dd-wrt. Connected to it are several enduser devices. One port however is reserved for a special device that runs a DHCP server. I call it special because I cannot turn DHCP off on it. Actually though,…
PiMaker
  • 151
  • 1
  • 5
3
votes
3 answers

Same or separate subnets when connecting two buildings via a wireless bridge

We have two buildings about 200 feet apart connected via SMC's outdoor wireless bridge. Currently, both buildings are on the same subnet with one DHCP server in the main building. This seemed to be the easiest way to setup our network so that…
Matthew Rankin
  • 1,175
  • 5
  • 15
  • 32
3
votes
2 answers

DHCP and DNS services configuration for VOIP system, windows domain, etc

My company has numerous physical offices (for purposes of this discussion, 15 buildings). Some of them are well-connected to our primary data center via fiber. Others will be connected to the data center by P2P T1. We are in the beginning stages of…
aNullValue
  • 447
  • 5
  • 10
3
votes
3 answers

PowerShell: Convert string of comma separated IPs to IPAddress object

I'm working with the Get-DhcpServerv4Scope cmdlet and am looking to pull multiple scopes into a variable with the -scopeid switch. Get-DhcpServerv4Scope -scopeid 10.1.0.0,10.1.1.0 However if I do: $IP = "10.2.0.0,10.1.0.0" Get-DhcpServerv4Scope…
Adam Turner
  • 31
  • 1
  • 3
3
votes
1 answer

dnsmasq not responding DHCP requests that don't follow a DHCP discover

I have an instance of dnsmasq running on network namespace X, and I run dhclient (or any other dhcp client) from within network namespace Y to obtain an IP address on a given interface. The two network namespaces are on the same openvswitch bridge,…
Ricky Robinson
  • 215
  • 1
  • 5
  • 20
3
votes
1 answer

Why DHCP relay offers are sent back to GIADDR and not source?

Given this network [DHCP Client] | (172.16.0.1) [DHCP Relay Agent] (10.1.0.2) | (10.1.0.1) [DHCP Server] Where the DHCP Server has a pool for 172.16.0.0/16, when the realy-agent relays the client request to the server, the…
3
votes
2 answers

Server 2012R2 DHCP & DNS Updates

I have the following DNS settings configured on an DHCP scope: My question is, will the DNS entry be made against the DNS server that the DHCP is configured to go against or will it update the DNS server of the underlying client of the DHCP…
duhaas
  • 235
  • 2
  • 8
3
votes
1 answer

How to enable DHCP for "br0" device for qemu?

I've created a Windows XP image and I'm booting it with qemu. I'm using qemu-bridge-helper to to setup networking. Following qemu totorials, I've configured /etc/qemu/bridge.conf to allow br0 bridge device. This is how I boot Windows XP with…
Boda Cydo
  • 405
  • 2
  • 7
  • 14