dhcp3 server 出现subnet错误

由 zxwmail 在 08-12-2004 22:00 发表:

dhcp3 server 出现subnet错误

以下是错误信息和我的配置,请高手指点一下。

debian woody

samba:/etc/dhcp3# dhcpd3 restart

Internet Software Consortium DHCP Server V3.0.1rc9

Copyright 1995-2001 Internet Software Consortium.

All rights reserved.

For info, please visit http://www.isc.org/products/DHCP

Wrote 1 leases to leases file.

No subnet declaration for restart (0.0.0.0).

** Ignoring requests on restart. If this is not what

you want, please write a subnet declaration

in your dhcpd.conf file for the network segment

to which interface restart is attached. **

Not configured to listen on any interfaces!

samba:/etc/dhcp3# dhcpd3 restart eth0

Internet Software Consortium DHCP Server V3.0.1rc9

Copyright 1995-2001 Internet Software Consortium.

All rights reserved.

For info, please visit http://www.isc.org/products/DHCP

Wrote 1 leases to leases file.

Listening on LPF/eth0/00:10:5c:ac:38:5e/192.168.0.0/24

Sending on LPF/eth0/00:10:5c:ac:38:5e/192.168.0.0/24

No subnet declaration for restart (0.0.0.0).

** Ignoring requests on restart. If this is not what

you want, please write a subnet declaration

in your dhcpd.conf file for the network segment

to which interface restart is attached. **

Sending on Socket/fallback/fallback-net

samba:/etc/dhcp3# There's already a DHCP server running.

samba:/etc/dhcp3# ifconfig

eth0 Link encap:Ethernet HWaddr 00:10:5C:AC:38:5E

inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:36073 errors:0 dropped:0 overruns:0 frame:0

TX packets:3647 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:100

RX bytes:2728125 (2.6 MiB) TX bytes:356815 (348.4 KiB)

Interrupt:10 Base address:0xe000

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:254 errors:0 dropped:0 overruns:0 frame:0

TX packets:254 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:16782 (16.3 KiB) TX bytes:16782 (16.3 KiB)

route

Kernel IP routing table

Destination Gateway Genmask Flags Metric Ref Use Iface

localnet * 255.255.255.0 U 0 0 0 eth0

我的配置文件。

dhcpd.conf

#<br /

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus