DHCPD config

jdow jdow at earthlink.net
Thu Feb 5 04:04:52 UTC 2004


From: "Terry Polzin" <fox3ec208 at wideopenwest.com>


> Is this config file correct?
> 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;
> }
>
****************************************************************************
> THANKS,

This has a better chance, Terry.
--8<--
 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;
 }
}
--8<--

{^_^}





More information about the fedora-list mailing list