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
3
votes
2 answers

How to confirm if a packet is received by application

My doubt is quite strange .. On my Linux server a DHCP server application is waiting on the port number 547 for dhcp client messages. Even though I am seeing messages from dhcp client on wireshark (running on my Linux server) .. dhcp server is not…
codingfreak
  • 4,467
  • 11
  • 48
  • 60
3
votes
1 answer

How to configure DHCP IPAM plugin + Macvlan + Multus for the additional interface creation inside a k8s pod?

I'm facing the below mentioned issue while using DHCP IPAM plugin + Macvlan + Multus for the additional interface creation inside my pod and assigning IP from DHCP server. I actually went through the related issues around this problem and tried all…
ddran
  • 31
  • 4
3
votes
0 answers

Dynamic DHCP server assignment on batman-adv mesh network

I'm looking to set up distributed mesh network using the batman-adv Linux kernel module. However, I don't want to have to statically assign IP addresses to all my nodes therefore my first thought was to use DHCP. The problem arises in my scenario…
tdev
  • 31
  • 2
3
votes
0 answers

dnsmasq use different upstream servers for specific hosts by IP

I am trying to set up the following scenario: Local raspberry (192.168.0.9) is used as both dhcp server (dhcpd) and dns server (dnsmasq). I have two sets of devices (my own and everyone else's), that receive their IP addresses from specific ranges…
badlands
  • 115
  • 1
  • 10
3
votes
0 answers

Run DHCP server in container secure

I would like to install a DHCP server in a container to provide the devices (some raspberry pis and network switches) connected to the host system with IP addresses. I start the container with "--net=host" flag in order to listen on broadcast…
user5580578
  • 1,134
  • 1
  • 12
  • 28
3
votes
2 answers

how do i specify an interface in dhcpd.conf?

I have a dhcpd.conf that looks like this. How do I listen on interface enp2s0? # # DHCP Server Configuration file. # see /usr/share/doc/dhcp*/dhcpd.conf.example # see dhcpd.conf(5) man page subnet 192.168.10.0 netmask 255.255.255.0 { …
anon says hello
  • 133
  • 1
  • 2
  • 10
3
votes
2 answers

Using Network Manager (nmcli) to configure DHCP, with a fallback static IP address in case DHCP fails

I am working with an embedded linux device, which we typically connect to by static IP address during development. However, on-site we have a requirement to connect using DHCP and so, I would like to setup a primary DHCP connection, with a fallback…
user5265160
  • 409
  • 1
  • 8
  • 19
3
votes
2 answers

How to change base url of axios after have build vue-cli 3 project

I am in the process of putting into production a web application (back: Django rest framework, front: vue-cli3) But my deployment environment is very specific. I have an embedded card on which a Linux is deployed. This card runs in a local area…
Yztoc
  • 31
  • 1
  • 3
3
votes
1 answer

Difference between "RenewDHCPLease()" and "IPConfig /renew"?

I am using RenewDHCPLease() to renew the IP address of the system. What is the exact difference between RenewDHCPLease() and ipconfig /renew? Which one is better to use in Powershell? Is it necessary to use ReleaseDHCPLease() before…
Nirav sachora
  • 113
  • 1
  • 5
  • 12
3
votes
3 answers

Running DHCP renew lease command from Docker Alpine Container

I am trying to manage my container host interface(one of the interface) from docker container. I am able to change ip address and assign static ip to interface but it looks like when i am flushing ip address in case of dhcp, I need to renew the…
Arun POONIA
  • 41
  • 1
  • 6
3
votes
3 answers

how can I prevent systemd-networkd from sending client identifier?

I have a machine with CoreOS 1800(or 1855) installed onto disk, and with following systemd-networkd config (there is only one network interface in the machine): $ cat…
osexp2000
  • 2,910
  • 30
  • 29
3
votes
3 answers

Isc-dhcp-server not starting error: not configured to listen to any interfaces

I have installed Isc-dhcp-server and configured the files accordingly still it is showing the error that its not configured to listen to any interfaces. i have ubuntu 17.04 64 bit Interface file : auto lo iface lo inet loopback iface enp2s0 inet…
mr_pool_404
  • 488
  • 5
  • 16
3
votes
1 answer

How to get DHCP information in C#?

I would like to get DHCP Option 15 information in C#. I do not want to call through dhcpsapi.dll though, because I don't want to be limited to just Windows DHCP servers. Is there some other way to get DHCP information through C# or am I going to…
evilfred
  • 2,314
  • 4
  • 29
  • 44
3
votes
2 answers

Add-DhcpServerv4Reservation FullyQualifiedErrorId : WIN32 1753

I keep on getting the following error when trying to run the Add-DhcpServerv4Reservation command in PowerShell: + CategoryInfo : NotSpecified: (xxx.xxx.42.234:root/Microsoft/...erv4Reservation) [Add-DhcpServerv4Reservation], CimException +…
beginner
  • 31
  • 1
  • 3
3
votes
2 answers

How to Verify Reserved IP with Powershell

I am working on a little powershell 3.0 GWMI script that pulls computer information for use in an enterprise environment (ip, mac address, etc). I'm trying to go through the WMI properties for NetworkAdapterConfiguration to see if there is a way to…
Kyle M
  • 33
  • 1
  • 8