Re: Nechodící dhcpd server

Radek Kohout Radek.Kohout na op-profashion.cz
Čtvrtek Červenec 11 08:52:18 CEST 2002


Preji prijemny den

> Zdravím všechny,
>
> Snažím se rozchodit dhcpd server, ale nějak mě to nejde. Již jsem to zde
> řešil, ale rady nepohohli
Jede dhcpd ?   (ps ax |grep dhcpd)

pokud ne mate existuje (prazdny) soubor /var/lib/dhcp/dhcpd.leases
(doporucuju podivat se do /etc/init.d/dhcpd ktere soubory to vyzaduje)

zacatek meho /etc/dhcpd.conf - prideluji pouze staticky podle MAC adresy



server-identifier 172.20.0.52;
option domain-name "op.op-profashion.cz";
option domain-name-servers  172.20.0.22;
default-lease-time 1800;
max-lease-time 3600;

shared-network OP {
subnet 194.108.47.0 netmask 255.255.255.0 { option routers 194.108.47.1; }
subnet 172.20.0.0 netmask 255.255.0.0 { option routers 172.20.3.12; }
 }

group {
use-host-decl-names on;
host pc419 { hardware ethernet 00:20:AF:DE:6D:70; fixed-address
172.20.103.12; }
host pc819 { hardware ethernet 00:60:08:60:55:4C; fixed-address
172.20.103.13; }
host pc828 { hardware ethernet 00:60:08:60:58:EA; fixed-address
172.20.103.15; }
host pc988 { hardware ethernet 00:50:04:04:53:82; fixed-address
172.20.103.16; }
host pc964 { hardware ethernet 00:50:04:02:BB:2D; fixed-address
172.20.103.17; }
host pc825 { hardware ethernet 00:60:08:60:59:23; fixed-address
172.20.103.18; }
.........
a konec
.......
host pc1018 { hardware ethernet 00:A0:24:A3:8D:B9; fixed-address
192.168.255.201; }
host pc991 { hardware ethernet 00:50:04:04:51:67; fixed-address
192.168.255.202; }
host pc1017 { hardware ethernet 00:00:00:00:AA:02; fixed-address
192.168.255.203; }
host pc1012 { hardware ethernet 00:00:00:00:AA:03; fixed-address
192.168.255.204; }
 }


> Předem děkuji za každou radu.
zkuste se jeste jednou podivat na format  /etc/dhcpd.conf

s pozdravem


Radek Kohout
Radek.Kohout na op-profashion.cz
0508/ 311 705



Další informace o konferenci Linux