[linux] Dhcp
Ing. Rudolf Kollar
Rudolf.Kollar na fedu.ku.sk
Pondělí Červenec 31 14:43:43 CEST 2006
Zdravim vsetkych.
Mam mali problem pri konfiguracii dhcp servera na router-i /debian s
jadrom 2.4.27-2-686. Mam tri sietovky eth0 ako wlan a eth1 a eth2 ako
lokalne siete. Po prikaze "dhcpd" sa vypise toto:
---------------------------------------------------------
Internet Software Consortium DHCP Server 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
Listening on LPF/eth2/00:11:95:8b:7c:9b/192.168.3.0
Sending on LPF/eth2/00:11:95:8b:7c:9b/192.168.3.0
Listening on LPF/eth1/00:11:95:8b:7c:9d/192.168.0.0
Sending on LPF/eth1/00:11:95:8b:7c:9d/192.168.0.0
No subnet declaration for eth0 (xxx.xxx.xxx.xxx).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface eth0 is attached.
exiting.
-----------------------------------------------------------
dhcp.conf
------------------------------------------------------------
# option definitions common to all supported networks...
option domain-name "xxx.sk";
option domain-name-servers xxx.xxx.xxx.xxx;
option subnet-mask 255.255.255.0;
default-lease-time 1000;
max-lease-time 10000;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.50 192.168.0.254;
option routers 192.168.0.1;
option broadcast-address 192.168.0.255;
}
subnet 192.168.3.0 netmask 255.255.255.0 {
range 192.168.3.50 192.168.3.254;
option routers 192.168.3.1;
option broadcast-address 192.168.3.255;
}
-------------------------------------------------------
Ak Vas nieco napadne budem velmi vdacny.
Dakujem Rudolf
Další informace o konferenci linux