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

How does a router get its IP address assigned?

I understand how a device connecting to a router (e.g. 72.73.74.75) gets assigned a local IP address (e.g. 192.168.1.5) using DHCP. BUT, how does the router itself get the IP address assigned from the ISP in the first place? How does it make sure…
Justin Hou
  • 75
  • 1
  • 2
6
votes
4 answers

Gateway gets stripped from DHCP Reply through OpenVPN tunnel

I have a bridged OpenVPN setup. This is my server config: port 1194 proto udp dev tap0 ca /etc/openvpn/easy-rsa/keys/ca.crt cert /etc/openvpn/easy-rsa/keys/server.crt key /etc/openvpn/easy-rsa/keys/server.key dh …
Compizfox
  • 384
  • 1
  • 6
  • 18
6
votes
0 answers

DHCP Server Not Offering to PXE Client

DHCP Server Not Offering to PXE Client BACKGROUND: I'm in the process of adding PXE services to an existing SCCM 2007 server. The SCCM server is separate from the DHCP server (Server 2008 x86) and did not have PXE services or WDS installed. I…
Colyn1337
  • 2,397
  • 2
  • 23
  • 40
6
votes
4 answers

Force DHCP Reservation Updates to Secondary DHCP Server in Windows Server 2012 R2

I have setup and configured two DHCP servers on my private network in load balancing mode as outlined in the following technet article: http://technet.microsoft.com/en-us/library/dn338979.aspx Both VM's are running Windows Server 2012 R2. Since the…
KabanaSoft
  • 181
  • 1
  • 1
  • 3
6
votes
7 answers

Which device should I use as DHCP server?

In our administrative building we have a network with around 150 workstations. Till now I used fixed IP address giving the specific department one range in same address. Etc in marketing I had 192.168.1.2X, in sales 192.168.1.3X, servers are with…
adopilot
  • 1,521
  • 6
  • 25
  • 41
6
votes
1 answer

DHCP Server only remembering one lease

I have a Server 2008 R2 DHCP Failover Cluster that serves two VLANs - an office network and a guest WiFi network. Both of the members of the failover cluster are virtual machines (ESXi) and use the iSCSI Initator inside the VM for their shared…
Mark Henderson
  • 68,823
  • 31
  • 180
  • 259
6
votes
1 answer

Can a laptop's hostname be associated with both of its interfaces?

I administer the network in my (very small, ~110 students) school. We have a Windows Server 2008 R2 Standard server, and we use Windows 7 Professional. We have ~10 workstations and 5 laptops, the latter of which connect sometimes over Ethernet, and…
Micha
  • 250
  • 3
  • 8
6
votes
3 answers

Is it possible to detect Android and iOS devices based on DHCP requests?

I want to configure DHCP server in a way that it puts "regular" smartphones and tablets into a separate subnet. Is it possible to detect if the DHCP request comes from an Android or iOS device based on the DHCP request itself? For example: a Sony…
abbot
  • 233
  • 1
  • 2
  • 9
6
votes
3 answers

Can ISC DHCPD operate as a Proxy DHCP server for PXE boot?

I have an existing LAN with a DHCP server already dishing out IP addresses. For various reasons I cannot replace that server so it will still need to dish out IP addresses. I've been experimenting with Dnsmasq in Proxy mode to provide PXE boot…
hookenz
  • 14,472
  • 23
  • 88
  • 143
6
votes
3 answers

DHCP server for multilple VLANs

Possible Duplicate: Can I have multiple DHCP servers on one network? This is a very old question i guess.In this forum itself it has been answered in Multiple VLANs, multiple subnets, single DHCP server?.That is done on using the Helper options…
nachi
  • 61
  • 1
  • 1
  • 2
6
votes
3 answers

SLAAC and DNS, no really - what's the deal?

So I know that there are extensions to SLAAC in the works to enable DNS discovery via RAs (RFC 6106). But what was the original intent? How did the IPv6 designers envision things working without DNS? Why did multicast DNS get dropped from…
bab
  • 443
  • 2
  • 6
  • 12
6
votes
2 answers

Sending DHCP specific vendor options to a Windows server

My goal is send some information (url and a one-time token) to a windows machine. It's working fine for GNU/Linux servers because I get the information from /var/lib/dhcp/dhcp.lease or similar. This is my setup: dhcp server (GNU/Linux server): host…
Seoman
  • 243
  • 1
  • 3
  • 11
6
votes
1 answer

Fixed and dynamic IPs in ISC DHPD lead to double lease

I would like to have a small dynamic adress part and the most clients are assigned a fixed IP adress. My dhcpd.conf looks like this: use-host-decl-names on; authoritative; allow client-updates; ddns-updates on; # Einstellungen fuer DHCP…
GorillaPatch
  • 487
  • 3
  • 9
  • 19
6
votes
5 answers

DHCP: Logging host declarations in log file

I am currently running ISC-DHCP server v3 on Ubuntu 8.04. What I am trying to do is log Who got what IP address when. Currently in the DHCP log file you can see the following: DHCPDISCOVER from d0:50:56:ac:74:71 via eth0 DHCPOFFER on 208.x.x.75…
jinanwow
  • 443
  • 6
  • 15
6
votes
5 answers

Host DHCP services on server or firewall/router?

I've been debating with myself about the best place for hosting a LAN's DHCP services. I have the option of either on a sonicwall firewall or a Windows 2008 server. The two things I was looking for in addition to just handing out IP addresses were…
Force Flow
  • 1,165
  • 5
  • 23
  • 45