Indice del forum www.zeroshell.net
Distribuzione Linux ZeroShell
 
 FAQFAQ   CercaCerca  GruppiGruppi   RegistratiRegistrati 
 ProfiloProfilo  Log inLog in   Messaggi privatiMessaggi privati 

Problema con DHCP

 
Nuovo argomento   Rispondi    Indice del forum -> ZeroShell
Precedente :: Successivo  
Autore Messaggio
emanuelebruno



Registrato: 05/08/09 08:49
Messaggi: 5

MessaggioInviato: Mer Ago 05, 2009 9:05 am    Oggetto: Problema con DHCP Rispondi citando

Buon giorno a tutti, per prima cosa vorrei ringraziare tutte le persone coinvolte nel progetto ZeroShell che a mio avviso è un software meraviglioso!

Ho un problema che non ho trovato riscontro in nessun post da me cercato riguardante il DHCP di ZeroShell... vi faccio vedere il log per dare subito un'idea del problema:

09:49:52 DHCPDISCOVER from 00:0e:9b:7d:26:8c via ETH02
09:49:52 DHCPREQUEST for 169.254.0.15 (169.254.0.1) from 00:0e:9b:7d:26:8c via ETH02: wrong network.
09:49:52 DHCPNAK on 169.254.0.15 to 00:0e:9b:7d:26:8c via ETH02
09:49:53 DHCPOFFER on 192.168.1.102 to 00:0e:9b:7d:26:8c (MARY) via ETH02
09:49:53 DHCPDISCOVER from 00:0e:9b:7d:26:8c (MARY) via ETH02
09:49:53 DHCPOFFER on 192.168.1.102 to 00:0e:9b:7d:26:8c (MARY) via ETH02
09:49:53 DHCPREQUEST for 169.254.0.15 (169.254.0.1) from 00:0e:9b:7d:26:8c via ETH02: wrong network.
09:49:53 DHCPNAK on 169.254.0.15 to 00:0e:9b:7d:26:8c via ETH02

Premetto che il macaddress che vedete è quello del mio notebook (interfaccia di rete) e MARY è il nome che ho dato al Pc sotto Windows; in pratica windows fa richiesta tramite il suo cliente DHCP (e suggerisce il 169.254.0.15) a ZeroShell che risponde con un 192.168.1.102... ma qualcosa evidentemente va storto... perché? E alla fine Windows si accontenta dell'ip suggerito da Windows... Aggiungo inoltre che lo stesso problema ce l'ho in altri 2 pc con windows, con un mac e con un iphone...

Ho realizzato un Server con Ubuntu 8.04 LTS su macchina Hp ML115 G5 con 4 GB di Ram, n.2 HD 1 TB in Raid1, VMWare Server 2.0, e n.3 schede di rete (n.1 Broadcome , n.1 scheda di rete con doppia interfaccia ethernet).ZeroShell è una delle macchine virtuali che stanno sul server; ho assegnato all'interfaccia ETH00 l'ip statico 62.94.62.106, all'ETH01 ho assegnato l'ip fisso 192.168.2.1, all'ETH02 ho assegnato l'ip fisso 192.168.1.1; il GW è impostato su 62.94.62.105; il NAT è impostato sull'EHT0, e il DHCP è impostato su ETH02 con Range 1 impostato su 192.168.1.100 fino a 192.168.1.199 e default gateway e dns impostati su 192.168.1.1

La versione da me utilizzata di Zeroshell è la Release 1.0.beta12

Spero di essere stato dettagliato... e spero che qualcuno mi possa aiutare.
Grazie,
Emanuele Bruno
Top
Profilo Invia messaggio privato Invia e-mail MSN
emanuelebruno



Registrato: 05/08/09 08:49
Messaggi: 5

MessaggioInviato: Mer Ago 05, 2009 1:37 pm    Oggetto: Re: Problema con DHCP Rispondi citando

A quello che ho scritto, vorrei aggiungere il seguente log di sistema in ascolto sul DHCPD sperando di venire a capo al problema:

