由 hz2580 在 07-25-2004 12:55 发表:
redhat9.0 dhcp的简单配置,谁帮我.
前几天我在试这个dhcp配置,怎么老出错.因今天休息错误休息没法贴上,我的要求是这样的
有一块开板子 MAC:00:01:23:45:67:00
我linux机器的IP为192.168.0.150
现我想将给那块板子分配一个IP192.168.0.152
不知该怎么配,我试发好几次都不行,那个/etc/dhcpd.conf文件我一直找不到,后来自已建了一个,不知这有没有影响.
由 doocoo 在 07-25-2004 13:20 发表:
由 Snoopy 在 07-25-2004 19:08 发表:
http://www.linuxsir.org/bbs/showthr...;threadid=10854
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 hz2580 在 07-25-2004 21:06 发表:
还是不对
default-lease-time 1200;
max-lease-time 9200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.150,192.168.0.120;
option domain-name "mydomain.org";
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.155 192.168.0.160;
}
host haagen {
hardware ethernet 00:01:23:45:67:00;
fixed-address 192.168.0.152;
}
dhcpd
Internet Systems Consortium DHCP Server V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
** You must add a ddns-update-style statement to /etc/dhcpd.conf.
To get the same behaviour as in 3.0b2pl11 and previous
versions, add a line that says "ddns-update-style ad-hoc;"
Please read the dhcpd.conf manual page for more information. **
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.
[root@phm etc]#
由 hz2580 在 07-25-2004 21:13 发表:
ddns-update-style ad-hoc;
这个有什么用呀。为什么要
由 szkingrose 在 07-26-2004 10:44 发表:
host ljw {hardware ethernet 00:E0:4C:5F:57:7F;fixed-address 192.168.0.186;}
host C0 {hardware ethernet 00:50:FC:56:0F:F5;fixed-address 192.168.0.187;}
host C1 {hardware ethernet 00:50:FC:47:8F:F5;fixed-address 192.168.0.188;}
host C2 {hardware ethernet 00:50:BA:CE:4C:AC;fixed-address 192.168.0.189;}
host C3 {hardware ethernet 00:50:BA
0:AD
8;fixed-address 192.168.0.190;}
host C4 {hardwa