LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   openBSD 4.4 dhcpd.conf, weard thing ? (https://www.linuxquestions.org/questions/%2Absd-17/openbsd-4-4-dhcpd-conf-weard-thing-778446/)

spatieman 12-28-2009 06:39 AM

openBSD 4.4 dhcpd.conf, weard thing ?
 
Ok, below is my current dhcpd.conf on my bsd 4.4 box.
the config works like a sharm , but after spitting some logs
is says wen starting dhcpd cant listen of pflog0
that is what is says when i start dhcpd.

as you can see, i have some fixed IP entries.
my question, do i have a fault in the config ?
fxp0 is WAN interface (192.168.1.x) from modem
RL0 the lan ,(192.168.0.x)
or is it just ok ?, i thaught, post it here .
i am not a guru, but have avarage knowledge of things like this.

# $OpenBSD: dhcpd.conf,v 1.1 1998/08/19 04:25:45 form Exp $
#
subnet 192.168.1.0 netmask 255.255.255.0 {}

shared-network LOCAL-NET {
option domain-name "xs4non.nl";
option domain-name-servers 192.168.0.240;
option time-servers 82.94.107.211, 194.165.35.11, 80.69.93.212;
option routers 192.168.0.240;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
default-lease-time 18000;
max-lease-time 36000;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.1 192.168.0.25;
}
}

host ip-webcam {
hardware ethernet 00:03:ea:04:28:63;
fixed-address 192.168.0.222;
}

host dm600pvr {
hardware ethernet 00:09:34:26:37:d8;
fixed-address 192.168.0.241;
}

kbp 12-29-2009 09:55 PM

The dhcpd should not be attempting to listen on pflog0, if you follow the directions here, you should be able to define which interfaces it attempts to bind to, then restart it.

cheers

spatieman 01-05-2010 09:25 AM

thnxs!


All times are GMT -5. The time now is 02:48 AM.