Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [dhcp]

DHCP is an auto configuration protocol used on IP networks.

1
vote
0answers
16 views

DHCP interferes with hostname configuration

I'm running an arch system with KDE4/Plasma, wpa_supplicant, networkmanager, systemd ... cat /proc/version Linux version 5.0.0-arch1-1-ARCH (builduser@heftig-18825) (gcc version 8.2.1 20181127 (...
0
votes
0answers
18 views

How to get DHCP info from DHCP Client to DHCP Server

I have a firewall with an Internet-facing ethernet, and a home LAN facing ethernet. The Internet-facing interface acquires DNS server ip addresses from the ISP's DHCP server. I would like to propagate ...
0
votes
1answer
12 views

No IP4 connectivity over bond; slaves listed as “routable” instead of “enslaved”

Bond settings: root@gentooserver /etc/systemd/network # tail -n +1 * ==> bond1.netdev <== [NetDev] Name=bond1 Kind=bond [Bond] Mode=802.3ad MIIMonitorSec=1s LACPTransmitRate=fast ...
0
votes
0answers
11 views

How do I connect to wifi using nmcli on slackware? Re: DHCP client

I've just installed Slackware 14.2, and I'm trying to get everything working. I started out trying to use KDE, but I like the command line better anyway, because it doesn't hide so much from me. So, ...
0
votes
1answer
34 views

DNS + DHCP in home lab [on hold]

Setting up a home lab. I was originally planning on using static ips for everything and then powerdns + poweradmin for DNS. Recently though it dawned on me that it would be a lot simpler to just use ...
0
votes
0answers
12 views

How to permanently change interface metrics if using DHCP on SLES 12?

At: Changing the metric of an interface permanently I can see there is a solution, that when if geting IPs via DHCP, you can set metrics per interface, so a given one could come up later. But for ...
-1
votes
0answers
24 views

Customized captive portal with external DHCP server [closed]

Usecase: Whenever any wireless device will get connect to access point, it will send DHCP request. Access Point will forward DHCP request to Fortinet DHCP server and block all other request for that ...
1
vote
0answers
11 views

How to override DHCP client identifier

I'm running a DHCP/DNS server with dynamic DNS on Debian 9 (Stretch) How do I override a clients DHCP identifier and place in my own custom value? E.g Android phones on the network identify ...
0
votes
1answer
16 views

Dnsmasq/Ubuntu “NoDHCP or proxyDHCP offers were received”

I've spun up a Ubuntu 18.04 (Bionic Beaver) server* with the intention of mounting the DBAN .iso so that I can PXE boot this. *server version of Ubuntu but this is actually desktop hardware (a Dell ...
1
vote
0answers
34 views

Beaglebone Debian/Wheezy. Static IP address some times is changed

I have Beaglebone Black with installation of Debian 7.11 Wheezy I have network which is created from Beaglebone and the Beaglebone IP address is set to be static: 192.168.20.1 This is my /etc/...
0
votes
0answers
53 views

Ubuntu 18.04 server dhcp issues on VirtualBox 6.0.4 with bridged adapter

I'm having issues with dhcp on virtualbox 6.0.4 with an ubuntu 18.04 server guest -- when using a bridged adapter, it hangs on startup while configuring network settings, and dhclient just fails ...
0
votes
1answer
36 views

DHCP VLAN not working on the client side?

I have developed a server using Linux. The server is a DHCP VLAN server consisting of two VLANs 110 and 120. I am trying to get it working to the client side. My /etc/network/interfaces for VLAN 110 ...
0
votes
0answers
55 views

Manage a VPN TUN connection under fedora 29 dhcp routing dns

SoftEther is a nice project to establish a VPN a bit easily using both windows and linux enviorment. It has also a vpn azure ddns. My enviorment is A network 192.168.1.0/24 with various host most ...
1
vote
0answers
73 views

Network-manager randomly timeout

I'm currently using my phone as a wireless AP to acquire the Internet on my laptop which is currently on Debian Stretch. I can use multiple SIM card on my phone, and I happen to switch between them ...
0
votes
2answers
64 views

Disable Internet Access on Eth0

