Questions tagged [dhcp]

DHCP is an auto configuration protocol used on IP networks.

175 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
4k views

How to debug DHCP timeout on WiFi connect

I've recently moved to a place with public wifi (so I don't have access to the router or their DHCP config), and am running into issues connecting with my Arch laptop. I've tried using both ...
5
votes
0answers
2k views

Configure a freeRadius server with dhcp function

I have installed a freeradius server on a debian machine and it is working correctly. I want to configure my freeradius server to provide IP addresses for the authenticated users! Can any one tell ...
5
votes
0answers
2k views

dhcp ipv6 dynamic prefix delegation

I'm trying to setup Linux-based home gateway with IPv6 support. IPv4 configuration is finished and I'm using IPv4 NAT, ISC DHCP for addresses allocation, PowerDNS for local DNS setup, PDNS recursor to ...
4
votes
1answer
597 views

systemd-networkd DHCPServer configuring static lease

Does systemd-networkd DHCPServer support configure static lease based on for example mac addresses? If yes how? The systemd-networkd documentation doesn't mention anything about it.
4
votes
0answers
773 views

Entries order in /etc/network/interfaces

I have a device with two interfaces, eth0 and eth1. One should get its IP from a DHCP server and the other should get its IP statically. If my /etc/network/interfaces file is configured as follows: ...
4
votes
0answers
911 views

Allowing GRUB to access network in BIOS mode

I want grub to fetch some configuration via tftp/http. Using efi I can do insmod efinet and net_ls_cards will list my network cards which I can configure and use. Using PXE in BIOS/legacy mode ...
4
votes
0answers
1k views

How to configure isc-dhcp-server to offer upstream DNS servers?

Every example dhcp.conf I can find has hard coded DNS servers - typically the google public DNS addresses... option domain-name-servers 8.8.8.8, 8.8.4.4; If I leave out the option domain-name-...
4
votes
0answers
285 views

To what extent does LXC manage configuring the network interface in a container?

In the LXC config file we can specify an IP address for a container: lxc.network.type=veth lxc.network.link=br0 lxc.network.ipv4 = 10.1.0.35/16 lxc.network.flags=up lxc.network.hwaddr= 00:16:3e:24:26:...
3
votes
0answers
67 views

Why is my client getting two IP addresses when connecting to WiFi?

A sub-question: why is my client requesting a specific IP address without a dhclient running? I have two access points. One is serving up two SSIDs, the other just one SSID. When I connect to the two-...
3
votes
0answers
937 views

No internet after sleep; “no ipv6 routers available”

I'm unable to connect to the internet after I resume from suspend to ram. The problem appeared after I fixed resuming from suspend to disk following this answer. I'm using netctl where the error is ...
3
votes
0answers
201 views

setcap on dhclient appears to have no effect

I'm having a rather frustrating time getting dhclient to run from a normal user using setcap. Because of the environment I am working with, adding to sudoers is not an option. My attempt: sudo ...
3
votes
0answers
464 views

Closed network DHCP+DNS - updating in-addr.arpa side works, forward side refuses to update

I am struggling with one small problem in our closed network. I built new DNS and DHCP and everything works, except DNS refuses to update file with forwarding information sent from DHCP. I have tried ...
3
votes
0answers
537 views

How is resolv.conf maintained when there are two network cards?

I have a Debian Wheezy VMware virtual machine guest with two network cards. One is in bridged mode and has access to the internet. The other is in host-only mode and does not. Some process, perhaps ...
3
votes
0answers
348 views

Use eth0 and eth1 for different subnets and assigned host name to interface?

I have a machine running SELES 10 with dual NIC Both the NICs are on separate subnets. The server uses a DHCP. So when one interface, eth0, gets the IP from DHCP and registers with DNS and then the ...
2
votes
1answer
199 views

Prevent systemd-networkd (DHCP) from registering (NTP) time servers

I'm trying to stop some SBCs (running Debian) from updating their time via the router's own NTP server. We just want to use a manually configured one such as one from *.pool.ntp.org. I believe the ...
2
votes
0answers
742 views

PXE Boot: “Failed to load ldlinux.c32”

I'm trying to create a PXE server on my raspberry pi, but if I try to boot, the client shows the Error "Failed to load ldlinux.c32". This is my folder structure of the tftp folder: Here is my ...
2
votes
0answers
107 views

Have to restart dhclient on enterprise network each time lease expires

