Questions tagged [dhcp]

The Dynamic Host Configuration Protocol (DHCP) is an auto configuration protocol used on IP networks.

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 setup by a network administrator.

It keeps track of the computers connected to the network with a central database and prevents two computers from accidentally being configured with the same IP address.

784 questions
-2
votes
1 answer

I want to ask about the use of the kea dhcp server, I hope someone can help me

I want to modify the dhcp4 source code to notify the ddns server to set the dynamic domain name when assigning the lease, but I added the nanomsg statement in dhcp4_srv.cc. When my nanomsg performs shutdown or close, the dhcp4 service will…
bingogu
  • 1
  • 1
-2
votes
1 answer

Why my router's WAN address is different from the Public IP which will be shown in whatismyip.com

I was checking my router settings (In router configuration page, 192.168.1.1). One thing that has struck me was the WAN ip address of the router. It was 192.168.0.2, it looks like a local IP where 192 class IP's are used. I double verified it and…
-2
votes
1 answer

Check if the network adapter is set to static or dhcp with a batch script

Connection request was completed successfully. DHCP is already enabled on this interface. I have a batch script to configure the network adapter. I can set it to static with specific IP or to DHCP. How would I check if the adapter is already set…
-2
votes
1 answer

DHCP server does not include NTP server addresses in the DHCP ACK message

I am capturing DHCP packets with tcpdump. The client sends a DHCP request asking for the DHCP configuration which contains a request for NTP servers but in the DHCP ACK message sent by the router there is no NTP server information. Shouldn't the…
jap jap
  • 320
  • 2
  • 15
-2
votes
2 answers

What is a Dynamic Host Configuration Protocol (DHCP) server?

What is a Dynamic Host Configuration Protocol(DHCP) server? and What is the difference between DHCP server and a Domain Name Server(DNS) server?
Hari Bharathi
  • 431
  • 5
  • 8
-2
votes
1 answer

DDNS from ISP, accessable from outside, but not inside

So, I recently found out that my ISP has this free feature, so I decided that I want to build a small server back home, to run a few stuff as a FTP, HTTP, SSH, few databases, you got the idea. Maybe I should start by shortly describing my local…
Vlad Potra
  • 161
  • 1
  • 2
  • 11
-2
votes
1 answer

UDP recvfrom not successful

I am trying to write DHCP client, but failing to receive the DHCP Offer due to "Resource temporarily unavailable" on recvfrom(). I set my socket like so (leaving out the checks for return values): int sct = socket(AF_INET, SOCK_DGRAM,…
Croolman
  • 1,103
  • 13
  • 40
-2
votes
2 answers

Does my PC need to execute DHCP in order to have an IP address?

This afternoon I read this from the book "Computer Networking - A Top-Down Approach": "When Bob first connects his laptop to the network, he can’t do anything (e.g., download a Web page) without an IP address. Thus, the first network-related…
-2
votes
1 answer

The DHCP option 58 && 59 how to work

I know 58 option specifies the time interval to RENEW state, and 59 option specifies the time interval to rebind. But I don't know whether the client should send requested option. Should the dhcp Discover or Request packet request option 58 & 59…
Ken Hu
  • 49
  • 1
  • 6
-2
votes
1 answer

Calculate subnet with few unused addresses

You need to create a new IPv4 subnet on the network. The subnet must support a maximum of 5,000 hosts and must have as few unused addresses as possible.How would you configure DHCP to support this subnet? A. You should use a subnet mask of…
B P
  • 1
  • 1
-2
votes
1 answer

trouble with netmask obtained from udhcpd

I'm trying to use udhcpd, a dhcp server in busybox, to obtain IP adress. I'm working on an ARM plateform with a standard linux on it. The dhcp client IP address is ok, according to range setted in the udhcpd.conf file but the netmask is set to…
Toon
  • 3
  • 5
-2
votes
1 answer

Long MAC addres in Cisco DHCP binding

i have problem whith Cisco DHCP. On switch C6506 in "sh ip dhcp binding" table are the long MAC addres. What is the problem? The one MAC (00.16e6.448a.e4) have more IP addres. 158.195.40.46 id ffe6.448a.e400.0100.011d.69e6.3900.16e6.448a.e4 …
-2
votes
1 answer

How could I use two (wifi and lan) mac address for single ip in dhcp?

In my office we using both WiFi and LAN if I am set IPv4 automatic it is coming a different ip are coming. In my server I able give single MAC address if I give LAN mac its coming properly for LAN not for WiFi and if I am set WiFi MAC address WiFi…
user2265186
-2
votes
1 answer

IP Helper-Address For DHCP and WDS in Different VLANs

Scenario: Clients on VLANs X DHCP server on VLAN Y WDS server on VLAN Z We have IP helper-address command on our layer 3 device for DHCP. I would like to avoid using DHCP options and instead add another IP helper-address command to point clients to…
Chrismo16
  • 17
  • 6
-2
votes
1 answer

get a DHCP server's IP

I wanted to get the IP of my DHCP server into a bash variable. like : IP="192.168.1.254" I know this IP can be found in /var/lib/dhcp/dhclient.leases or in /var/log/syslog but I don't know of to extract it and put it in variable during my script…
Jérémy
  • 1,790
  • 1
  • 24
  • 40