14:28:05 Internet Systems Consortium DHCP Server V3.1.1
14:28:05 Copyright 2004-2008 Internet Systems Consortium.
14:28:05 All rights reserved.
14:28:05 For info, please visit http://www.isc.org/sw/dhcp/
14:28:05 WARNING: Host declarations are global. They are not limited to the scope you declared them in.
14:28:05 Wrote 0 deleted host decls to leases file.
14:28:05 Wrote 0 new dynamic host decls to leases file.
14:28:05 Wrote 2 leases to leases file.
14:28:05
14:28:05 No subnet declaration for VPN99 (192.168.250.254).
14:28:05 ** Ignoring requests on VPN99. If this is not what
14:28:05 you want, please write a subnet declaration
14:28:05 in your dhcpd.conf file for the network segment
14:28:05 to which interface VPN99 is attached. **
14:28:05
14:28:05 Listening on LPF/ETH02/00:0c:29:50:4b:a9/192.168.1/24
14:28:05 Sending on LPF/ETH02/00:0c:29:50:4b:a9/192.168.1/24
14:28:05
14:28:05 No subnet declaration for ETH01 (192.168.2.1).
14:28:05 ** Ignoring requests on ETH01. If this is not what
14:28:05 you want, please write a subnet declaration
14:28:05 in your dhcpd.conf file for the network segment
14:28:05 to which interface ETH01 is attached. **
14:28:05
14:28:05
14:28:05 No subnet declaration for ETH00 (62.94.62.106).
14:28:05 ** Ignoring requests on ETH00. If this is not what
14:28:05 you want, please write a subnet declaration
14:28:05 in your dhcpd.conf file for the network segment
14:28:05 to which interface ETH00 is attached. **
14:28:05
14:28:05 Sending on Socket/fallback/fallback-net
14:28:05 There's already a DHCP server running.
14:28:05
14:28:05 If you did not get this software from ftp.isc.org, please
14:28:05 get the latest from ftp.isc.org and install that before
14:28:05 requesting help.
14:28:05
14:28:05 If you did get this software from ftp.isc.org and have not
14:28:05 yet read the README, please read it before requesting help.
14:28:05 If you intend to request help from the dhcp-server@isc.org
14:28:05 mailing list, please read the section on the README about
14:28:05 submitting bug reports and requests for help.
14:28:05
14:28:05 Please do not under any circumstances send requests for
14:28:05 help directly to the authors of this software - please
14:28:05 send them to the appropriate mailing list as described in
14:28:05 the README file.
14:28:05
14:28:05 exiting.
14:30:51 Internet Systems Consortium DHCP Server V3.1.1
14:30:51 Copyright 2004-2008 Internet Systems Consortium.
14:30:51 All rights reserved.
14:30:51 For info, please visit http://www.isc.org/sw/dhcp/
14:30:51 WARNING: Host declarations are global. They are not limited to the scope you declared them in.
14:30:51 Wrote 0 deleted host decls to leases file.
14:30:51 Wrote 0 new dynamic host decls to leases file.
14:30:51 Wrote 2 leases to leases file.
14:30:51
14:30:51 No subnet declaration for VPN99 (192.168.250.254).
14:30:51 ** Ignoring requests on VPN99. If this is not what
14:30:51 you want, please write a subnet declaration
14:30:51 in your dhcpd.conf file for the network segment
14:30:51 to which interface VPN99 is attached. **
14:30:51
14:30:51 Listening on LPF/ETH02/00:0c:29:50:4b:a9/192.168.1/24
14:30:51 Sending on LPF/ETH02/00:0c:29:50:4b:a9/192.168.1/24
14:30:51
14:30:51 No subnet declaration for ETH01 (192.168.2.1).
14:30:51 ** Ignoring requests on ETH01. If this is not what
14:30:51 you want, please write a subnet declaration
14:30:51 in your dhcpd.conf file for the network segment
14:30:51 to which interface ETH01 is attached. **
14:30:51
14:30:51
14:30:51 No subnet declaration for ETH00 (62.94.62.106).
14:30:51 ** Ignoring requests on ETH00. If this is not what
14:30:51 you want, please write a subnet declaration
14:30:51 in your dhcpd.conf file for the network segment
14:30:51 to which interface ETH00 is attached. **
14:30:51
14:30:51 Sending on Socket/fallback/fallback-net
14:30:51 There's already a DHCP server running.
14:30:51
14:30:51 If you did not get this software from ftp.isc.org, please
14:30:51 get the latest from ftp.isc.org and install that before
14:30:51 requesting help.
14:30:51
14:30:51 If you did get this software from ftp.isc.org and have not
14:30:51 yet read the README, please read it before requesting help.
14:30:51 If you intend to request help from the dhcp-server@isc.org
14:30:51 mailing list, please read the section on the README about
14:30:51 submitting bug reports and requests for help.
14:30:51
14:30:51 Please do not under any circumstances send requests for
14:30:51 help directly to the authors of this software - please
14:30:51 send them to the appropriate mailing list as described in
14:30:51 the README file.
14:30:51
14:30:51 exiting.
14:30:56 Internet Systems Consortium DHCP Server V3.1.1
14:30:56 Copyright 2004-2008 Internet Systems Consortium.
14:30:56 All rights reserved.
14:30:56 For info, please visit http://www.isc.org/sw/dhcp/
14:30:56 WARNING: Host declarations are global. They are not limited to the scope you declared them in.
14:30:56 Internet Systems Consortium DHCP Server V3.1.1
14:30:56 Copyright 2004-2008 Internet Systems Consortium.
14:30:56 All rights reserved.
14:30:56 For info, please visit http://www.isc.org/sw/dhcp/
14:30:56 WARNING: Host declarations are global. They are not limited to the scope you declared them in.
14:30:56 Internet Systems Consortium DHCP Server V3.1.1
14:30:56 Copyright 2004-2008 Internet Systems Consortium.
14:30:56 All rights reserved.
14:30:56 For info, please visit http://www.isc.org/sw/dhcp/
14:30:56 WARNING: Host declarations are global. They are not limited to the scope you declared them in.
14:30:56 Wrote 0 deleted host decls to leases file.
14:30:56 Wrote 0 new dynamic host decls to leases file.
14:30:56 Wrote 2 leases to leases file.
14:30:56
14:30:56 No subnet declaration for VPN99 (192.168.250.254).
14:30:56 ** Ignoring requests on VPN99. If this is not what
14:30:56 you want, please write a subnet declaration
14:30:56 in your dhcpd.conf file for the network segment
14:30:56 to which interface VPN99 is attached. **
14:30:56
14:30:56 Listening on LPF/ETH02/00:0c:29:50:4b:a9/192.168.1/24
14:30:56 Sending on LPF/ETH02/00:0c:29:50:4b:a9/192.168.1/24
14:30:56
14:30:56 No subnet declaration for ETH01 (192.168.2.1).
14:30:56 ** Ignoring requests on ETH01. If this is not what
14:30:56 you want, please write a subnet declaration
14:30:56 in your dhcpd.conf file for the network segment
14:30:56 to which interface ETH01 is attached. **
14:30:56
14:30:56
14:30:56 No subnet declaration for ETH00 (62.94.62.106).
14:30:56 ** Ignoring requests on ETH00. If this is not what
14:30:56 you want, please write a subnet declaration
14:30:56 in your dhcpd.conf file for the network segment
14:30:56 to which interface ETH00 is attached. **
14:30:56
14:30:56 Sending on Socket/fallback/fallback-net
14:30:56 There's already a DHCP server running.
14:30:56
14:30:56 If you did not get this software from ftp.isc.org, please
14:30:56 get the latest from ftp.isc.org and install that before
14:30:56 requesting help.
14:30:56
14:30:56 If you did get this software from ftp.isc.org and have not
14:30:56 yet read the README, please read it before requesting help.
14:30:56 If you intend to request help from the dhcp-server@isc.org
14:30:56 mailing list, please read the section on the README about
14:30:56 submitting bug reports and requests for help.
14:30:56
14:30:56 Please do not under any circumstances send requests for
14:30:56 help directly to the authors of this software - please
14:30:56 send them to the appropriate mailing list as described in
14:30:56 the README file.
14:30:56
14:30:56 exiting.
14:30:56 WARNING: Host declarations are global. They are not limited to the scope you declared them in.
14:30:56 Wrote 0 deleted host decls to leases file.
14:30:56 Wrote 0 new dynamic host decls to leases file.
14:30:56 Wrote 2 leases to leases file.
14:30:56
14:30:56 No subnet declaration for VPN99 (192.168.250.254).
14:30:56 ** Ignoring requests on VPN99. If this is not what
14:30:56 you want, please write a subnet declaration
14:30:56 in your dhcpd.conf file for the network segment
14:30:56 to which interface VPN99 is attached. **
14:30:56
14:30:56
14:30:56 No subnet declaration for ETH01 (192.168.2.1).
14:30:56 ** Ignoring requests on ETH01. If this is not what
14:30:56 you want, please write a subnet declaration
14:30:56 in your dhcpd.conf file for the network segment
14:30:56 to which interface ETH01 is attached. **
14:30:56
14:30:56
14:30:56 No subnet declaration for ETH00 (62.94.62.106).
14:30:56 ** Ignoring requests on ETH00. If this is not what
14:30:56 you want, please write a subnet declaration
14:30:56 in your dhcpd.conf file for the network segment
14:30:56 to which interface ETH00 is attached. **
14:30:56
14:30:56 Internet Systems Consortium DHCP Server V3.1.1
14:30:56 Copyright 2004-2008 Internet Systems Consortium.
14:30:56 All rights reserved.
14:30:56 For info, please visit http://www.isc.org/sw/dhcp/
14:30:56 WARNING: Host declarations are global. They are not limited to the scope you declared them in.
14:30:56 Wrote 0 deleted host decls to leases file.
14:30:56 Wrote 0 new dynamic host decls to leases file.
14:30:56 Wrote 2 leases to leases file.
14:30:56
14:30:56 No subnet declaration for VPN99 (192.168.250.254).
14:30:56 ** Ignoring requests on VPN99. If this is not what
14:30:56 you want, please write a subnet declaration
14:30:56 in your dhcpd.conf file for the network segment
14:30:56 to which interface VPN99 is attached. **
14:30:56
14:30:56 Listening on LPF/ETH02/00:0c:29:50:4b:a9/192.168.1/24
14:30:56 Sending on LPF/ETH02/00:0c:29:50:4b:a9/192.168.1/24
14:30:56
14:30:56 No subnet declaration for ETH01 (192.168.2.1).
14:30:56 ** Ignoring requests on ETH01. If this is not what
14:30:56 you want, please write a subnet declaration
14:30:56 in your dhcpd.conf file for the network segment
14:30:56 to which interface ETH01 is attached. **
14:30:56
14:30:56
14:30:56 No subnet declaration for ETH00 (62.94.62.106).
14:30:56 ** Ignoring requests on ETH00. If this is not what
14:30:56 you want, please write a subnet declaration
14:30:56 in your dhcpd.conf file for the network segment
14:30:56 to which interface ETH00 is attached. **
14:30:56
14:30:56 Sending on Socket/fallback/fallback-net
14:30:56 There's already a DHCP server running.
14:30:56
14:30:56 If you did not get this software from ftp.isc.org, please
14:30:56 get the latest from ftp.isc.org and install that before
14:30:56 requesting help.
14:30:56
14:30:56 If you did get this software from ftp.isc.org and have not
14:30:56 yet read the README, please read it before requesting help.
14:30:56 If you intend to request help from the dhcp-server@isc.org
14:30:56 mailing list, please read the section on the README about
14:30:56 submitting bug reports and requests for help.
14:30:56
14:30:56 Please do not under any circumstances send requests for
14:30:56 help directly to the authors of this software - please
14:30:56 send them to the appropriate mailing list as described in
14:30:56 the README file.
14:30:56
14:30:56 exiting.
emanuelebruno ha scritto:
Buon giorno a tutti, per prima cosa vorrei ringraziare [...]
Spero di essere stato dettagliato... e spero che qualcuno mi possa aiutare.
Grazie,
Emanuele Bruno
Top
Profilo Invia messaggio privato Invia e-mail MSN
emanuelebruno



