dhcp启动不了

由 lc666111 在 09-05-2004 16:08 发表:

dhcp启动不了

dhcp.conf文件如下

ddns-update-style interim;

ignore client-updates;

subnet 192.168.0.0 netmask 255.255.255.0 {

range 192.168.0.10 192.168.0.15;

--- default gateway

option routers 219.243.36.1;

option subnet-mask 255.255.255.0;

option nis-domain "domain.org";

option domain-name "domain.org";

option domain-name-servers 202.113.15.2;

option time-offset -18000; # Eastern Standard Time

option ntp-servers 192.168.1.1;

option netbios-name-servers 192.168.1.1;

--- Selects point-to-point node (default is hybrid). Don't change this unless

-- you understand Netbios very well

option netbios-node-type 2;

range dynamic-bootp 192.168.0.128 192.168.0.254;

default-lease-time 21600;

max-lease-time 43200;

}

启动时出错,显示如下:

Starting dhcpd: Internet Software Consortium DHCP Server V3.0pl2

Copyright 1995-2003 Internet Software Consortium.

All rights reserved.

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

Wrote 0 leases to leases file.

No subnet declaration for eth0 (219.243.36.152).

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

you want, please write a subnet declaration

in your dhcpd.conf file for the network segment

to which interface eth0 is attached. **

Not configured to listen on any interfaces!

If you did not get this software from ftp.isc.org, please

get the latest from ftp.isc.org and install that before

requesting help.

If you did get this software from ftp.isc.org and have not

yet read the README, please read it before requesting help.

If you intend to request help from the [email protected]

mailing list, please read the section on the README about

submitting bug reports and requests for help.

Please do not under any circumstances send requests for

help directly to the authors of this software - please

send them to the appropriate mailing list as described in

the README file.

exiting.

我是第一次用

求救高手


由 河边星星 在 09-05-2004 18:05 发表:

貼一份我在用的..你看一看吧..

ddns-update-style none;

subnet 192.168.7.0 netmask 255.255.255.0 {

option routers 192.168.7.252;

option subnet-mask 255.255.255.0;

option domain-name "sh.excell.com.tw";

Seting up an ip address is better here

option domain-name-servers 192.168.7.112,202.101.10.10;

range dynamic-bootp 192.168.7.10 192.168.7.200;

default-lease-time 21600;

max-lease-time 43200;

host peter{

hardware ethernet 00:E0:4C:1F:BB:BB;

fixed-address 192.168.7.123;

option routers 192.168.7.252;

option domain-name-servers 192.168.7.112,202.101.10.10;}


Redhat AS3(Taroon)_2.4.21-4.ELsmp+RTL-8139+WD80GJB+HY 512M

Giga-byte:Intel_865+Pentium2.6G+AC'97+Integrated Graphics Device

本人是吃菜的鸟...

近期关注点LDAP...........


由 河边星星 在 09-05-2004 18:06 发表:

/etc/hosts

127.0.0.1 localhost

192.168.7.109 erp0

192.168.1.6 fileserver

192.168.7.112 shlinux.sh.at-scale.com shlinux


Redhat AS3(Taroon)_2.4.21-4.ELsmp+RTL-8139+WD80GJB+HY 512M

Giga-byte:Intel_865+Pentium2.6G+AC'97+Integrated Graphics Device

本人是吃菜的鸟...

近期关注点LDAP...........


由 河边星星 在 09-05-2004 18:08 发表:

/etc/sysconfig/network

NETWORKING=yes

HOSTNAME=shlinux.sh.at-scale.com


Redhat AS3(Taroon)_2.4.21-4.ELsmp+RTL-8139+WD80GJB+HY 512M

Giga-byte:Intel_865+Pentium2.6G+AC'97+Integrated Graphics Device

本人是吃菜的鸟...

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