Can't start dhcpd 4.0

Кузьменко Денис kuzmenko.den at gmail.com
Wed May 7 08:51:10 UTC 2008


Hi everyone!

I hope, you can help me.

On starting dhcpd, I've received error-message:
> Internet Systems Consortium DHCP Server 4.0.0
> Copyright 2004-2007 Internet Systems Consortium.
> All rights reserved.
> For info, please visit http://www.isc.org/sw/dhcp/
> Wrote 0 deleted host decls to leases file.
> Wrote 0 new dynamic host decls to leases file.
> Wrote 0 leases to leases file.
> Error opening '/proc/net/if_inet6' to list IPv6 interfaces; No such 
> file or directory
> Can't get list of interfaces.

I think, that happens, because I have no ipv6 on my system.
I've tried to start with "dhcpd -4" and also tried "./configure 
--disable-ipv6 --without-ipv6", but got same error.

Here is my dhcpd.conf:
> #dhcpd.conf
>
> default-lease-time 80000;
> max-lease-time 16000;
>
> option subnet-mask 255.255.255.0;
> option domain-name-servers 193.227.250.50, 193.227.251.50;
>
> option space gpxe;
> #option gpxe-encap-opts code 175 = encapsulate gpxe;
> option gpxe.bus-id code 177 = string;
>
>
> subnet 192.168.1.0 netmask 255.255.255.0 {
>         option routers 192.168.1.1;
>         option broadcast-address 192.168.1.255;
> }
>
> subnet 192.168.2.0 netmask 255.255.255.0 {
>         option routers 192.168.2.1;
>         option broadcast-address 192.168.2.255;
> }
>
> host notebook {
>         hardware ethernet 00:18:de:1b:fa:29;
>         fixed-address 192.168.2.2;
> }
>
> host desktop {
>         hardware ethernet 00:0b:6a:ef:75:0e;
>         fixed-address 192.168.1.2;
>         if not exists gpxe.bus-id {
>                 filename = "gpxe-0.9.3-rtl8139.pxe";
>         }
>         else{
>                 filename = "";
>         }
>         option root-path "aoe:e0.0";
> }

Here is ifconfig output
> ath0      Link encap:Ethernet  HWaddr 00:15:E9:45:F4:0C
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:228767 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:103730 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:76695632 (73.1 Mb)  TX bytes:17895115 (17.0 Mb)
>
> eth0      Link encap:Ethernet  HWaddr 00:30:84:77:98:A3
>           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:647686 errors:0 dropped:490 overruns:0 frame:0
>           TX packets:704965 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:115893971 (110.5 Mb)  TX bytes:711603731 (678.6 Mb)
>           Interrupt:11 Base address:0x7000
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:122 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:16219 (15.8 Kb)  TX bytes:16219 (15.8 Kb)
>
> ppp0      Link encap:Point-to-Point Protocol
>           inet addr:192.168.223.18  P-t-P:192.168.253.254  
> Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
>           RX packets:85057 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:81406 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:3
>           RX bytes:64454895 (61.4 Mb)  TX bytes:15139286 (14.4 Mb)
>
> rausb0    Link encap:Ethernet  HWaddr 00:80:5A:4E:1E:DB
>           inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:1018621 errors:0 dropped:28147 overruns:28147 
> frame:28147
>           TX packets:954499 errors:0 dropped:988 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:256107472 (244.2 Mb)  TX bytes:117105858 (111.6 Mb)
>
> wifi0     Link encap:UNSPEC  HWaddr 
> 00-15-E9-45-F4-0C-00-00-00-00-00-00-00-00-00-00
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:3816490 errors:0 dropped:0 overruns:0 frame:10657903
>           TX packets:117969 errors:163 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:199
>           RX bytes:454379565 (433.3 Mb)  TX bytes:20837545 (19.8 Mb)
>           Interrupt:12

Route output:
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    
> Use Iface
> pppoe-term.riad *               255.255.255.255 UH    0      0        
> 0 ppp0
> 192.168.2.0     *               255.255.255.0   U     0      0        
> 0 rausb0
> 192.168.1.0     *               255.255.255.0   U     0      0        
> 0 eth0
> 169.254.0.0     *               255.255.0.0     U     0      0        
> 0 rausb0
> 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> default         pppoe-term.riad 0.0.0.0         UG    0      0        
> 0 ppp0






More information about the dhcp-users mailing list