Freesco, NND, CDN, EOS
http://forum.freesco.pl/

dhcp problem ;\
http://forum.freesco.pl/viewtopic.php?f=22&t=8777
Strona 1 z 1

Autor:  PJas [ środa, 31 sierpnia 2005, 13:28 ]
Tytuł:  dhcp problem ;\

mam na eth1 kilka klas adresowych jedne z nich to x.x.8.1 z maska 26 bitowa oraz x.x.8.241 z maska 28 bitowa
chcialem w dhcp zrobic takie wpisy zeby po adresie mac klient dostawal zawsze jedno ip wpisalem cos takiego w dhcpd.conf

subnet x.x.8.64 netmask 255.255.255.192; {
range x.x.8.66 x.x.8.126;#Zakres przydzielanych adresów
option broadcast-address x.x.8.127;#Adres rozgłoszeniowy
option ruters x.x.8.65;#Brama domyślna
}

host xxx_1 {
hardware ethernet 00:00:00:00:00:01;
fixed-address x.x.8.2;
option broadcast-address x.x.8.127;
option ruters x.x.8.1 ;
}

subnet x.x.8.128 netmask 255.255.255.240; {
range x.x.8.130 x.x.8.142;#Zakres przydzielanych adresów
option broadcast-address x.x.8.143;#Adres rozgłoszeniowy
option ruters x.x.8.129;#Brama domyślna
}

host xx_1 {
hardware ethernet 00:00:00:00:00:02;
fixed-address x.x.8.242;
option broadcast-address x.x.8.255;
option ruters x.x.8.241 ;
}

po odpaleniu dhcp wywala mi cos takiego

NND: Starting DHCP Server [Trwa....]
Internet Systems Consortium DHCP Server V3.0.3b3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Interface eth1 matches multiple shared networks

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting. [Nieudane]

co robie żle ??


:evil:

Autor:  zciech [ środa, 31 sierpnia 2005, 16:01 ]
Tytuł: 

: [/] [] ()
shared-network siec {
subnet 192.168.172.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.172.255;
option routers 192.168.172.1;
option domain-name-servers 213.77.79.2,213.77.79.4;
}
subnet 192.168.5.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.5.255;
option routers 192.168.5.1;
option domain-name-servers 213.77.79.2,213.77.79.4;
}
subnet 192.168.10.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.10.255;
option routers 192.168.10.1;
option domain-name-servers 213.77.79.2,213.77.79.4;
}
subnet 192.168.15.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.15.255;
option routers 192.168.15.1;
option domain-name-servers 213.77.79.2,213.77.79.4;
}

}

Nmiej wiecej.
I skoro chcesz przydzielac po mac-ach to nie podawaj range

Autor:  PJas [ sobota, 3 września 2005, 11:44 ]
Tytuł: 

heh zrobilem bez range i dalej wywala mi ten sam bład
Interface eth1 matches multiple shared networks
co on oznacza??
aha jeszcze jedno bo mam na eth1 podniesionych 9 klas adresowych moze w tym jest problem?? :(

Autor:  zciech [ sobota, 3 września 2005, 14:13 ]
Tytuł: 

Problem jest w nieuważnym czytaniu.
Ręce opadają :evil:
Kluczowe jest polecenie
shared-network coś { }

: [/] [] ()
shared-network siec {

TU WYMIENIASZ SWOJE SIECI

}
 

Strona 1 z 1 Strefa czasowa UTC+2godz.
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/