RE: Nechodící dhcpd server

Stanislav Mařík s.marik na worldonline.cz
Čtvrtek Červenec 11 11:47:14 CEST 2002



Dobrý den,
Dhcpd server běží, soubor /var/lib/dhcp/dhcpd.leases existuje.
Dhcpd.conf chci mít zatím co nejjednodušší, stačí aby mě přiřadil
nějakou ip adresu ze zadaného rozsahu. Až to bude chodit tak budu chtít
aby mi nastavil proxy , DNS , bránu do internetu.
Je mi divný, že v /var/log/messages není ani řádek o pokusu získání IP
adresy.


Preji prijemny den

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; }
 }


zkuste se jeste jednou podivat na format  /etc/dhcpd.conf


 

---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.375 / Virová báze: 210 - datum vydání: 10.7.2002
 



Další informace o konferenci Linux