Prihlásiť sa Odoslať Novinky :: FAQ :: Rozšírené vyhľadávanie :: Napísali o nás :: Ankety
Main Menu
· Home
· 
· FAQ
· 
· Diskusia
· 











Main Menu
· Domov

Moduly
· AvantGo
· Downloads
· FAQ
· News
· Recommend Us
· Reviews
· Search
· Sections
· Stats
· Topics
· Top List
· Web Links
· Forum

Jazyk
Výber jazykovej mutácie:



The time now is 01.11.2024 - 01:14


dhcpd leases nezobrazuje

Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Author Message
alwarez
Post subject: dhcpd leases nezobrazuje  PostPosted: 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 Smile

neviete poradit?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
si
Post subject: RE: dhcpd leases nezobrazuje  PostPosted: 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)
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
kiwi
Post subject: RE: dhcpd leases nezobrazuje  PostPosted: 20.03.2007 - 21:08 #48049
Guru


Joined: Jan 30, 2003
Posts: 1572

ostatne hladaj v /var/log/daemon.log
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
si
Post subject: RE: dhcpd leases nezobrazuje  PostPosted: 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
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
kiwi
Post subject: RE: dhcpd leases nezobrazuje  PostPosted: 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
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
si
Post subject: RE: dhcpd leases nezobrazuje  PostPosted: 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 Smile )
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
alwarez
Post subject: RE: dhcpd leases nezobrazuje  PostPosted: 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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
matos1
Post subject: RE: dhcpd leases nezobrazuje  PostPosted: 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...
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
si
Post subject: RE: dhcpd leases nezobrazuje  PostPosted: 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
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
matos1
Post subject: RE: dhcpd leases nezobrazuje  PostPosted: 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...
 
 View user's profile Send private message Visit poster's website ICQ Number 
Reply with quote Back to top
Display posts from previous:     
All times are GMT
Post new topic Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
 
Jump to:  

Powered by PNphpBB2 © 2003-2005 The PNphpBB Group
Credits

(C) SKFree 2002-2010: Powered by POSTNUKE. Môžete prebera? naše správy vo formáte XML(RSS)