DHCPD config
Tommy Reynolds
Tommy.Reynolds at MegaCoder.com
Thu Feb 5 08:45:01 UTC 2004
Uttered Terry Polzin <fox3ec208 at wideopenwest.com>, spake thus:
> All I want to do is assign an ip address to a bootp print server.
> ************************************************************************
> default-lease-time 600;
> max-lease-time 7200;
> option subnet-mask 255.255.255.0;
> option broadcast-address 192.168.69.255;
> allow bootp;
> ddns-update-style ad-hoc;
>
> subnet 192.168.69.0 netmask 255.255.255.0 {
> range 192.168.69.20 192.168.69.21;
> }
>
> host print-server {
> hardware ethernet 00:40:c8:04:03:db;
> fixed-address 192.168.69.20;
> default-lease-time -1;
> }
> ***********************************************************************
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.69.255;
allow bootp;
ddns-update-style ad-hoc;
# HINT: dynamic-bootp-lease 600;
subnet 192.168.69.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.69.20 192.168.69.21;
host print-server {
hardware ethernet 00:40:c8:04:03:db;
fixed-address 192.168.69.20;
}
}
---<cut>----<cut>----<cut>----<cut>---
Notice two points:
1) You must use the "dynamic-bootp" flat on the "range" statement for
dhcpd to recognize BOOTP requests in addition to DHCP requests.
2) The "host" statement must be located within its associated
"subnet" declaration.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040205/7580e89f/attachment-0001.sig>
More information about the fedora-list
mailing list