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
5 answers

How is DHCP request message broadcasted?

The broadcast address of DHCP request message is 255.255.255.255. Will this request message go through routers? It seems to be yes as the destination address is 255.255.255.255. However, it does not sound logical, because if the DHCP request message…
ZHOU
  • 155
  • 1
  • 1
  • 7
4
votes
3 answers

How to set hostname.domainname from dhcp

Running Centos 6.x using dhcp, we want to set the hostname to be FQDN that's obtained from a combination of dhcp options. As an example if I have two dhcp options option host-name "foobar"; option domain-name "mydomain.com"; When a client…
Eugene
  • 41
  • 1
  • 1
  • 2
4
votes
2 answers

What would cause a PBX or SIP phone to not register on the network when using Netgear Switches?

We have 3 different types of switches in our network. All of our IP Phones are running on HP 2520-24 PoE switches. Our primary backbone is "supposed to be" running on Netgear GS748T switches. Our OLD switches are Dell PowerConnect 2848. These…
Chase Florell
  • 580
  • 3
  • 14
  • 29
4
votes
1 answer

Static to DHCP, bat file

I have this code (.bat file) that I want to run by going to each computer that is logged in and executing it. However, not all users have admin rights. Is there anything I can do without logging off to change the IP's from static to DHCP? netsh…
Markaway
  • 178
  • 1
  • 11
4
votes
6 answers

PXE Boot - Linux server & OpenBSD client

I have an old machine here I'm trying to setup as a diskless client running OpenBSD, booting from my fedora 10 machine. I've setup tftp and dhcp and both appear to be correct, yet the client just timesout trying to load the pxeboot. #…
theotherreceive
  • 8,365
  • 1
  • 31
  • 44
4
votes
1 answer

Can not authorize DHCP server

I have run into a strange DHCP problem. The thing is the service is running, but the DHCP is not authorized. However, when I try to do it by right clicking, the option to authorize is not there - I can only choose to unathorize it. (Sorry, can't…
Sandokan
  • 514
  • 1
  • 6
  • 17
4
votes
1 answer

Check DHCP Option content

Is it possible DHCP client check the contents of an option ? I need provisioning a Linux server with DHCP option 140 (option-140). But the server behaves as if the DHCP did not contain the information. In the file…
4
votes
3 answers

Local DNS server (bind) and the router DHCP

I just set up an internal http server for internal use (I set up Redmine), in a small network (30 or so PCs). I set up the http server on a virtual box ubuntu, that runs also the DNS server (bind). In the DNS lookup I added the Redmine server name…
Luca
  • 49
  • 1
  • 1
  • 2
4
votes
4 answers

Process for configuring network settings on a headless rack mount device

I'm with a small company that plans to sell a rack mounted network appliance which is configurable via a web interface (think of a router configuration page sort of deal), and I'm wondering in large data center like environments what the process…
PherricOxide
  • 143
  • 4
4
votes
4 answers

How can I assign DHCP leases from a script?

I have an environment where there is one DHCP server servicing a number of different hosts/vlans. The switches are configured to forward the DHCP requests over (via ip-helper) and include information about the port (option 82). I'd like to take…
devicenull
  • 5,622
  • 1
  • 26
  • 31
4
votes
4 answers

DHCP in Windows 2003/2008 DC or in Router?

For a small Active Directory managed network (say 30-50 DHCP clients) should I have a domain controller (and then somehow another one as a failover) hand out IPs via DHCP or should I just let my router do it? Just an update, fyi: We have two…
4
votes
3 answers

Multiple IPv6 addresses being assigned to single interface

I'm configuring a DHCP scope for IPv6, however all my clients are getting 2 or more IPv6 addresses assigned to the interface. I'm using fda8:6c3:ce53:a890:/64 as the prefix. The scope is on a machine running Windows Server 2008 R2 however I'm…
4
votes
2 answers

How do I force all devices on a network to register with IT before connecting, without vulnerability to Static IP-ing or MAC spoofing?

Context: I'm an admin for a midsize corporate network with several overlapping wireless access points and an ethernet cabling infrastructure. To comply with a security audit, we were recently ordered to implement full device authorization on the…
Zac B
  • 841
  • 1
  • 15
  • 27
4
votes
0 answers

vmware DNS in host-only configuration

I want to connect a Linux VM running in VMWare on a Windows 7 laptop to an enterprise network using host-only configuration. I was able to setup bidirectional routing between "host-only" VMWare network and the enterprise network. If I add DNS…
nponeccop
  • 354
  • 3
  • 16
4
votes
3 answers

DNS servers assigned by DHCP reverting to old addresses, for entire site

We recently had to perform a disaster-recovery fail-over from our main site, which involved changing the IPs at which our main office Domain Controllers (which also serve DNS) reside. It went off well enough, considering, but in the process we…
HopelessN00b
  • 53,795
  • 33
  • 135
  • 209