Author |
Message |
|
Post subject: dhcpd leases nezobrazuje
Posted: 20.03.2007 - 20:15 #48046
|
|
Basic
Joined: Máj 22, 2005
Posts: 477
Location: Michalovce
|
|
zdravim, co treba nastavit aby mi vo /var/stat/dhcp/dhcpd.leases zobrazovalo prepozicane IP adresy?
v /etc/dhcpd.conf mam
lease-file-name "/var/state/dhcp/dhcpd.leases";
ak ten file zmazem tak po restarte dhcpd sa tam vytvori, je tam zopar riadkov napisanych ->
# All times in this file are in UTC (GMT), not your local timezone. This is
# not a bug, so please don't ask about it. There is no portable way to
# store leases in the local timezone, so please don't request this as a
# feature. If this is inconvenient or confusing to you, we sincerely
# apologize. Seriously, though - don't ask.
# The format of this file is documented in the dhcpd.leases(5) manual page.
# This lease file was written by isc-dhcp-V3.0.3
ale to nieje to co potrebujem ja
neviete poradit? |
|
|
|
|
|
|
Post subject: RE: dhcpd leases nezobrazuje
Posted: 20.03.2007 - 21:00 #48048
|
|
Majster
Joined: Jan 12, 2003
Posts: 4250
Location: /dev/null
|
|
alwarez: tam sa pisu len IP ktore su z "volneho" rozsahu, teda nie tie co su definovane pre jednotlive hosty podla MAC; a zapise sa vzdy len novo pridelena/zmena, takze ked to zmazes a spustis dhcpd, tak tam nema co zapisat, prave naopak on podla toho suboru pozera aj ze ktore su aktualne pridelene (a ked je prazdny tak si mysli ze ziadne) |
|
|
|
|
|
|
Post subject: RE: dhcpd leases nezobrazuje
Posted: 20.03.2007 - 21:08 #48049
|
|
Guru
Joined: Jan 30, 2003
Posts: 1572
|
|
ostatne hladaj v /var/log/daemon.log |
|
|
|
|
|
|
Post subject: RE: dhcpd leases nezobrazuje
Posted: 20.03.2007 - 21:12 #48050
|
|
Majster
Joined: Jan 12, 2003
Posts: 4250
Location: /dev/null
|
|
kiwi: ostatne zavisi od toho ako ma nastavene syslog facility |
|
|
|
|
|
|
Post subject: RE: dhcpd leases nezobrazuje
Posted: 20.03.2007 - 21:40 #48051
|
|
Guru
Joined: Jan 30, 2003
Posts: 1572
|
|
jasne, no napadlo ma, ze ked o tom vela nevie, tak asi neinstalil veci inak ako defaultne |
|
|
|
|
|
|
Post subject: RE: dhcpd leases nezobrazuje
Posted: 20.03.2007 - 21:45 #48052
|
|
Majster
Joined: Jan 12, 2003
Posts: 4250
Location: /dev/null
|
|
kiwi: ale aj co rozne distro tak to ma rozne defaultne nastavene (u mna defaultne to napriklad hadze do /var/log/messages ) |
|
|
|
|
|
|
Post subject: RE: dhcpd leases nezobrazuje
Posted: 20.03.2007 - 22:14 #48053
|
|
Basic
Joined: Máj 22, 2005
Posts: 477
Location: Michalovce
|
|
si wrote: ›alwarez: tam sa pisu len IP ktore su z "volneho" rozsahu, teda nie tie co su definovane pre jednotlive hosty podla MAC; a zapise sa vzdy len novo pridelena/zmena, takze ked to zmazes a spustis dhcpd, tak tam nema co zapisat, prave naopak on podla toho suboru pozera aj ze ktore su aktualne pridelene (a ked je prazdny tak si mysli ze ziadne)
aha tak to bude asi tym ze ja nemam ziadne "volne rozsahy" zatial len napevno nadefinovane podla mac |
|
|
|
|
|
|
Post subject: RE: dhcpd leases nezobrazuje
Posted: 11.11.2007 - 12:18 #58714
|
|
Ucen
Joined: Sep 06, 2004
Posts: 684
Location: hranica s ukrajinou...
|
|
ako nastavit DHCP tak aby pridaval IP adresu automaticky bez toho aby som pridaval do zoznamu MAC spolu s IP adresou?
napr. v nejakom rozsahu... |
|
|
|
|
|
|
Post subject: RE: dhcpd leases nezobrazuje
Posted: 14.11.2007 - 09:32 #58798
|
|
Majster
Joined: Jan 12, 2003
Posts: 4250
Location: /dev/null
|
|
matos1:
na specifikaciu rozsahu ktory ma "volne" pridelovat sluzi polozka range, napriklad:
range 192.168.1.96 192.168.1.103;
v deklaracii daneho subnetu |
|
|
|
|
|
|
Post subject: RE: dhcpd leases nezobrazuje
Posted: 14.11.2007 - 19:00 #58821
|
|
Ucen
Joined: Sep 06, 2004
Posts: 684
Location: hranica s ukrajinou...
|
|
nerozumiem, na jednom MK som to nastavil ale na druhom uz neviem ako mam nastavit DHCP... |
|
|
|
|
|
|
Powered by PNphpBB2 © 2003-2005 The PNphpBB Group Credits |