Rogue DHCP server

Whitehill

Registered
I'm trying to start up a DHCP server on a 10.5.3 system. It refuses to start, claiming that there is already a server running, no details. Yes, I have a router and have been using its server, but I have disabled it. How can I see if there is really some rogue server on my LAN?

I saw a hint somewhere that this command might help
ipconfig getpacket en0​
but it displays nothing.
 
Will the DHCP service start if you completely disconnect the computer from the network?

Do you have a statically-assigned IP address on the server?
 
Will the DHCP service start if you completely disconnect the computer from the network?
Don't know. I'll try that when I can.

Do you have a statically-assigned IP address on the server?

No. Yes. Wait, I mean the machine on which I'm trying to start up the new server has an address statically assigned by itself.
 
Hmmm... the only thing I can think of is some router with DHCP turned on that's conflicting with the DHCP service on the server, or maybe perhaps the server's IP address is within the range of IPs it's supposed to be handing out to other computers.

We can troubleshoot more when you try the "start DHCP with no network connection" thing and see what the results are.
 
I unplugged the ethernet cable and tried to start it. It refused saying it could not find interface en0. So I plugged it back in and tried again ...
Code:
Listening on BPF/en0/00:1f:f3:d4:f4:e6/10.0.101/24
Sending on   BPF/en0/00:1f:f3:d4:f4:e6/10.0.101/24
Can't bind to dhcp address: Address already in use
Please make sure there is no other dhcp server
running and that there's no entry for dhcp or
bootp in /etc/inetd.conf.
I don't know how to answer the inetd question on MacOS. The machine is 10.0.101.10. Here is dhcpd.conf.
Code:
include "/etc/rndc.key";
option domain-name-servers ns1.home.net, ns2.home.net;
option domain-name "home.net";
ddns-update-style interim;
ddns-updates on;
authoritative;
ddns-domainname "home.net";
# Internal Subnet
subnet 10.0.101.0 netmask 255.255.255.0 {
	range 10.0.101.201 10.0.101.231;
	}
zone myzone. {
	primary 10.0.101.10;
	key rndc-key;
	}
 
Last edited:
Back
Top