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.

188 questions
27
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
14
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,660
  • 14
  • 41
  • 59
14
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
  • 2,486
  • 6
  • 28
  • 46
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
  • 244
  • 1
  • 3
  • 9
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…
Federico
  • 1,060
  • 1
  • 10
  • 17
8
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,574
  • 3
  • 17
  • 14
8
votes
1 answer

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

today I got a new router and now I want to enable IPv6 on my network. But the thing is I don't know what the better option is since TP-Link gives me two ways to get IPv6 on my network. The first option is RADVD and second option is DHCPv6. Now my…
MAX
  • 83
  • 1
  • 1
  • 3
7
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
  • 217
  • 1
  • 4
  • 9
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
  • 161
  • 1
  • 1
  • 4
5
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
  • 13,149
  • 30
  • 84
  • 111
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
  • 634
  • 3
  • 8
  • 15
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
  • 864
  • 14
  • 31
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
  • 165
  • 2
  • 8
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
3
votes
2 answers

"Network Scan" gives "DHCPServer FAILED", but it's checking the wrong address

When I do a "Windows Help and Support Center" "Network Scan" on my XP SP3 machine, it tests a very long list of various things. All are marked "OK" except: > DHCPServer 192.168.0.1 (FAILED) > Pinging 192.168.0.1, request failed My router, and my…
Susan
  • 31
  • 4
1
2 3
12 13