That is exactly what I have on my network...a Pi4 running DHCP and DNS servers. It needs a static IP address for two reasons. These may be obvious, but restating them here for those who haven't sorted all this yet.But what if the Pi is supposed to become the DHCP server for the entire SOHO network?
- The DHCP server can't be used to configure it b/c Catch-22: The server isn't on the network to respond to the DHCP request (from itself
)
- /etc/resolv.conf on all the other systems on the network have an IP address for their DNS server, since they can't query the server to get its IP address if you don't know its address.
Code:
[connection]id=eth0uuid=aafb8b76-81da-3a3e-b525-f5b9194ab3cbtype=ethernetautoconnect-priority=-999interface-name=eth0[ethernet][ipv4]method=manualaddress1=192.168.92.3/24gateway=192.168.92.1dns=192.168.92.3dns-search=mydomain.com.com[ipv6]addr-gen-mode=defaultmethod=disabled
Statistics: Posted by bls — Sun Feb 04, 2024 11:40 pm