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

Mikrotik ip addresses

In order to expand available pool of IP addresses assigned via DHCP, I have followed an advice to simply change the 192.168.1.1/24 to 192.168.1.1/21. Having around 126 PCs @ school and some 200-300 student portable devices, I'm still having the…
user72160
  • 13
  • 2
  • 9
-2
votes
1 answer

How to get List of IP address inside the LAN connection ( Host name + Ip address) in Java?

How to get List of IP address inside the LAN connection ( Host name + Ip address) in Java ? need help for the example code.
Suardi_T
  • 1
  • 1
-2
votes
1 answer

Develop a login based DHCP access system for hotspot

Say I have a wifi hotspot which allows users access to my net connection (similar to a public hotspot). Now, when a user connects to said hotspot, he must be redirected to a login page and if credentials are correct, then he is assigned a DHCP…
Kanishka Ganguly
  • 1,252
  • 4
  • 18
  • 38
-2
votes
1 answer

How to configure access points and dhcp ranges?

I have a Thomson ST585V6 router and 2 TRENDnet TEW-636APB Wireless Access Points. And I have 3 devices that need a static IP address. All the other devices need to have their IP adreess assigned with DHCP. Here is what I did: In each of the 3…
Oscar Gomez
  • 18,436
  • 13
  • 85
  • 118
-2
votes
1 answer

Why do DHCP addresses are required to be reconfigured sometimes

I was reading about DHCP somewhere and found that it provides dymically the IP addresses from the available addresses (which I probably configure in my router setup normally ranging from 192.168.1.2 to 255) but sometimes I get some dummy address…
codeomnitrix
  • 4,179
  • 19
  • 66
  • 102
-2
votes
1 answer

A basic DHCP client

I am coding a very simple DHCP client in C. I have trouble deciding whether it should use UDP or TCP, what basic commands should it support. I think it should be able to get at least DNS, SMTP, POP3 server information from server. What else do I…
AJ.
  • 2,561
  • 9
  • 46
  • 81
-2
votes
1 answer

How to read the data of a dhcp server?

I want to know about all the device that are connected to the dhcp server. I have the IP of the device it may be a android phone or printer but I think dhcp is having the information of this devices. I got something like the "vendor information " in…
pradiptart
  • 970
  • 2
  • 9
  • 18
-2
votes
1 answer

Issue with Sending DHCP OFFER Packet

Trying to implement a customized DHCP Server which Just send an IP Address in BOOTP/DHCP Packet. Parsing of the Received DISCOVER Packet was done.After filling the structure; am unable to send OFFER Packet via sendto function. OFFER Packet seems to…
-3
votes
1 answer

Is there an service DHCP server for windows 10 iot?

I've an Raspberry PI 3 with Windows 10 IoT. I'd like to run an DHCP server.
Nicolò
  • 11
  • 5
-3
votes
1 answer

Is there a standard way to programatically get the dhcp clients table from a router/dhcp server?

I work on a projec with several wifi routers. I need to programatically discover the dhcp clients (ip addresses) currently allocated by a router. Since I have several routers I would like to use SNMP. Is there a standard SNMP MIB or a combination…
asaf oron
  • 31
  • 4
-3
votes
1 answer

I can't assign an IP address to vmware VM from DHCP pool

In GNS3, I have configured the DHCP pool on the router R1, and I have a vmware VM (Ubuntu 16.04), another router R2 and VPCs are connected to R1. The R2 and VPC can get their IP address without a problem, however, the vmwareVM can't receive the IP…
Nick
  • 419
  • 9
  • 19
-3
votes
1 answer

Static dhcp lease per interface

Can I force any device plugged into a particular Ethernet port on a router or managed switch to receive a fixed IP address, without knowing its MAC or anything else? I'm thinking there's a way to do this in dd-wrt, but it doesn't need to be that…
UStralian
  • 19
  • 4
-3
votes
1 answer

TCP/IP Addresses and Subnets

TLDR: Can I use the subnet mask to allow me to put a computer with a static IP address of 192.168.40.1 on my router that has all other computers addressed as 192.168.0.nnn? Hello all. This may be a very dumb question, and I apologize in advance. I…
Greg N.
  • 3
  • 1
  • 4
-3
votes
3 answers

How to query gateway for DNS adress by Python or Perl

The Linux/Windows can get DNS address from the router I need to write a local dns proxy and how can I get the DNS server addresses like the OS does, are there any Perl or Python modules can do this? Update The question should be clear, I need some…
Boying
  • 1,404
  • 13
  • 20
-3
votes
1 answer

Identification of a DHCP packet in C

I am trying to write a packet sniffer in C. To identify ARP packets, I have defined a structure where the 16 bit integer gives me a hex value which I can compare with the library definition of ARP, i.e ETH_P_ARP from where I can confirm if the…
chinmay_dd
  • 21
  • 4
1 2 3
52
53