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

Having a domain controller on the same network as a wireless router

I have a win server 2k3 machine as a domain controller and a dhcp server. All of the wired machines work fine connecting to the domain controller and authenticating but the users that connect to the wireless router (and get their IPs from there)…
Steven Evers
  • 673
  • 5
  • 9
  • 23
3
votes
2 answers

Connecting two LANs with VPN

I am managing the network of two schools, each one with different static public ip for internet (two routers) and ~30 computers. I want to connect the two LANs since in the main building there is a Debian server with a DHCP+DNS that should assign…
3
votes
3 answers

How to list DHCP options sent to a client from a DHCP server in Windows?

How does one list the options that are sent to a client from a DHCP server in Windows? Using PowerShell or the command line?
leeand00
  • 4,869
  • 15
  • 69
  • 110
3
votes
1 answer

Can I prevent Debian from hitting DHCP server twice during installation?

I have a DHCP server used to do unattended installations of Debian: boot from PXE, and then install the operating system with a preseed. The DHCP server (Debian's isc-dhcp-server package) is configured to do an operation (do an HTTP POST) when…
Arseni Mourzenko
  • 2,275
  • 5
  • 28
  • 41
3
votes
0 answers

DHCP Server not responding to relayed DHCP DISCOVER

I'm currently segmenting our network in various subnets. We already have a DHCP server as a part of our Active Directory (Server 2012). I want to use this server for all subnets so I need to work with a DHCP Relay Agent. The Network is going to be…
davidb
  • 246
  • 1
  • 5
  • 16
3
votes
2 answers

static network setup still using DHCP

I'm configuring an Ubuntu 14.04LTS server on our internal network. Everything works and runs as expected. Its assigned a static IP, here's /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback # The primary…
3
votes
1 answer

libvirt: set hostname using dhcp in virtual network

I've configured a host-only (aka private) network for a group of VMs on a CentOS 7 host. I've created static leases in the DHCP section for the virtual network. The IP address is getting set correctly, but the hostname is ignored. Instead, it's…
orodbhen
  • 181
  • 9
3
votes
1 answer

Search option in resolv.conf getting overwritten by prepend statement in dhclient.conf

I have setup a DNS server for my department which is running FreeBSD 10.2. It is currently connected to the campus internet and receiving its address via dhcp, so /etc/resolv.conf looks like this: #Generated by resolvconf search ttu.edu nameserver…
Chuck
  • 31
  • 2
3
votes
2 answers

How to generate DHCP Decline scenario / packets

I have a dhcp packets sniffer, which needs to log if it sees dhcp decline response coming from client.I need to know the scenario where client can send dhcp decline response to dhcp server. I tried to get this reproduce by minimizing small range of…
user2589882
  • 51
  • 1
  • 3
3
votes
1 answer

How to create DHCP reservations with long hardware address?

DHCP is managed by a Windows 2008r2 server. I want to convert a lease into a reservation so the IP will be fixed. Normally, I create a reservation based on the assigned IP address, and when the lease expires, it uses the reservation. Most of my…
tim11g
  • 425
  • 5
  • 11
  • 21
3
votes
1 answer

Install DHCP failover on domain controllers vs member servers?

What is the recommendation for installing DHCP failover; domain controllers or member servers? I can't seem to find any recommendations either way. I did find an old question here pertaining to security suggesting DHCP should never be on a Domain…
3
votes
0 answers

Did I cause this DHCP failure?

I asked this here, it was requested that I move it to this forum instead. I have a question that I need some counsel on concerning DHCP and what may happen in a certain situation. I have a case where a DHCP server started handing out IP addresses…
Sabre
  • 425
  • 2
  • 15
3
votes
1 answer

Authentication and logging of users for a Wireless ISP?

I have to upgrade a Wireless ISP's (WISP) network. Their current setup consists of a router (Mikrotik RouterBoard 1100AHx2), Ubiquiti Rockets (with sector antennas) for clients, and Ubiquiti NanoStations for client CPEs. Their security consists of…
hjf
  • 181
  • 1
  • 2
3
votes
2 answers

How to configure dhclient on CentOS to get IP from a specific DHCP server

I have a situation where I am able to launch CentOS 6.6 images on a subnet such that the VM instances get their IP addresses from the virtual gateway of the subnet. Now this gateway has gone wonky and I don't have the access to fix it, so I have set…
xkcd
  • 444
  • 3
  • 7
  • 16
3
votes
0 answers

Assign a public ip to openvpn client

For learning purposes, I'm trying to set up openvpn server, so that each connected client would get a unique public ip address. I have a vps server and I ordered extra 8 static ips and they are rerouted to the vpn server. What I have so far: -…
Moataz Elmasry
  • 153
  • 1
  • 6