[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dhcpd problem in 3.6 snapshot
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: dhcpd problem in 3.6 snapshot
- From: Didier Wiroth <didier_(_dot_)_wiroth_(_at_)_mcesr_(_dot_)_etat_(_dot_)_lu>
- Date: Tue, 28 Sep 2004 18:06:52 +0200
Hi,
I've upgraded to the latest snapshot (because I had a problem with my soekris box).
When I try to launch dhcpd via rc.conf or via command line it doesn't work, .. actually it doesn't work at all.
I tried these methods
1a) having dhcpd_flags=""
1b) in dhcpd.interfaces my interface "sis0"
or
2a) touch /var/db/dhcpd.leases
2b) dhcpd -df -q sis0
My dhcpd.conf contains:
shared-network LOCAL-NET {
option domain-name "internal.local";
option domain-name-servers 172.16.43.1;
option routers 172.16.43.1;
option broadcast-address 172.16.43.255;
subnet 172.16.43.0 netmask 255.255.255.0 {
range 172.16.43.15 172.16.43.40;
}
}
Here we can see that dhcpd runs:
_dhcp 31357 0.0 0.5 220 644 00 I+ 5:51PM 0:00.05 dhcpd -df -q sis0
But here we can see it doesn't listen to an interface (netstat -anf inet):
tcp 0 0 127.0.0.1.587 *.* LISTEN
tcp 0 0 127.0.0.1.25 *.* LISTEN
tcp 0 0 172.16.43.1.22 *.* LISTEN
tcp 0 0 127.0.0.1.8021 *.* LISTEN
tcp 0 0 127.0.0.1.953 *.* LISTEN
tcp 0 0 172.16.43.1.53 *.* LISTEN
udp 0 0 127.0.0.1.512 *.*
udp 0 0 *.35290 *.*
udp 0 0 172.16.43.1.53 *.*
udp 0 0 *.514
There is:
1) no dhcpd related message in /var/log/messages,
2) there isn't any pf rule blocking the daemon from running on the interface
3) there are no messages on the console.
The snapshot is from 17.09.
What can I try?
Thx a lot and sorry for the long post!
Visit your host, monkey.org