Re: dhcpd server failed

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

 



Am Di, den 15.03.2005 schrieb Mark Sargent um 16:39:

> I installed dhcpd via yum. Then configured via webmin. Got the following 
> error when starting dhcpd. I got it even after adding the line it 
> suggested, to /etc/dhcpd.conf as below,
> 
> # tanashihome
> subnet 192.168.1.0 netmask 255.255.255.0 {
> ddns-updates on;
> range 192.168.1.3 192.168.1.10;
> ddns-update-style ad-hoc;
> }

> [FAILED]

> Mark Sargent.

You have a bind running where the dhcp dynamically update the zone
file(s)? I guess not.

$ cat /etc/dhcpd.conf

authoritative;
ddns-update-style none;
subnet 192.168.1.0 netmask 255.255.255.0 {
     option routers 192.168.1.1;
     option subnet-mask 255.255.255.0;
     option domain-name "tanashi.local";
     option domain-name-servers <whatever IP>;
     default-lease-time 21600;
     max-lease-time 43200;
     host me-the-server  {
        hardware ethernet 00:e0:59:22:1e:a7;
        fixed-address 192.168.1.1;
        }
     pool {
        range 192.168.1.3 192.168.1.10;
        }
 
    }

Take above as a working example.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp 
Serendipity 16:49:58 up 2 days, 19:23, load average: 0.33, 0.49, 0.78 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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

  Powered by Linux