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
4
votes
1 answer

Assign DHCP IPs for specific MAC prefixes on Windows Server 2008 R2

I'm running Windows Server 2008 R2 for my DHCP server. We are about to switch over to a VoIP system and Cisco VoIP phones. I would like to assign a specific range of IPs to these phones which will have a common MAC prefix (ex. 00:01:02). I would…
Daniel B
  • 113
  • 1
  • 8
4
votes
2 answers

Redirect all DNS-Requests with dnsmasq

I have following scenario: I have set up an ad-hoc network with wicd on my server, and use dnsmasq as an dhcp- and dns-server. The network works very well, I can connect, get an ip address, and on all clients the nameserver is set to the IP of my…
Moe
  • 143
  • 1
  • 1
  • 3
4
votes
3 answers

Does the OS X DHCP client support classless static routes (RFC3442)?

Simply put: does Mac OS X support RFC3442? RFC3442 implements DHCP codes (121 and 249) to provide classless static routes to DHCP clients. I can only seem to find rather old information circa 2005-2008 which implies that OS X does not support…
rthomson
  • 1,059
  • 9
  • 14
4
votes
3 answers

How do I setup multiple DHCP ranges for a single office?

I need to setup a lab network in our office that are on a different range of IPs. How do I distinguish the computers on the lab network from our corporate network so that the DHCP server knows to give these a different IP? Our DHCP server is running…
Luniz
  • 379
  • 4
  • 7
  • 18
4
votes
5 answers

DHCPDISCOVER requests from an off-by-one MAC address

In a Linux DHCP server I'm getting a bunch of these log lines: dhcpd: DHCPDISCOVER from 00:30:48:fe:5c:9c via eth1: network 192.168.2.0/24: no free leases I don't have any machines with 00:30:48:fe:5c:9c and I don't intend to give out an IP to…
Aleksandr Levchuk
  • 2,465
  • 3
  • 22
  • 41
4
votes
2 answers

How to use auto-discovery with iDRAC Enterprise?

All I want to do is: have "auto discovery" enabled on my iDRAC enterprise at the factory rack the server, cable iDRAC to dhcp-enabled management network have the iDRAC DHCP, find the "Provisioning Server", and get updated with login credentials…
jwiz
  • 166
  • 1
  • 4
4
votes
7 answers

'Slow down' A DHCP server on purpose

As the title implies, May look like a silly question, But what i'm trying to do, Is to have 2 DHCP servers in one network. One only leases IPs to Bootp clients (And if the client re-requests immediately after leases again) And one DHCP server, which…
Ced
  • 41
  • 1
  • 3
4
votes
0 answers

Windows 7. DHCP option 121 works partially. But it working fine for XP and Mac OS X

I've setup pptp server on cisco router today. The remote client IP addresses are assigned on this cisco router by DHCP. Also I set up option 249 and 121 to provide classless routing for my VPN clients. Option 249 and 121 used for two routes:…
pchel
  • 151
  • 1
  • 2
  • 6
4
votes
5 answers

Determine switches between devices on LAN

I'm on a network where most devices are DHCP. If I have a few switches between device A and a DHCP server, how can I find out what they are? traceroute just gives me 1 hop, regardless of the number of switches between device A and the DHCP server.
4
votes
4 answers

Linux bind server serves address of DHCP Windows clients, but not of DHCP Linux clients

I have a Linux Fedora server running Bind 9.5.0 and DHCP 3.0.6. Bind is configured to allow updates (I'm only showing part of the config, but the reverse part is there too): zone "myhome.org" IN { type master; file "named.myhome.org"; …
Eddie
  • 11,432
  • 8
  • 37
  • 48
4
votes
2 answers

Can I set DHCP Reservations in a Windows DHCP server from a Linux node?

I have a nice set up in my unixland where I have all my host information (names, IPs, mac addresses) in DNS and the associated NIS maps. This makes it easy to write a script which can generate a file containing DHCP lease reservation information,…
David Mackintosh
  • 14,293
  • 7
  • 49
  • 78
4
votes
2 answers

Sharing an IP pool for two openvpn instances (one TCP and one UDP)

I'm currently running OpenVPN on my VPS, listening on port 1194 via TCP. I need to use TCP since I sometimes need to tunnel traffic over an HTTP proxy. However, I'd also like to be able to use UDP, which should be faster. However, I don't want to…
Mikeage
  • 2,741
  • 6
  • 26
  • 37
4
votes
3 answers

Use wakeonlan by hostname rather than MAC/IP

I'm setting up a cluster and can wake up individual machines with the command wakeonlan -i 192.168.1.255 [MAC Address] I'd like to be able to do this by hostname instead of MAC, but the config file for wakeonlan only seems to offer IP <-> MAC…
Pengin
  • 253
  • 4
  • 8
4
votes
4 answers

PXE boot and DHCP server configuration Failing Auto Installation

I have a ISC DHCP Server installed on Ubuntu 9.10 . I have managed to successfully boot a PXE client , obtain a DHCP address and load the initrd.gz file. But I am facing a vague problem when the debian installer starts up and tries to get a DHCP…
4
votes
2 answers

How do I get a Mac to request a new IP address from another DHCP server running in parallel while NetBooting?

I have an interesting situation. I'm trying to us a Linux based machine to allow Mac's to Netboot (similiar to PXE boot) by running a DHCP service in parallel with the "global" DHCP server. The local DHCP server hands out IPs in a private subnet,…
user13654
  • 46
  • 1
  • 4