I have a Raspberry with eth0 (192.168.02 / static) connected to a router (Fritz Box @ 192.168.0.1). The Router has internet connection. The Raspberry has a mobile usb stick with ppp connect to the ...
0
votes
1answer
24 views

How to use dhcp6c command to transmit a release message, confirm message, and do stateless dhcp?

I am trying to use the dhcp6c command to transmit a release message but it is unclear how to do that. I did find https://www.systutorials.com/docs/linux/man/8-dhcp6c/ but I was confused about the part ...
1
vote
0answers
24 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> [...
1
vote
0answers
79 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 ...
0
votes
1answer
89 views

debian wireless driver is not recognized

I've installed debian 9.7 recently and during installation i got this error: DHCP autoconfiguration failed I continued the installation and as it finished the wireless doesn't work. I've ...
0
votes
0answers
40 views

PiHole issues with dual band routers

I have a raspberry pi running pihole as an adblocker AND dhcp server, and a dual band router with two discrete signals send out {ssid1.2G and ssid2.5G} When the pihole dhcp service is on, my laptop (...
0
votes
0answers
67 views

systemd-networkd: DHCP OFFER not accepted from wifi AP

I’ve got two wifi APs and one station. Each AP got a DHCP server. I’m using systemd-networkd as DHCP client. AP1 : 11:11:11:11:11:11 AP2 : 22:22:22:22:22:22 station (jokobox) : aa:aa:aa:aa:aa:aa (...
1
vote
1answer
56 views

DHCP Lease Renew Issues with Intel NUC using CentOS 7

I am seeing the following activity in my /var/log/messages file that seems to happen every night at 02:58. The issue is that sometimes the machine comes back online and sometimes it does not. What ...
0
votes
0answers
19 views

Temporary failure resolving `mirror.fsmg.org.nz` when updating kali [duplicate]

apt update 0% [Connecting to mirror.fsmg.org.nz] Err:1 http://mirror.fsmg.org.nz/kali kali-rolling InRelease Temporary failure resolving 'mirror.fsmg.org.nz' Reading package lists... Done Building ...
3
votes
2answers
88 views

Is there a command to insert a mac address into a subnet in dhcpd.conf file?

I am looking for a command that allows me to insert an host inside the dhcpd.conf file without manualy touching that file. I am using: CentOS release 5.3. The file looks like this: subnet 97.129.0....
0
votes
0answers
59 views

Implementing a quota using iptables in an openwrt system

I would like to explain what I'm currently working on briefly and explain issues I need to address. We have a device (a TP-link Access Point) that we have our custom linux kernel running (which is a ...
1
vote
1answer
40 views

ping: network unreachble although I have an IP through DHCP [closed]

I am about to install Archlinux on a root server via VNC. For installation Archlinux needs an internet connection. If I run ip addr it seems to me that I get an IPv6 address via DHCP (every reboot it'...
1
vote
1answer
188 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.
0
votes
0answers
25 views

Why are these DHCP log entries repeated

I see multiple entries from the same device for each attempt to connect. Consider these 3 entries from an iphone and 4 entries from another device. What do the "via ..." indicate ? What does the ":1" ...
2
votes
0answers
94 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 ...
1
vote
1answer
72 views

DHCP Server IP Conflict Detection

I am setting an Wifi Access point. A common problem about this is that router or etc. could be giving similar IP address to client devices which will cause problems. My question here is that is there ...
1
vote
2answers
134 views

Which program is releasing Linux's Dynamic IP address, if dhclient already killed?

After dhclient was killed, in short term, I didn't see the Dynamic IP lost. Then, after a weekend, the Dynamic IP address is gone. Just wonder which program released it.
-1
votes
2answers
454 views

How to configure dnsmasq to use /etc/hosts instead of “dhcp-host”?

I have been able to configure static ip for specific client in /etc/dnsmasq.conf by using "dhcp-host": http://manpages.ubuntu.com/manpages/cosmic/en/man8/dnsmasq.8.html I would like to use /etc/...
2
votes
0answers
211 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-...
1
vote
1answer
35 views

Debian 8(Jessie) started before DHCP server results in no network connection

Recently we got a power outage and our debian 8 Raspberry Pi did not reconnect to the internet. We noticed that our DHCP server was very slow to start > 5 min. In this time the Pi was already up and ...
1
vote
2answers
26 views

servresolv.conf become blank when system is running

I use dhcpcd to manage this file. First, start dhcpcd service, and the file has something with namesever. All things can be done correctly. But this file will become blank after a while. I try ...
0
votes
2answers
93 views

dhcpcd service disabled yet dhcp works

I am using Arch (Manjaro) with Gnome. My organisation recently switched to a DHCP server. So we all had to switch our computers from static to DHCP. What I noticed is that the dhcpcd service is ...
0
votes
2answers
214 views

dhclient command does not allocate ip address to my interface

So I was trying to access a website through my browser but I couldn't. So I issued the ifconfig command to see if there was something wrong with the IP address I noticed that the interface enp0s3 ...
1
vote
0answers
25 views

Mobile Broadband for only one host

What is the easiest method to configure a mobile broadband connection in a way that: no default route is added a route to a specific host is added The connection is managed by Network Manager. The ...
0
votes
0answers
203 views

dnsmasq does not hand out IP addresses

I am trying to learn about networking, specifically, what I am currently trying is creating a private network that runs behind a NAT that connects to my main router. The way I've though of it is as ...
0
votes
1answer
187 views

Problem with Wpad file in Mozilla Firefox

I have this wpad.pac function FindProxyForURL(url, host) { if (isPlainHostName(host) || shExpMatch(host, "*.local") || isInNet(dnsResolve(host), "192.168.0.0", "255.255.255.0") || isInNet(...
0
votes
1answer
62 views

Change default gateway & assigned IP via script

I need some pointing in the right direction as I've tried a lot of different things over the past few days without success. I'm new to using bash and linux in general. I'm trying to detect when the ...
1
vote
1answer
149 views

exclude local addresses in wpad

I have a proxy Ubuntu 18.04, with squid 3128 and apache2, and I publish the auto configuration file proxy.pac with the option dhcp 252. The file has the following contents: function FindProxyForURL(...
1
vote
3answers
886 views

Systemd-networkd: Run script after DHCP client aqcuires new address

I am on ubuntu 18.04 server. I need to run a script that updates an IP address on CloudFlare (kind of DynDNS script). In previous versions I could do this with a DHCLIENT exit hooks for the interface ...
1
vote
1answer
52 views

How to make dhcpd recognize a new interface without restart

I'm working on automatizated virtualization but currently i'm stuck with setting up the DHCP server. The problem is, every time i create a virtual machine, i have to restart the daemon to register the ...
3
votes
1answer
449 views

Permanent outgoing IP address with enabled DHCP [closed]

I have some problems making my outgoing IP address configuration permanent. I googled a lot and I do not find configuration that work for me. Assume my network is 192.168.1.0/24 with default gateway ...
0
votes
0answers
142 views

block LAN device by mac address using dnsmasq

My router is using dnsmasq as the dhcp server. I currently see a device identified as EPSONBBE74B which is receiving a dynamic IP address. I don't recognize that device. Nobody here can find it. I ...
0
votes
0answers
15 views

Avoid network start timeout when upping bridge on bootup

I have a laptop that has wifi and cable. The ethernet interface is called enp0s21f5 and I need to have it under a bridge to be able to connect tap/tun from kvm virtual machines. The networking is ...
1
vote
1answer
65 views

Is it possible to set up a secure PXE server available on the internet? [closed]

Yesterday, I successfully installed a working PXE server on a Raspberry Pi and managed to boot from it on my home server on my local network. My goal is to build a cluster with a master node hosted ...
0
votes
2answers
60 views

Is there a way to cache the last IP assigned on DHCP clients and use that if the DHCP server is down?

I would like my DHCP clients (CentOS 7) cache the last IP assigned (reserved) for them and use that if the DHCP server is down. Below is the current network interface configuration of my DHCP clients:...
0
votes
1answer
71 views

Name or service not known in DHCP subnet [closed]

I'm trying to setup proper ip forwarding within a DHCP subnet generated through a host with two different netowrk adapters. My current situation is the following: First node with two networks ...