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.
2,145
questions
0
votes
1
answer
762
views
How to configure a Windows Server 2008 along with a router?
I have network setup like the following diagram, how do I set the DHCP in server so that user can access Windows share and also access internet?
[server]<========>
[client1]<=======>[...
0
votes
3
answers
905
views
DHCP Reservation
I've been having problems with a few statements I've been reading. When setting up DHCP Reservation based on MAC addresses... Do the reserved IP's need to be in one of the scopes or not?
Judging from ...
0
votes
2
answers
2k
views
Server 2008 DHCP some clients not getting IP
Today (after turning on the server from an extended power outage) some clients are not able to get IP addresses. Some clients work just fine. Win 7 and XP doesnt seem to matter.
I have tried flushing ...
0
votes
1
answer
280
views
Setting up a small DHCP server for small network on windows server 2003
I am trying to set up a DHCP server on a Windows 2003 machine for a small network. I have used this guide[http://www.windowsnetworking.com/articles_tutorials/dhcp_server_windows_2003.html] to setup ...
0
votes
1
answer
8k
views
Can dedicated DHCP server assign a default gateway address to router?
I have built a very simple LAN in Packet Tracer: a PC, a dedicated DHCP server, a switch and a router.
https://i.stack.imgur.com/Zvx3X.jpg - here is this LAN
The router is meant to be a default ...
0
votes
1
answer
354
views
DHCPd and DHCPc on different UDP port?
Is it possible to create a run another custom dhcp service on different UDP port.
For example port 70 and 71?
Therefore all my clients pre-configured to accept this instruction and if fails fall ...
0
votes
4
answers
6k
views
How to bind an IP to a specific switch port with DHCP
I have servers connected to multiple Juniper EX4200 based virtual chassis. In order to make them hot swappable without manual reconfiguration, I would like to be able to always give the same IP, with ...
0
votes
3
answers
9k
views
Building a PXE/WDS infrastructure with both Windows Server 2008 and Linux PXE Server
What I want to do is the following:
I have a Windows Server 2008 R2 (DC) with a running Active Directory. I added the role Windows Deployment Services and installed both Windows® Automated ...
0
votes
1
answer
408
views
Removing a lease from dhcpd
Is there a way to set the lease for a single dhcp client to a very short time in isc dhcp? I'm trying to do this for troubleshooting purposes but I don't want to potentially end up handing out ...
0
votes
3
answers
517
views
DHCP DNS Setup for small network
I have a small network of 20 computers and 3 servers. I current have a Sonicwall firewall that does the DHCP for me. The question I have is the following.
On the DHCP settings should I have the local ...
0
votes
1
answer
3k
views
isc dhcpd: how to insert option 61 (client id) into dhcpoffer
I have a quick question. Is it possible to make ISC dhcpd server insert the option 61 (client id) in DHCPOFFER, in case if it is present in DHCPDISCOVER?
The ISC dhcpd version I'm using is dhcp-4.1.1 (...
0
votes
1
answer
534
views
DNS records not being discarded or updated, MS Server 2008 DNS W/ DHCP
I have a DC that controls DNS and DHCP.
DHCP is set to limit the lease for 5 hours and has dynamic updates according to: Always dynamically update DNS A and PTR records, Discard A and PTR records ...
0
votes
2
answers
2k
views
Install a dhcp/tftp server on debian
I'm trying to configure a dhcp server on my Debian computer in order to run a tftp server.
I have 1 nic which is eth0.
I followed several tutorials but none of them worked with me.
I installed dhcp3-...
0
votes
4
answers
1k
views
Some clients cannot reach DHCP server
For the office we recently bought a WNDR3700 (v1) to accomodate our growing (from one wired and about four wireless to four wired and about eight wireless clients, so not really large) network. We ...
0
votes
2
answers
4k
views
How to change the 'internal IP address' of a Juniper SRX210H
How do I change the 'internal IP address' (Not the WAN IP) (192.168.1.1) to something else via the 'Juniper Web Device Manager'?
Thanks!
0
votes
3
answers
2k
views
Server is losing its static IP address
I have a Ubuntu server with the following in /etc/network/interfaces:
auto eth0
iface eth0 inet static
address a.b.c.d
netmask 255.255.255.0
gateway a.b.c.254
When I run /...
0
votes
1
answer
565
views
Incorrect default gateway listed across entire domain
Our DC is a Win2k3 box that also does DHCP for the domain. I was having some network issues the other day that turned out to be DNS related and resolved those. Anyway, when I was running diagnostics I ...
0
votes
2
answers
16k
views
How to remove static IP from Mitel 5312 and enable DHCP
I'm not sure this is the right forum for this question -- although I'm confident I'll be told if not! -- but I've read the fine manual (at least, such a manual as I have), I've googled and I cannot ...
0
votes
2
answers
3k
views
Linux DNS Client Update Tool
So I work in a web hosting environment, and I've got a handful of Linux boxen on our primarily Windows-based network. All the machines (both Windows and Linux) on the network have at least two ...
0
votes
3
answers
822
views
How DHCP server will give IP with router
I have just started learning about the DHCP server.
I know that if i use window 2008 server as DHCP server then it can give IP to clients.
But all other computers are linked to router and i think ...
0
votes
2
answers
980
views
Windows Server: How to configure DNS forwarders on a circuit with a dynamic IP address
Here's the issue: Your connection to the internet is over a cheap circuit that doesn't provide a static IP address or public static DNS servers. Your LAN is NATed behind a firewall appliance. You ...
0
votes
2
answers
2k
views
One DHCP server on two subnets
How do setup dhcpd.conf so that all clients connected to NIC 1 will have 192.168.2.x IPs and all clients connected to NIC 2 gets 192.168.3.x IPs and all with netmask 255.255.248.0.
My current dhcpd....
0
votes
4
answers
3k
views
Pinging DHCP clients by name
The office has a small LAN, composed by a Linksys WRT54G2 sharing a DSL connection, a hub, and several wired and wireless clients. DHCP is enabled in the Linksys.
The DHCP clients table shows the ...
0
votes
1
answer
2k
views
Where does Slackware's DHCP client store lease information?
This is a followup to this question.
I eventually got my hands on a Slackware 12.1 machine with a dynamically-assigned IP address. It turns out it uses neither dhclient nor pump to get the address, ...
0
votes
3
answers
564
views
Safely deploying/hosting a virtualized domain containing a DHCP server
I originally asked this question on stack overflow and was referred here.
Using Hyper-V I built a private windows domain which is fenced off from our main network. Ultimately I want to provision this ...
0
votes
1
answer
329
views
Setting up LAN gateway for school club network - "No subnet declaration for enp3s0"
I am a computing teacher, I am trying to setup a "sandbox" network with internet access for an after school computing club.
I have an old PC (Debian 11 installation) with 2 ethernet ...
0
votes
1
answer
809
views
ESXi using DHCP, IP is accessible, Host Name isn't
I have a brand new ESXi host, configured for dynamic IP via DHCP, and I can access the web interface with the IP address, but not the host name. I thought (with a very shallow understanding, to be ...
0
votes
1
answer
220
views
static bindings in DHCP server
I'd like to enable static binding in the DHCP server (I'm using KEA Dhcp https://www.isc.org/kea) but I think it is applicable to other implementations as well.
What exactly I want to achieve is to ...
0
votes
1
answer
3k
views
how to log the MAC addresses of devices acquiring an IP address through DHCP (Windows server 2022)
My network serves DHCP through a Windows 2022 server. I would like to log the MAC addresses of all devices that acquire an IP address through this DHCP server. I have installed the IPAM role in the ...
0
votes
1
answer
873
views
How to prevent DHCP IP starvation attack on a wireless interface?
It's probably possible to go to any restaurant/cafe/bus with public Wi-Fi Hotspot and flood it with DHCP DISCOVER / REQUEST packets. If this network is created by a router that works as a DHCP server, ...
0
votes
2
answers
700
views
Is it possible to block dhcp traffic using iptables?
I have two devices with embedded Linux. One of them (machine A) has two network interfaces: eth that is used to connect machines together and wlan interface to connect to router via WiFi. The second ...
0
votes
1
answer
134
views
Azure - how private static IP works from OS perspective?
I am trying to find out what is the exact process of obtaining a static IP address (and DNS as well) from OS perspective.
Let's assume that we have a VM with assigned private static IP 10.10.10.10, ...
0
votes
1
answer
6k
views
netplan - Network with DHCP configured, but no internet
I am trying to configure my Ubuntu Server 20.04 LTS to use DHCP in its network configuration.
Many tutorials on the internet recommend that I create the following file with the following settings...
...
0
votes
1
answer
1k
views
Why is ISC DHCP server ignoring the fixed-address statement?
I want for the devices which belong to different VLANs to have different routers. For instance:
The device 10.0.10.84 inside a VLAN 10.0.10.0/24 would have its router set to 10.0.10.1, whereas:
The ...
0
votes
1
answer
523
views
SNMP: How to monitor devices that do not have static IP adress with Zabbix
I have some equipments in my LAN but the way things are working; I cannot set statics IPs for them, they really need to have DHCP enabled.
I am using Zabbix, and for host configuration, the Ip ...
0
votes
3
answers
98
views
how do you determine the IP address of the top level gateway if there are subnetworks?
I posted this somewhere else, but someone suggested I ask it here.
I live in a community that "provides" internet service to homeowners. So, in essence, the community has a fixed IP address, then ...
0
votes
1
answer
3k
views
dhclient.conf - append to system hostname [duplicate]
I'm running a Raspbian on a bunch of Raspberry Pis. They each have a unique hostname set in /etc/hostname and the dhcp client correctly registers that name with my router.
The problem I'm running ...
0
votes
1
answer
457
views
Make VPN server assign the connected computers to specific IP addresses
I have two virtual machines with Windows Server 2016 each on Hyper-V. First has active directory + DHCP role, second is VPN server (RAS role). In the DHCP, I have one address pool 192.168.1.32-192.168....
0
votes
1
answer
729
views
Exclude subnets from distribution?
In Windows' DHCP server it is possible to exclude an entire subnet from being given out to clients which doesn't have a reservation. They call this "IP addresses excluded from distribution".
Now I ...
0
votes
1
answer
499
views
How to get an DHCP allocated IP address without a reboot?
I have a server which currently staticly addressed with an entry in its /etc/hosts file, e.g.:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost ...
0
votes
2
answers
2k
views
Two DHCP servers giving static addresses in a network
I have a network having two servers that are occasionally booted. I wish to maintain DHCP services even during a boot of one server.
One of the servers currently has a DHCP server that gives static ...
0
votes
1
answer
3k
views
DHCP IP assignment in dnsmasq
I have the following configuration in my dnsmasq.conf:
dhcp-range=172.16.0.100,172.16.0.254,255.255.255.0,12h
From range 172.16.0.1-99 we assign static IP address to important servers and from 172....
0
votes
1
answer
825
views
Rogue DHCP Server [duplicate]
We have been struggling with a rogue DHCP server for quite some time now.
Users are meant to be on a network of 192.168.10.xx with .14 as the DNS, and .254 as the gateway, but this will set users on ...
0
votes
1
answer
321
views
DHCP server(s) IP allocation based on device type
In my study lab, I connect my pc to an Ethernet port wall socket and get a following IP allocation
192.168.1.X/24 Gateway: 192.168.1.1
but if I connect a standalone rogue wifi router's wan port to ...
0
votes
1
answer
104
views
Using two routers
I've set up a camera system with all the cameras hardwired to a router. When I plug the router into the clients regular network, the dhcp from the two routers cross over and create problems. The ...
0
votes
3
answers
9k
views
Can PXE Boot in UEFI but not in Legacy
looking for some advice on why my lab setups is acting this way regarding PXE boot.
A breakdown of the unit is:
Host OS is Server 2016 running hyper V with 2 VMS Hyper V
VM1 is the DC, running ...
0
votes
1
answer
4k
views
DHCP Client starts sending DHCP Discover messages upon receiving a NAK from another DHCP server
I am trying to set up a DHCP client that is supposed to get its IP address via DHCP. I have configured two DHCP servers (one in 192.168.X.X pool and the other in 162.16.X.X pool).
Then, the client ...
0
votes
1
answer
5k
views
Debian IPv6 DHCP not working when rebooting
For some reason I won't get an IPv6 address when rebooting my Debian 8 System, while I get one when restarting the networking service. The DHCPv6 server is up and running (and is answering when using ...
0
votes
1
answer
2k
views
Calculate DHCP lease creation time by subtracting lease time from expire time
I am writing a script to export information regarding all active DHCP leases on a server and I would like to have the timestamp of when the lease was created. Unfortunately, the DHCP service we use ...
0
votes
1
answer
1k
views
How can i set rules on a NW interface to drop all DHCP/BOOTP messages
I have an openstack environment with a provider network scenario implemented using openvswitch. My openstack is installed on allinone node setup. Is there a way that i can disable/drop all DHCP ...