Re: DHCPD config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Uttered Terry Polzin <fox3ec208@xxxxxxxxxxxxxxxx>, 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.

Attachment: pgpQFw9KF7OfS.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux