Hello everyone
I'm trying to setup a DHCP3 server whitout succes
1- I have configured dhcpd.conf whit these parameters:
option domain-name-servers 10.0.0.1;
default-lease-time 60;
max-lease-time 72;
ddns-update-style none;
authoritative;
log-facility local7;
subnet 10.0.0.0 netmask 255.255.255.0 {
range 10.0.0.100 10.0.0.254;
option routers 10.0.0.1;
option domain-name-servers 10.0.0.1;
}
2- I want to launch dhcp3 on mon0 interface, so here is my command line:
ifconfig mon0 up 10.0.0.1 netmask 255.255.255.0
3- JSo I fire up DHCP3:
dhcpd3 -cf /etc/dhcp3/dhcpd.conf mon0
4- Then I received the following results:
cayaman@cayaman-laptop:~$ sudo dhcpd3 -cf /etc/dhcp3/dhcpd.conf mon0
[sudo] password for cayaman:
Internet Systems Consortium DHCP Server V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 leases to leases file.
mon0: unknown hardware address type 803
Listening on LPF/mon0//10.0.0/24
Sending on LPF/mon0//10.0.0/24
Sending on Socket/fallback/fallback-net
Can't create PID file /var/run/dhcpd.pid: Permission denied.
Can you help me ??? How come it Can't create PID file /var/run/dhcpd.pid: Permission denied ?
Do not hesite to ask me more infos. Thanks in advance !
Bookmarks