[ LUGOS ] DHCP

David Delibasic maddave na spider.y0u.net
Pon Dec 27 10:53:05 CET 1999


Heya !!

Imam en problem z DHCPd jem:
Torej...masina ima 3 mrezne od tega je 1 vklopljena na kabelski modem,
ostale 2 pa na 2 LANa ..

moj dhcpd.conf zgleda tako:

default-lease-time 36000;
max-lease-time 7200;
option subnet-mask 255.255.255.0;

subnet 192.168.1.0 netmask 255.255.255.0 {
        range 192.168.1.50 192.168.1.60;
        option broadcast-address 192.168.1.255;
        option routers 192.168.1.100;
        option domain-name-servers 192.168.1.100;
        option domain-name "aaa.bbb.si";
}

subnet 192.168.0.0 netmask 255.255.255.0 {
        range 192.168.0.50 192.168.0.60;
        option broadcast-address 192.168.0.255;
        option routers 192.168.0.100;
        option domain-name-servers 192.168.0.100;
        option domain-name "ccc.bbb.si";
        }

subnet 164.8.70.0 netmask 255.255.255.0 {
}

Ce zbrisem zadnji 2 vrstici se mo DHCPd noce startat...

Pol pa mam polne loge tega: 

Dec 27 10:49:33 spider dhcpd: DHCPDISCOVER from 00:00:ca:1a:1e:f8 via eth1
Dec 27 10:49:33 spider dhcpd: no free leases on subnet 164.8.70.0
Dec 27 10:49:33 spider dhcpd: DHCPREQUEST for 192.168.29.205 from
00:00:ca:1a:1e:f8 via eth1
Dec 27 10:49:33 spider dhcpd: DHCPNAK on 192.168.29.205 to
00:00:ca:1a:1e:f8 via eth1
Dec 27 10:49:38 spider dhcpd: DHCPDISCOVER from
52:41:53:20:80:06:f9:34:50:1c:bf:01:01:00:00:00 via eth1
Dec 27 10:49:38 spider dhcpd: no free leases on subnet 164.8.70.0

164.8.70.0 je na cable modemu...in zaj ker se modemi bootajo preko dhcpja
posiljajo request..meni pa pol javi da mu ne more dodelit IPja ker nima
nobenega prostega..

Moje vprasanje:

Kak prepricat DHCPd da ne poslusa na eth1 ??

TnX 

lp, MadDave 

----------------------------------------------------------------------
|Unix is like a wigwam -- no Gates, no Windows, and an Apache inside.|
----------------------------------------------------------------------
| > FreeBSD < - > Power to SERVE <                                   |
----------------------------------------------------------------------
| Line noise provided by Telekom Slovenija                           |
----------------------------------------------------------------------




Dodatne informacije o seznamu Starilist