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

static and dynamic host configuration approaches?

I'm currently revising for an exam and I'm stuck on a question which is: "Explain the static and dynamic host configuration approaches." I'm unsure if the answer is correct but what I've write is this: static host configuration are hard-coded…
shkz
  • 57
  • 1
  • 5
2
votes
1 answer

Receiving DHCPv6 messages in Rust

I'm trying to receive dhcp6 messages in rust. This is the code I have right now: use std::net::UdpSocket; use std::net::Ipv6Addr; fn main() -> std::io::Result<()> { { let socket = UdpSocket::bind("[::]:547")?; let mult: Ipv6Addr…
user9062847
2
votes
0 answers

Can I prevent DAO from trying to open nonexistent "system.mdb"?

Summary: DAO is trying to automatically open a nonexistent file - can this be prevented? I maintain a VB6 program which uses the DAO36 library for accessing MDB / Jet databases. (Yes, pretty old stuff). We noticed that during application startup it…
StayOnTarget
  • 11,743
  • 10
  • 52
  • 81
2
votes
0 answers

ISC DHCP/DDNS setup: Static entries for non-dhcp clients

I have set up a local network with ISC BIND9 and DHCP service. New leases trigger the DHCP to add an A and PTR record which works perfectly. I also added lots of static host entries in the dhcpd.conf. Now I noticed that the DDNS update only works…
dom
  • 111
  • 5
2
votes
1 answer

DHCP fail with WEMOS D1 Mini in sagemcom FAST3890V3 router

with classic esp8266 (wemos) connection example usind DHCP in sagemcom FAST3890V3 router, i never get IP, after about 10 minutes i get some ip outside of range and it doesn't work. I read lots of post and can't find a solution. thanks connection…
mariano
  • 21
  • 2
2
votes
0 answers

C# DHCP will not change for interfaces that are disconnected

I'm having an issue where my code is setting Static IP and DHCP perfectly fine when I'm connected to the WiFi. However, the Ethernet "local networkinterface" is unchangable, when no cable is connected. The issue is vice-versa for when connected with…
Saetheer
  • 31
  • 5
2
votes
1 answer

Why is my foreach variable not going to my output in PowerShell after each iteration?

I have DHCP script that looks for matching hostnames in all the scopes on the DHCP servers I first get all the DHCP servers and import a .txt of hostnames $list = Get-Content C:\script\HostNameList.txt #Defines content it pulls as list $DHServers…
feelsgood
  • 135
  • 14
2
votes
2 answers

Local network blocks outgoing packets from devices occasionaly

My internet stops sending outgoing packets a lot of times during the day, and it lasts 8 to 13 seconds. Example: in Discord I keep listening others, but they can't hear me. Other softwares have the same behavior. In my house there are 4 routers, and…
2
votes
4 answers

Headless Linux -> broadcast IP to Windows workstation?

I'd like to sell headless Linux servers to SOHO users. Typically, they'll have a DHCP-capable ADSL modem cum switch to which they'll connect their workstation and the server. In order to just show up with the server, I need to find a way to just…
user73669
  • 71
  • 2
2
votes
3 answers

How can I forge a DHCP Discovery packet using Bash?

I would like to send via network (LAN) a classic DHCP Discover package using command line, in order to trigger a response from any DHCP server listening, so I could capture it with something like (say my IP address is 192.168.0.30 ): tcpdump -i eth0…
Sopalajo de Arrierez
  • 3,543
  • 4
  • 34
  • 52
2
votes
2 answers

Check NetworkManager is DHCP or Static with command line Ubuntu

How can I check the GUI network setting is set DHCP or Static with command line? for the active and connected interface in Ubuntu 18.04 I want one line command like grep give me static/dhcp or true/false
Fakhamatia
  • 1,202
  • 4
  • 13
  • 24
2
votes
0 answers

Powershell - Adding Export-ToCSV Parameter to a Function

So i have a script I've written to pull down scope information from DHCP. It works fine drawing the information into the PowerShell window. I can pipe Out-GridView or Export-ToCSV to the process, but I was trying to find a way that when someone…
n4mlx
  • 21
  • 2
2
votes
0 answers

Is it possible to transfer files in uboot using RARP?

I have an embedded board in which I want download the rootfs, kernel etc in uboot. It does not have tftp. Can I use RARP for transferring files? I have tried this: I have installed rarp server on host.(apt-get rarpd) Created an /etc/ethers…
2
votes
3 answers

Getting interfaces and their DNS servers that are STATIC (not dhcp allocated)

I'm trying to ge the DNS servers of network interfaces via WMI that are static (placed by the user). I have this script that works, except for the static part of course: Get-WmiObject Win32_NetworkAdapterConfiguration | Where-Object…
Romeo Mihalcea
  • 9,714
  • 12
  • 50
  • 102
2
votes
1 answer

ISC-DHCP-Server IP pool assignment through user class

I have isc-dhcp-server installed on Ubuntu 18.04. I have two subnets configured to be served through two different NIC's: enp7s0: 10.100.0.0/22 (Workstations network) enp8s0: 10.200.0.0/23 (Guest network) Workstation network is broken down to…
Srirag Nair
  • 166
  • 1
  • 8