Registrato: 05/08/09 08:49
Messaggi: 5

MessaggioInviato: Gio Ago 06, 2009 9:20 am    Oggetto: Re: Problema con DHC Rispondi citando

Ho risolto il problema che era dato da un Pc in rete con Windows XP Professional:

è bastato assegnare un ip statico a questa macchina ed inserire una 'Static Ip Entries' nel menu 'DHCP Server' indicando l'ip statico ed il mac address della macchina con Windows XP Professional, per non avere più problemi con gli altri Pc della rete...

Penso che se si volesse dare una spiegazione a quanto mi è capitato, ritengo che il Pc con XP Pro diventava 'delle volte' un DHCP Server andando in conflitto con il DHCP Server di ZeroShell (se date un'occhiata ai log viene riportato un mex che indica la presenza di un secondo server DHCP...)

Spero che quanto mi sia capitato possa aiutare in futuro qualcuno che ha avuto lo stesso mio problema.

Grazie di tutto e soprattutto W ZEROSHEL!!
Top
Profilo Invia messaggio privato Invia e-mail MSN
giancagianca



Registrato: 14/08/07 20:10
Messaggi: 320

MessaggioInviato: Gio Ago 06, 2009 2:57 pm    Oggetto: Rispondi citando

Xp pro non ha un server DHCP integrato.

Ciao.
Top
Profilo Invia messaggio privato
abramo



Registrato: 21/04/08 22:03
Messaggi: 31

MessaggioInviato: Gio Ago 06, 2009 4:47 pm    Oggetto: Rispondi citando

Un computer Windows puo' assegnare a se stesso un indirizzo IP in assenza di server DHCP come descritto in:

http://support.microsoft.com/kb/220874/it
http://www.docenti.org/reti/windows/DHCP.htm

Cio' capita spesso quando i segmenti di rete non sempre sono collegati al server DHCP
o quando i computer windows vengono accesi prima del server DHCP. Per evitare cio' si assegnano degli indirizzi IP statici fatto che comporta una maggiore defficolta' di gestione su reti grandi (100-200 macchine).
Top
Profilo Invia messaggio privato
giancagianca



Registrato: 14/08/07 20:10
Messaggi: 320

MessaggioInviato: Gio Ago 06, 2009 5:38 pm    Oggetto: Rispondi citando

Infatti windows xp puo' assegnare solo un indirizzo a se stesso.
Questa funzione, ad esempio, è integrata in tutti i print server hp.

Probabile che la macchina xp non riesca a ricevere risposta dal server dhcp per qualche particolare impostazione del firewall o problemi sul protocollo tcp. Ho avuto lo stesso problema su alcuni pc da un cliente.

Avevo risolto reinizializzando lo stack tcp

netsh int ip reset log.txt
netsh winsock reset

Ciao.
Top
Profilo Invia messaggio privato
Mostra prima i messaggi di:   
Nuovo argomento   Rispondi    Indice del forum -> ZeroShell Tutti i fusi orari sono GMT + 1 ora
Pagina 1 di 1

 
Vai a:  
Non puoi inserire nuovi argomenti
Non puoi rispondere a nessun argomento
Non puoi modificare i tuoi messaggi
Non puoi cancellare i tuoi messaggi
Non puoi votare nei sondaggi


Powered by phpBB © 2001, 2005 phpBB Group
phpbb.it