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

Non-secure DNS server - Allow dynamic updates only from DHCP server

I have a standalone DNS server configured for "Secure and Non-Secure" dynamic updates. I also have the DHCP role installed on the same server. How do I ensure that only the DHCP server can update records in DNS? I don't want to allow clients to…
4
votes
1 answer

DHCP: Create a scope within a scope

Before I joined the company I am currently working for, they set up a scope to encompass the 10.2.0.0/18 range of IP addresses (10.2.0.0-10.2.63.254). I was recently tasked with adding reservations to DHCP so that the entire 10.2.26.0/8…
MotoDave452
  • 277
  • 7
  • 16
4
votes
1 answer

ISC DHCP Server "Dynamic and static leases present"

i have a problem similar to Fixed and dynamic IPs in ISC DHPD lead to double lease In my DHCP-Log I often receive warnings like Jan 21 10:20:56 dc2 dhcpd: Dynamic and static leases present for 192.168.1.107. Jan 21 10:20:56 dc2 dhcpd: Remove host…
user333163
  • 73
  • 1
  • 1
  • 8
4
votes
0 answers

Cannot renew DHCPV6 lease in SLES12

I need to renew the lease of a certain SLES12 box. The machine is configured to use IPv6 only and so far I have tried the following: From here: dhclient6 -r -v eth0 && rm /var/lib/dhcp6/dhclient* ; dhclient6 -v eth0 Other attempts: rm…
Ivan Kalchev
  • 149
  • 1
4
votes
3 answers

Debian 8 resolv.conf overwritten by IPv6 autoconfiguration/DHCP when DHCP disabled

I have recently installed Debian 8 on a network with IPv6 DHCP Enabled. /etc/resolv.conf is being overwritten by the IPv6 DHCP entires continually despite the fact that all IPv6 DHCP is disabled, autoconfiguration of IPv6 is disabled, and no…
4
votes
2 answers

WiFi access point without internet access - iOS devices disconnect

I'm trying to configure a WiFi access point to offer a web service on the local network, without offering clients internet access. The web server has a fixed IP address (let's say 192.168.2.2) and for user friendliness a local dns server assigns it…
Tim Raasveld
  • 41
  • 1
  • 2
4
votes
3 answers

How to register hostname via DHCP?

I am a software developer and I am working on the develpoment of a network device (SIP phone). When it boots up, I want it to register a domain name on our network so that a customer can easily browse to the web interface. I have talked with the…
chrish
  • 143
  • 1
  • 1
  • 6
4
votes
0 answers

VLAN ID over DHCP for Management Interface of Fortinet FortiAP

When configuring the FortiAP device it's desirable to configure the VLAN ID for the tagged management network. Accordingly to the manual it's possible to do so by "telnetting" to the FortiAP device and setting the variable AP_MGMT_VLAN_ID by…
Vinícius Ferrão
  • 5,520
  • 11
  • 55
  • 95
4
votes
2 answers

Debian Jessie : dhclient always active

On fresh installs of Debian Jessie, after I set a static ip address, the DHCP client is still active. It even revert back to the dhcp ip address when the lease is renewed. step 1: I modify /etc/network/interfaces: source…
Gregory MOUSSAT
  • 1,673
  • 2
  • 25
  • 50
4
votes
1 answer

Can vSphere PowerCLI cmdlets execute from a PS1 file?

I'm looking to write an admin script that will: Delete a VM from vSphere Delete the VM's DNS entry Release the VM's IP address with our Windows DHCP server I can accomplish the first item via vSphere's PowerCLI, and I can accomplish the last 2…
smeeb
  • 211
  • 1
  • 5
  • 13
4
votes
1 answer

How can I block all traffic to/from an bridged interface while allowing DHCP?

I have a PC (running Fedora 20) that is being used as a "software switch" to control the network connectivity of some external devices. There are eight such devices; the PC has two 4-port Ethernet cards in addition to its own Ethernet connection to…
Allan Lewis
  • 143
  • 1
  • 1
  • 3
4
votes
2 answers

Can a PXE+DHCP server exist on one network and boot machines on another?

I have a PXE+DHCP server creaed using syslinux and already running on a private network segment (198.19.99.xxx).. I want to know if this PXE+DHCP server can be configured to boot machines over another network segment (172.16.87.xxx)? If the two…
Yohan
  • 41
  • 2
4
votes
2 answers

Prevent Windows Server 2012 from using DHCP-provided default gateway?

How can I prevent Windows Server 2012's local network connection from using the default gateway provided by a DHCP server? I do not control the DHCP server so the solution must be implemented on the client machine. I remember registry entries…
c200162
4
votes
3 answers

VMware ESXi: dynamic registration in DNS fails

I installed an ESXi server 5.5 in our test lab. Everything runs fine, the VMs I host on the server are able to do dhcp and get registered in the DNS. But I am unable to register the ESXi host itself. It gets an IP address via DHCP but I can't…
Marged
  • 213
  • 1
  • 2
  • 10
4
votes
3 answers

How to make sure clients use only the IP assigned via DHCP

We want to limit the users' Internet usage on a daily traffic basis but not the local network bandwidth. Our users are on different platforms (Windows, Android, IOS), therefore it is not possible to force any policies by e.g. Active Directory, and…
MiM
  • 106
  • 1
  • 9