the Dynamic Host Configuration Protocol (DHCP) is a network protocol that automatically configures clients (or hosts) on the network, such as IP addresses and networking parameters. Questiosn include the Pi acting as a DHCP server or client.
Questions tagged [dhcp]
337 questions
8
votes
2 answers
Forcing DHCP to release and renew and use a reservation?
I am able to ssh into my new RPi. One of the things I like to do to my infrastructure devices is to go ahead and convert their DHCP assignment to a reservation. My router is a CradlePoint
Firmware Version : 2.0.0, 2012/04/16
WiMAX Version :…
Cade Roux
- 2,107
- 5
- 23
- 27
5
votes
4 answers
Disabling DHCP Server
For some strange reason, my Raspberry Pi is acting as the DHCP server on my home network. Whenever a computer boots up in our house, it's immediately told that the IP address for the DHCP server is my Pi.
I don't know if there's some way to prevent…
sctjkc01
- 306
- 1
- 3
- 10
4
votes
3 answers
Default content of /etc/dhcp/dhclient.conf from Raspbian
Could some kind soul please post the default content of the dhclient.conf file from /etc/dhcp/ as I've managed to delete mine :/
jdtanner
- 43
- 1
- 1
- 3
4
votes
1 answer
Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ... failed!
ISC isnt running, heres everything I can give you:
Startup:
pi@wtfwifi:~ $ sudo service isc-dhcp-server start
Job for isc-dhcp-server.service failed because the control process exited with error code.
See "systemctl status isc-dhcp-server.service"…
gido5731
- 71
- 1
- 2
- 10
3
votes
1 answer
Too many dhcpcd "router available" message in the syslog
I'm visiting my relative's house during this holiday. I bought my Raspberry Pi 3 and other gadgets. The Pi is a media server and a wifi router to share the internet in the guest room.
Everything is working, but I noticed syslog kept recording the…
Chihaya
- 84
- 1
- 9
3
votes
1 answer
Why am I not receiving a DHCPOFFER, RaspberriPi, DHCP, Linux
Current setup are 2 "RaspberriPi 3" models
On the first one I am trying to establish an ad-hoc network with the following commands
ifconfig wlan0 down
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 essid RPInet
ifconfig wlan0 10.0.0.200 netmask…
wa112
- 35
- 6
2
votes
2 answers
Remove static IP and Enable DHCP?
Raspberry Pi-3 running Stretch.
There are dozens of posts here and on other forums about how to set a static IP for the Pi. My problem is the other direction.
I have several Pi's, esp switches and a couple of computers on my home LAN. Since an IP…
user3573562
- 289
- 2
- 6
- 15
2
votes
0 answers
dhcpcd: Can't assign IP
I have recently changed my network configuration. One of the things I changed was the DHCP server, which was previously in the router.
I am seeing the following messages in daemon.log:
Jan 25 15:21:11 octopi dhcpcd[1025]: eth0: rebinding lease of…
Mario Camou
- 121
- 2
1
vote
2 answers
cannot connect to the internet - stretch
I am trying to get my pi 3B+ (stretch) back online but it does not work anymore. it was working until last week. plugging a windows PC on the same ethernet plug and using the same settings works. I cannot use dynamic IPs. the ethernet cable works,…
livio
- 19
- 3
1
vote
0 answers
RPi + eth-usb adapter + isc-dhcp-server
RPI3, Raspbian, dhcp server (isc-dhcp-server)
I have a device connected to RPi3 directly through usb-ethernet adapter (I need 2 ethernet ports: 1 eth by RPi3 and 1 by usb-eth adapter)
But I cant see my device! Device is working 100%…
MMM
- 11
- 1
1
vote
2 answers
Pihole still making DHCP leases for hosts which have a static DHCP lease
I have some hosts on my network that I want to always have the same IP address therefore I set them up under the static DHCP lease section within the pihole configuration.
I then delete the existing lease that host has, and then restart the host.…
dalanmiller
- 159
- 11
1
vote
1 answer
DNSmasq error: dnsmasq[1122]: Too few arguments
DNSmasq status shows on Raspberry pi 4:
Jan 18 17:05:13 raspberrypi systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Jan 18 17:05:13 raspberrypi dnsmasq[1112]: dnsmasq: syntax check OK.
Jan 18 17:05:13 raspberrypi…
Herondas
- 21
- 5
0
votes
1 answer
Can't get isc-dhcp-server started
I'm trying to get a DHCP server running on a Raspberry Pi 3 Model B. I've followed instructions in several guides I've found and keep seeing the same error when I try to start the server:
root@killarney:/etc/network# service isc-dhcp-server…
HankB
- 149
- 5
0
votes
1 answer
Syslog flooded with messages: dhclient: DHCPREQUEST on eth0 to 192.168.11.1 port 67
My syslog is filled with:
Jun 27 10:20:08 pi dhclient: DHCPREQUEST on eth0 to 192.168.11.1 port 67
Jun 27 10:20:19 pi dhclient: DHCPREQUEST on eth0 to 192.168.11.1 port 67
Jun 27 10:20:30 pi dhclient: DHCPREQUEST on eth0 to 192.168.11.1 port 67
Jun…
naught
- 1
- 3
0
votes
1 answer
Cannot connect to DHCP server running on the rpi
I'm trying to set up my raspberry pi as a VPN Gateway following this tutorial:
http://blog.frd.mn/raspberry-pi-vpn-gateway/
I'm using another WLAN-adapter but that shouldn't matter. So at the end I get all the services (hostapde, isc-dhcp-server,…
Thomas
- 171
- 7