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

Questions tagged [dhcp]

DHCP is an auto configuration protocol used on IP networks.

0
votes
0answers
6 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 ...
0
votes
0answers
42 views

Network-manager not responding when IP address change on the same AP

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
27 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
17 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
8 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
42 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
36 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
26 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
35 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
33 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
84 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
39 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
39 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
65 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
17 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
56 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
55 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
82 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
218 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/...
1
vote
0answers
143 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
34 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
65 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
137 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
23 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
127 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
144 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
51 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
108 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
2answers
602 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
44 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
370 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
112 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
14 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
55 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
0answers
27 views

Share my computer's connection

I have tried several methods and none worked out for me, so I come here to ask for help. I have two network interfaces: eth0, that is connected to my office network and gets its IP from a remote DHCP ...
0
votes
2answers
50 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
55 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 ...
0
votes
2answers
40 views

Can't sniff / initiate DHCP renew

I am running sudo tcpdump -i enp0s31f6 -n port 67 and port 68 on one terminal and running sudo dhclient -r on another. During this, I see nothing on first terminal. What I am doing wrong? ...
0
votes
1answer
61 views

DHCP DNS and Domain resolution NetworkManager

My environment is following, all cabled with gigalan, all latest Debian 9, vm with virtualbox on 2 different physical hosts. A mikrotik internet router which acts as DHCPD I configured it setting ...
1
vote
1answer
320 views

Why do I have so many /etc/resolv.conf.dhclient-new.xxxx files?

I don't understand why I have on one machine (debian 9) so many /etc/resolv.conf.dhclient-new.xxxx files my /etc/dhcp/dhclient.conf option rfc3442-classless-static-routes code 121 = array of ...
1
vote
2answers
810 views

CentOS 7 DHCP Client - How to use “classless-static-routes” (“code 121”)?

According to this answer... https://unix.stackexchange.com/a/457577/61742 ... I can use the following configuration to use pushed routes from my DHCP server in my DHCP client by placing in the /etc/...
2
votes
0answers
319 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
2answers
71 views

Why is DHCPD offering wrong lease times?

I have DHCPD on OpenBSD 5.8 running and experiencing a weird issue. I set the lease time as follows in /etc/dhcpd.conf: max-lease-time 7200; default-lease-time 7200; This should be 2 hours. When I ...
4
votes
3answers
834 views

Is it possible to use a single DHCP server to push completely different ranges of ip to different network interfaces in different LANs?

Is it possible to use a single DHCP server to push completely different ranges of ip to different network interfaces in different LANs? EXAMPLE: I have the Severs #1 and #2. Severs #1: A DHCP ...
2
votes
0answers
78 views

Is there any hook for isc-dhcp-server returning the DHCPACK to client? [closed]

I would like to run a script in the server after the isc-dhcp-server send the DHCPACK packet to client. Only now I get it solution is that running a script to retrieve the dhcp log, but it is not ...
1
vote
1answer
714 views

How can I use ISC KEA DHCP (DHCPv4) server to push routes to clients?

QUESTION: I have an infrastructure with 5 servers (Server #1, #2, #3, #4 and #5). I am trying to use a server (Server #5) with ISC KEA DHCP (DHCPv4) ( https://kea.isc.org/wiki ) to push routes to ...
1
vote
1answer
33 views

Arch i3wm valid ip, DHCP problem

related but solved by workaround: In Archlinux, it has a valid ip, but no connection could established So my arch system has gone "offline" some time ago. I didn't bother to much because I used the ...
2
votes
1answer
666 views

Use dnsmasq to pushing routes to my clients on a small local network

I'm trying to use dnsmasq to pushing routes to my clients on a small local network. However my clients (Server #1, #2 and #3) can not use these routes. The dnsmasq service is running and I do not ...