Questions tagged [dhcp]
DHCP is an auto configuration protocol used on IP networks.
621
questions
0
votes
1
answer
23
views
Why does systemd-resolvd fail to transparently query its upstream DNS resolver for short hostnames?
I use dnsmasq to provide DHCP service on my LAN. dnsmasq is also providing DNS service.
When host foo acquires a an IP address via DHCP, dnsmasq will respond to DNS queries for the name foo by ...
0
votes
1
answer
63
views
New installed Kali linux is not connecting to internet [closed]
When I was installing Kali linux on my pc, I realized DHCP can't be configured so I skipped that part. After installation I used ifconfig and saw wlan0 was there but after opening a website I get this ...
0
votes
0
answers
22
views
Completely disable NetworkManager from using DHCP client?
I am using RHEL 7.9.
This version of RHEL I use nmcli and nmtui to configure network connections.
Problem:
NetworkManager service appears to be filling up journalctl logs with the following output
Apr ...
1
vote
0
answers
42
views
OpenBSD: stop resolvd from prepending nameservers to /etc/resolv.conf
After upgrade to 7.1
I notice that resolvd always adds a nameserver received via dhclient to /etc/resolv.conf
$ cat /etc/resolv.conf ...
0
votes
1
answer
29
views
ifupdown change parameters dhclient
I have Ubuntu 20.04 where I gave all network functions to ifupdown.
1 of my interface got network parameters by dhclient:
#/etc/network/interfaces
allow-hotplug enp2s0
auto enp2s0
iface enp2s0 inet ...
0
votes
0
answers
19
views
Bringing up ethernet device under Debian riscv64
I have a Sipeed RV 86 device, which is a RISCV 64bit. On this,I run a minimal Debian OS, that let's me log in via the USB interface, as the device shows up as ttyUSB0 on the host Linux PC.
When I then ...
1
vote
1
answer
75
views
DHCP client send hostname "linux"
I start by saying that my experience in networking is somewhere between low and medium.
I'm working on a Linux machine with DHCP configured and from tcpdump traces I see that the dhclient send the ...
0
votes
0
answers
32
views
Insert a new host into dhcpd.conf
This is my first post on this forum.
I need a little advice on how I add an entry host to our dhcpd.conf file.
I have +50 servers, that I need to add this fixed MAC-address into to and it's a hassle ...
0
votes
1
answer
54
views
systemd.networkd DHCP server: assign static addresses to DHCP clients
I want to switch from isc-dhcp-server to systemd.networkd but I couldn't find any information about assigning static IP addresses (based on MAC) in systemd.networkd. Is it possible to configure ...
1
vote
1
answer
18
views
Conditional evaluation with unnamed option ISC DHCPD
I would like to know how one properly checks for unnamed dhcp options. This link for configuring UEFI is where I got the inspiration. However, I'm completely lost because not even the latest ISC DHCP ...
2
votes
1
answer
226
views
How to release and renew DHCP lease using dhclient, without loosing connectivity
I want to be certain this will work before I try it, since I'm dealing with a headless Pi (Zero W if it matters) that is only ever accessed via SSH.
I've set up an address reservation in my router for ...
0
votes
0
answers
70
views
Dhcp server to internal network in virtualbox
Trying to add dhcp server to internal network in virtualbox and get this result:
resilient@link:~$ vboxmanage dhcpserver add --netname testlab --ip 10.10.10.1 -netmask 255.255.255.0--lowerip 10.10.10....
-1
votes
1
answer
47
views
FreeBSD dhclient don't parse bootp-broadcast-always
So, despite the fact that it's listen in the official documentation, the dhclient binary shipped with FreeBSD 12 does not support "bootp-broadcast-always". I'm trying to include this option ...
0
votes
0
answers
79
views
Trouble to get a ipv6 address with dhclient/console lines
I have issues to get an ipv6 address when using the command dhclient -6 to connect my PC to gateway by wifi.
I have those logs when I use dhclient -6 -v
sudo dhclient -v -6
Internet Systems Consortium ...
0
votes
1
answer
68
views
Configuring dhcp for multiple subnets
I'm fairly new to configuring dhcp. This would be for a kickstart server. My question is, can I configure the dhcpd.conf file to be able to take in servers to be kicked over two different subnets? ...
1
vote
0
answers
182
views
Wifi no longer working, cannot start dhcpcd@wlan0
After the last update on my archlinux install, the wifi is no longer working.
I check the packages updated and the package iwd got updated.
When I try to connect to my modem in wifi using iwctl, I get ...
0
votes
1
answer
59
views
get DHCP info from commandline
I am on a server, whoose network is set statically:
auto eth0
iface eth0 inet static
address 10.1.212.103
netmask 255.255.255.0
gateway 10.1.212.1
How can I, from the commandline, pretend ...
1
vote
0
answers
32
views
how to forward dns nameserver from WAN to LAN
I have two linux machines (lubuntu to be specific) , one working as router having one ethernet port connected to internet and second to client.
I have configures dhcp server on router as follows
...
0
votes
0
answers
26
views
How to get command value in .conf file
I have two linux machines (lubuntu to be specific), one is working as a router and second is working as a client. Router has two ethernet port, first one is connected to internet and second one in ...
0
votes
0
answers
39
views
IP Address gone but how to identify if this related to DHCP Server that Not Reachable
we have RHEL 7.6 Linux server , with the following network configuration
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=dhcp
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME=apl7
DEVICE=...
1
vote
2
answers
67
views
How I can install the OS linux files on many pc with a linux server?
Ok, so before starting I am a French high school student, so I may make mistakes. My tech/computer teacher this year created an association in which, volunteer students can hand over old high school ...
1
vote
0
answers
111
views
Connect iPad to Linux computer using ethernet over USB C (forming a "mini-network")
I teach a class which requires me to switch between projecting my ipad (handwritten notes) and my computer desktop (code, simulations, etc.).
To do this, I installed uxplay which allows me to host an ...
0
votes
1
answer
193
views
How to enable systemd dhcp client logging?
Trying to debug some systemd dhcp client behavior, but I can't figure out how to enable systemd-networkd debug logging. Specifically I want to see the log_dhcp_client() log entries in src/libsystemd-...
0
votes
0
answers
69
views
Headless debian: Issues connecting to wifi
I am trying to set up wifi with this image on my raspberry pi 4b. I have previously done this with Raspi OS image. However this seems to much harder. Recommendation is to use /etc/network/interfaces.d/...
0
votes
0
answers
60
views
centos stream 9: cannot connect to hotspot, asking for password in a loop
I have the following dev environment
wireless access points
(all of them are wired connected to internet)
commercial wireless AP FRITZ!Box 7490
1st BRIX mini PC (for hardware info pls. see my ...
0
votes
1
answer
51
views
Why does my interface have 2 ip adresses when using NetworkManager
After installing NetworkManager and establishing a wifi connection my wlan0 Interface got a secondary ip address.
~ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group ...
0
votes
1
answer
160
views
Disable systemd-resolved to free up port 53 and use DNS servers provided by dhcp
I will be running a Pi-hole server in a docker container, so I have freed up port 53 by settingDNSStubListener=no in /etc/systemd/resolved.conf and restarting systemd-resolved.
This has freed up port ...
0
votes
1
answer
162
views
How do I find out if wifi card supports 4addr mode?
I want to setup a wireless network, with some wired devices plugged to wireless clients. All of them should have same IP pool / same subnet from DHCP server.
One approach is probably the configuration ...
0
votes
1
answer
224
views
How do I make an access point on CentOS stream 9 without hostapd, with DHCP?
After I stuck for 1,5 weeks trying install wifi card and setup an access point on CentOS 8 I found out accidentially, that the driver for the card is only supported by minimum kernel 5.1
So I tried ...
2
votes
0
answers
44
views
Strange behaviour when getting IP address via DHCP from wifi access point
I'm experiencing a strange behaviour with wifi connection on Lubuntu. Basically, Lubuntu is getting only an IPv6 address when connecting to certain access point, although it should be getting an IPv4 ...
0
votes
1
answer
168
views
ping: connect network is unreacheble arch linux
I'm new to arch linux
I haven't installed Arch yet, but that's my problem.
When I run ping 1.1.1.1 or ping 8.8.8.8, I get an error...
The following error appears:
ping: connect: Network is unreachable
...
0
votes
0
answers
149
views
How to ssh from host into Qemu VM through its hostname, not its IP?
I created a QEMU VM, both host and guest being ubuntu 20.04. Then I created a bridge network and attached it to the VM using Virtual Machine Manager in hope of ssh from host into guest. Now I can do ...
0
votes
1
answer
35
views
My A record disappear: what can it be?
I have a little server configured to use dynamic dhcp(dhcp update automatically the hostname on dns). Works fine..but one of the A record magically disappear, while the PTR record is ok.
This is my ...
0
votes
2
answers
122
views
Setting up DHCP on RHEL8
I am setting up a firewall/gateway router using rhel 8.
I have a server with two NICS, one public facing which is a dhcp client, the second NIC will be internal facing. The first NIC is a Public zone,...
1
vote
1
answer
139
views
How can docker communicate to other hosts in local network using hostnames?
I have two computers in the same network with below hostnames and IP address(Dynamic IPs):
host1.local - 10.0.0.11
host2.local - 10.0.0.12
host1 is running Docker with default configuration.
...
0
votes
1
answer
189
views
Consequence of blocking outgoing UDP 68->67 (DHCP client)?
I have a server that receives its IP address by DHCP. This seems to work and the connectivity is working (at the moment). However, I have not rebooted since installing a new /etc/sysconfig/iptables ...
0
votes
0
answers
152
views
isc-dhcp 4.2.5 -- does it have support of dhcp-client-identifier and vendor-class-identifier?
I have isc-dhcp-4.2.5 server and client installed on two CentOS-7.4 boxes. I know this is quite old distro, but I can't change it for various reasons.
Dhcp server configuration:
option domain-name &...
0
votes
1
answer
89
views
DHCP lease renewal fails on AWS lightsail server
Tuesday the 12th of September 2021 out of the blue a root server of mine running debian hosted in AWS Lightsail crashed. After a reboot it would run fine for approximately 20-60 minutes, after that it ...
0
votes
0
answers
36
views
DHCP client ordering question - bridge vs. physical interface
I'm on an Ubuntu system with a couple of physical NICs and one configured bridge0 interface (to provide internal VMs and containers with access to the rest of the LAN.) I have a MAC address ...
1
vote
1
answer
40
views
cancel dhclient eth0 command on linux
I accidently run on my computer :
dhclient eth0
and now i cant ssh to my computer by it's ip.
restart the computer didn't help.
How can i cancel this command or fix it?
thank you for helping!
0
votes
0
answers
48
views
isc-dhcp: read vendor encapsulated option with dhclient.script
I have isc-dhcpd-4.2.5 server and client installed. I configured the server to transmit a vendor encapsulated option according to https://linux.die.net/man/5/dhcp-options, I defined the option space ...
0
votes
1
answer
131
views
Arch linux: DHCPD fails on start: ipv6_addaddr1: No such device
when I start my arch linux install on my thinkpad x390, I can not connect to the internet. It is because dhcdpd service failed. This is systemd log:
john@arch-thinkpad ~> sudo systemctl status ...
0
votes
1
answer
89
views
Which of the multiple IPv6 addresses is used as source address and how is the decision made?
I have a setup with Computer A being directly tied to the router via a LAN cable and Computer B being connected via wifi.
This is the output of Computer As ip addr command:
1: lo: <LOOPBACK,UP,...
0
votes
0
answers
37
views
NetworkManager - detect client disconnecting
I'm using journalctl -fu NetworkManager.service to detect clients connecting to my access-point. I do however not see anything when clients disconnect. Is this possible?
Is it a limitation of DHCP?
...
-1
votes
2
answers
152
views
Dynamically update resolv.conf when created by DHCP in limited embeded environment
I am working with a custom Linux image for an embedded device built with yocto. It has no network management other than the interface configurations for ifup/ifdown.
/etc/resolv.conf is created dhcp (...
0
votes
1
answer
39
views
detect if DHCPOFFER has been received
The Linux box with DHCP client does not know beforehand if it is connected to access or trunk port, so it has to determine it somehow. So I'm thinking of the following:
have the box send a ...
1
vote
0
answers
28
views
Jetson Nano Picocluster not accessible from network
I recently received a Picocluster with five Jetson Nano boards running MicroK8S. The cluster has a built in switch, which I know works as I can route my own network traffic through it just fine. All ...
1
vote
2
answers
176
views
How to list DHCP options sent to a client from a DHCP server in Linux?
How does one list the options that are sent to a client from a DHCP server? Using a utility run from bash?
0
votes
0
answers
210
views
SystemD restarting DHCPD error: Job for dhcpcd@wlan0.service failed because the service did not take the steps required by its unit configuration
I have Arch linux on Lenovo thinkpad. I have Linux 5.13.13-arch1-1. In recent time, my wifi just stops working some time after start. Only solution to make it work again is reboot. When I run sudo ...
-1
votes
1
answer
70
views
What does "host-specific" mean in RFCs?
What does "host-specific" mean in RFC 1531?
I know that "host-specific" has a meaning of "capable of living solely on or in one species of host, as a parasite that infests ...