I connect to a WPA2 enterprise network on Debian Jessie using Network Manager on dhclient. It works fine until the lease expires: Feb 04 15:52:31 arjun-thinkpad NetworkManager[26926]: <info> [...
2
votes
0answers
693 views

NetworkManager fails to connect with a cloned MAC address

I need to spoof a specific MAC address to be able to connect to the local ethernet. So I filled in the "Cloned MAC address" field in nm-connection-editor. After this, nm-applet shows a spinning icon ...
2
votes
0answers
265 views

How to configure ipv4 Link-Local on Linux with systemd-networkd without violating RFC3927 specifications?

I'm using an embedded device with Linux 4.9 and systemd. I configured systemd-networkd in this way: [Match] Name=eth0 [Network] DHCP=v4 [DHCPv4] UseHostname=false How can I setup Link-Local only ...
2
votes
0answers
556 views

How to flush all the DHCP leases with virsh. So all not just one with net-update default delete ip-dhcp-host

OS: Fedora 28 KVM So I am trying to delete all the dhcp leases with virsh, so all of them at once not one by one or any one in particular. I know that you can use net-update default delete ip-dhcp-...
2
votes
0answers
828 views

How to use ISC KEA DHCP to inform “DNS” and “GATEWAY” to my DHCPv4 clients?

To illustrate I will inform the configuration of my ISC KEA DHCP (DHCPv4) and my DHCP client. Below is the configuration I am currently using for my ISC KEA DHCP (DHCPv4): $ cat /usr/local/etc/kea/...
2
votes
0answers
316 views

Is it possible to have the dhcp client ignore option 121 routes?

I'm running OpenVPN on a CentOS 7 server. The DHCP server on the LAN uses Option 121 to tell other devices to use this CentOS server if they want to get to the VPN subnets the OpenVPN server is ...
2
votes
0answers
2k views

udhcpc: no lease, failing WHEN booting on embedded linux created by Buildroot

The responsiveness of the Linux service udhcpc (native DHCP relative to /etc/init.d/S40network service which invokes ip up and udhcpc) differs before and after logging at the prompt. When invoked via ...
2
votes
0answers
759 views

No IP for USB 3G modem Huawei E3131 using modemmanager

I am trying to use a Huawei E3131 USB 3G modem on a Raspberry Pi system using raspbian (Debian 8) and modemmanager. I have two of those modems, and while they look the same, to the system they seem ...
2
votes
2answers
987 views

resolv.conf rewritten by DHCP even after setting the NIC as static, RHEL 7

I am facing a strange situation on all my RHEL 7 servers. All the RHEL 7 VMs are provisioned using a provisioning tool which connects to a VM offering a DHCP IP, once provisioning is complete we run a ...
2
votes
1answer
636 views

Release/Flush ifconfig pool of OpenVPN server

I've been conducting some tests with my OpenVPN which apparently resulted in the exhaustion of my ifconfig pool. Now when I try to connect to the server, it logs: Thu Mar 30 13:46:11 2017 client/<...
2
votes
0answers
1k views

getting DHCP ip address from router on Docker

Is it possible to get an DHCP ip address from my router on my a docker, I have tried using bridges and pipeline to no avail and beggining to think im crazy, TIA
2
votes
0answers
646 views

How to automaticaly assign network settings for dhcp server own interface with dnsmasq?

Is it possible to configure network interface via the DHCP server hosted on the same machine? Currently, I have next records in my /etc/network/interfaces: auto enp0s8 iface enp0s8 inet dhcp Also, ...
2
votes
0answers
231 views

How to configure Bind for Spamassassin

I'm wondering if anyone can help me out with following the directions I found here https://wiki.apache.org/spamassassin/CachingNameserver to set up a working configuration for Spamassassin. I think ...
2
votes
0answers
379 views

static hostname but dhcp for nameservers on centos7

I need the nameserver from dhcp, but I don't want the hostname or domain name. I need the nameserver, so setting /etc/resolve.conf doesn't work. Only way I've managed to get the system to use the ...
2
votes
0answers
2k views

eth0 NO-CARRIER on Arch/Wired Connection Not Working

The device is a DELL Vostro 1510 and I have tried both the r8169 and r8168 kernel modules. ethtool eth0 shows Auto-negotiation: on MDI-X: Unknown and Link Detected: No. Ip link shows <NO-CARRIER,...
2
votes
0answers
71 views

How to automatically switch between DHCP Server and Client mode on startup of several devices?

I do wan't to have several embedded devices to boot up at the same time and automatically select the first booted device as the dhcp server and the others as client. But every client can be the server ...
2
votes
0answers
1k views

What is the default behaviour of IPv4LL on Linuxsystems?

I'm looking for a good source and confirmation about Dynamic Configuration of IPv4 Link-Local Addresses. The rfc Dynamic Configuration of IPv4 Link-Local Addresses didn't really help answer my ...
2
votes
0answers
91 views

How to share a DHCP Server(Debian) that is created on VMware to other PC in the same switch

I've created a dhcp server(in Debian) on VMware. When I launch a new virtual machine on the same computer it works fine, it receives an IP address from the DHCP server. But how to connect other ...
2
votes
0answers
679 views

DHCP to assign different addresses for multiple interfaces and subnets

First of all, I'd like to point out that I've read any related questions asked here. So, on my desktop computer (running Ubuntu) I have three NICs - eth0, eth2, eth3. I have links connecting these ...
2
votes
2answers
1k views

NFS over TCP not available from (My server ip) - network is unreachable & permission denied

I am trying to boot linux mint from a server I set up in virtualbox. Server is running in linux mint, and the client that I'm testing on (also virtualbox) is disk-less and booting over network. After ...
2
votes
0answers
135 views

ISC DHCP Server - Qemu system

I've been trying to get dhcp address by an ISC Server. I have one DHCP Server and one qemu server with multiple image tiny core. Hopefully this ascii drawing illustrates the topology: Over the qemu ...
2
votes
0answers
797 views

How to trigger dhcp4-change using nmcli?

I am working on a networking script which will do certain things, e.g., interface up/down/dhcp4-change events happen. I also need to generate these events through Network manager, not through ...
2
votes
1answer
230 views

Does dnsmasq automatically update when running as a dhcp server as well?

I want to set up dnsmasq on a Raspberry Pi to use as a DNS server for my home network. My goal is to have a setup where when a new device is connected to the home network, it can be addressed by its ...
2
votes
0answers
323 views

configure port for dhcp request in uboot

We are fetching ip using DHCP in u-boot. we need to send via same interface (eg eth1) every time. but DHCP request sent via any configured interface(eth1/eth2..). How can we configure u-boot to send ...
2
votes
1answer
6k views

Cannot get IP address from WiFi access point (hostapd) with DHCP (dnsmasq) bridged with two ethernet adapters (bridge-utils)

My Android phone is trying to get DHCP address through WiFi connection, but fails. Obviously, I might have messed up something in my settings because I couldn't find a complete guide which would let ...
2
votes
0answers
498 views

dhclient appears to give address but interface does not get assigned it

I am trying to connect to wifi using wpa_supplicant. I use this config: network={ ssid="guest" #psk="guest" psk=<numbers> } I also tried this config: update_config=1 network={ ssid="...
2
votes
0answers
3k views

dhclient cannot get address from home router

I have a home router providing internet access to my desktop and laptop. Both computers are running Ubuntu GNU/Linux version 12.04, and have been configured to use DHCP upon installation. So the ...
2
votes
1answer
248 views

Why VMware DHCP persists getting offline?

I am trying to set up a SSH server in my remote machine which is running Windows 7 on it currently. So first I set up a Oracle VirtualBox but it did not work for me properly. Then I decided to go with ...
2
votes
1answer
419 views

Whonix no DHCP offer received

Hi I'm on the last step of setting up Whonix physical isolation and can't get the gateway to see the workstation. I'm confused because on the page linked below where it says 'Host Network' and 'NAT ...
2
votes
0answers
551 views

Can't connect unsecured wifi from Wicd or terminal

I can connect without issue to WPA networks, but if I am somewhere like a hotel and try to connect to an unsecured WiFi, things hang at the DHCP part and I don't get an IP assigned. I'm running ...
2
votes
0answers
861 views

Booting over the LAN using uboot

I am trying to boot my beaglebone over the LAN. I am able to download the Kernel uImage from the TFTP server. Here is what I did - U-Boot SPL 2011.09-00053-gb423c52 (Aug 10 2012 - 11:26:55) Texas ...
2
votes
0answers
578 views

How can I renew lease when it kept printing eth0 lease expired x seconds ago?

My guest VM cannot get an IP address from my host. It keeps printing: eth0: lease expired x seconds ago I've tried to start dhclient -r and dhclient and restart eth0 to no avail, see here for more. ...
2
votes
0answers
5k views

Debian Wheezy netinstall can't configure DHCP

I am reinstalling my Debian system with the Wheezy netinstall image on a USB drive. I have a wireless router that also comes with ethernet ports, so I could either connect to my LAN via wifi OR ...
1
vote
0answers
18 views

Manage identical dhcp servers

I have a weird problem that needs a solution. I have many identical DHCP Servers, configured the same way, same subnet, same range, same everything (are actually some PCs) and i would like to somehow ...