Questions tagged [dhcp-server]

A DHCP server is a program to hand out Dynamic Host Configuration Protocol leases.

Ethernet can be configured staticly or dynamically.

Static means that we enter the IP on the host containing the NIC.
Dynamic means we broadcast on the local network and ask for this information.

The program answering these question request is the DHCP server.

201 questions
28
votes
3 answers

How to find my DHCP server IP address via a command prompt in Windows?

Linux has easy commands to find the DHCP server IP address via a command prompt. Is there anything for Windows?
helloworld
16
votes
5 answers

Can a computer running a DHCP server assign its own IP address?

Can a computer running a DHCP server assign its own IP address, or does it have to be set statically? If this is a question which depends on the DHCP software, then my configuration is a Debian server running PiHole.
user3728501
  • 3,404
  • 9
  • 39
  • 54
15
votes
3 answers

Does a DHCP server really check for conflicts using "ping"?

I read the following excerpt in a CCNA prep book and it doesn't sit well with me: So during IP address assignment, a DHCP server checks for conflicts using the Ping program to test the availability of the address before it's assigned from the pool.…
Mike B
  • 2,720
9
votes
1 answer

Running two DHCP Servers in the same network

I have connected my raspberry pi with a wireless access point and would like to run a DHCP Server on the RPi to assign the IP and gateway correctly. This is because the RPi serves as a gateway to a VPN. Unfortunately, the access point also runs a…
bonanza
  • 254
9
votes
1 answer

Executing a script when DHCPD give an IP

i want to do a setting to dynamically monitor my Work Station on my Wifi network. I've got my name server BIND and my dhcpd server all of that under linux working perfectly. But i didn't find any option to execute a script when dhcp give an IP to a…
Louis
  • 2,770
9
votes
1 answer

Can I configure my Windows 10 PC as a DHCP server on a local switch?

I'm creating a local network that I would like to have DHCP capability. I have a primary Windows 10 PC that will be on the local network full time. Is it possible to configure this PC as a DHCP server when other PCs connect to the local network? I'm…
Izzo
  • 247
8
votes
1 answer

How to create a wifi hotspot in Windows 7 + redirection to a local webpage?

Before diving into the question, some quick background information: I have built a small experiment which works together with a computer running Windows 7. On this computer, there is a small webserver serving a webpage continuously updated with…
8
votes
1 answer

What's better RADVD or DHCPv6 for local network with IPv6?

I want to enable IPv6 on my network. TP-Link gives me two ways to get IPv6 on my network: RADVD and DHCPv6. Which is the best solution? And if RADVD is better, should I enable RDNSS and ULA?
MAX
  • 83
6
votes
3 answers

dhcp option 252 what is it?

All over the internet I see example of how to set up dhcpd with WAPD proxy auto configuration using DHCP. In the /etc/dhcpd.conf file there are statements like this: option wpad code 252; "http://wpad.url"; option wpad code 252 = text; …
nelaaro
  • 14,139
  • 30
  • 88
  • 115
6
votes
2 answers

Finding for duplicate active DHCP servers on local network

I'm experiencing weird behaviour in our local network. We have two devices, which gets the same IP address. After investigation I have found the IP address is out of range configured on our primary DHCP server on router. I have scanned network with…
Thugmek
  • 95
5
votes
2 answers

How do I use a single wireless adapter for both an access point and client on Raspberry Pi?

I have been able to create a wireless access point on my Raspberry Pi using a USB Wi-Fi dongle using hostapd on wlan0. What I would like to be able to do is have the access point be on some virtual interface (i.e. wlan0:1) or vlan (wlan0.123) and…
Gabe
  • 171
  • 1
  • 1
  • 5
5
votes
2 answers

How does DHCP distribute or choose which IP to give within the scope?

There is something strange happening with my OpenWrt firmware. The scope for my DHCP is 100 to 250 in the 192.168.1.* range but the first IP it gave is 192.168.1.189. Is there any reason it started from 189? Can it be random? I'm sure I have some…
Rushino
  • 654
  • 3
  • 8
  • 16
4
votes
3 answers

How could I fix "No subnet declaration for restart (0.0.0.0)"?

I have a DHCP service installed on my distribution, Backtrack 5 R2 (ubuntu 10.04) and it was working fine, but when I began to configure DNS it suddenly stoped working, how can I make it work again?? The dhcp.conf file: ddns-update-style…
poz2k4444
  • 914
4
votes
1 answer

Stateless IP being assigned instead of DHCP address

Here is the information: Host link IP: fe80::9eec:b32d:855c:5589 Server link IP: fe80::f03c:91ff:fe11:96c4 Host global IP: 2601:aaaa:bbbb:cccc:1854:46d6:c2f9:e727 (Ugh!) Server global IP: 2601:aaaa:bbbb:cccc::1 Server has routed block for…
ts90
  • 185
3
votes
2 answers

Which server is selected by the client if it receives Offer from 2 DHCP servers at a time?

Which server's IP address is selected if the client receives the Offer from 2 DHCP servers (on different subnet) at a time? I searched Google and the answer I got is: which Offer comes first will be selected by the client. But my doubt is: what if…
user3017432
  • 31
  • 1
  • 2
1
2 3
13 14