Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[OT::Risolto] gateway non funziana...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
DGilmour
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2005
Posts: 132
Location: Abbadia San Salvatore

PostPosted: Sat Dec 02, 2006 3:43 pm    Post subject: [OT::Risolto] gateway non funziana... Reply with quote

Ho installato gentoo 2006.1 x86 su un duron 800 mhz con una scheda madre SIS. La scheda di rete carica il modulo sis900. Ho collegato il computer al router e ho dato questi parametri::

Code:
IP: 192.168.0.2 - GW: 192.168.0.1


Ho modicficato il file /etc/confd/net e ho inserito le seguenti linee:
Code:
config_eth0=("192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255")
routes_eth0=("default gw 192.168.0.1")

Il problema è che sa faccio un ping sia sulla lan che su internet ho un bel destination host unreacable. Se stacco il cavo e ci collego il mio portatile con ubuntu e configuro lo stesso IP tutto funziona a meraviglia.

Ho dato il comando route dal portatile e l'output è venuto fuori immediatamente:
Code:
Destination   Gateway       Genmask           Flags   Metric   Ref   Use   Iface
192.168.0.0  *                      255.255.255.0   U          0           0       0        eth0
loopback       *                      255.0.0.0            U          0           0       0        lo
default           192.168.0.1  0.0.0.0                 UG       0           0       0        eth0


Se invece dò il comando route dal computer che non naviga ottengo::
Code:
Destination   Gateway       Genmask           Flags   Metric   Ref   Use   Iface


Dopo un minuto circa nell'output si aggiunge:
Code:
192.168.0.0  *                      255.255.255.0   U          0           0       0        eth0
loopback    *                      255.0.0.0            U          0           0       0        lo


E dopo circa 3 minuti ottengo l'ultima linea di output:
[codedefault 192.168.0.1 0.0.0.0 UG 0 0 0 eth0[/code]

Ho forse sbagliato la configurazione della scheda di rete? Oppure ho qualche problema con il kernel 2.6.18 (gentoo-sources)?
Sapreste aiutarmi?

Ciao a tutti e buon weekend!!!


Last edited by DGilmour on Mon Dec 04, 2006 5:15 pm; edited 3 times in total
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Dec 02, 2006 3:52 pm    Post subject: Re: gateway non funziana in maniera corretta... Reply with quote

che impieghi mezzo secolo a stampare l'ultima riga è perché deve andare in timeout la richiesta di risolvere il nome "default", ed è normale.

hai abilitato l'ip forwarding?
in che stato è il firewall del tuo router?

se usi un po' di bbcode, il post diventa anche leggibile.
Back to top
View user's profile Send private message
DGilmour
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2005
Posts: 132
Location: Abbadia San Salvatore

PostPosted: Sat Dec 02, 2006 3:58 pm    Post subject: Reply with quote

Bhè, avevo pensato anche io il firewall del router, ma allora non dovrebbe funzionare eneanche con il portatile... Sttavo pensando agli indirizzi MAC oppure la mia scheda di rete è defunta... Ma eppure i led si accendono e lo scambio di pacchetti sembra avvenire...
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Dec 02, 2006 5:00 pm    Post subject: Reply with quote

DGilmour wrote:
Bhè, avevo pensato anche io il firewall del router, ma allora non dovrebbe funzionare eneanche con il portatile... Sttavo pensando agli indirizzi MAC oppure la mia scheda di rete è defunta... Ma eppure i led si accendono e lo scambio di pacchetti sembra avvenire...

ops... adesso che guardo avevo letto male il tuo post.

ma scusa... hai impostato delle arp statiche?
Back to top
View user's profile Send private message
DGilmour
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2005
Posts: 132
Location: Abbadia San Salvatore

PostPosted: Sat Dec 02, 2006 5:03 pm    Post subject: Reply with quote

No, nessuna ARP statica. Stavo pensando allo switch che magari si teneva il mac della scheda di rete. Ho anche cambiato porta dello switch e cavo di rete, ma il problema mi persiste...

Ora provo a disabilitare la scheda di rete interna e metterne una PCI e vedere il risultato...

Ciao!!!
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Sat Dec 02, 2006 5:06 pm    Post subject: Reply with quote

uno switch è un dispositivo senza memoria. non può tenere traccia di niente
prova a fare un esperimento cambiando la scheda di rete della macchina che non va, ma è comuqnue qualcosa di molto strano

non è che stai forse usando un modulo compatibile, ma non del tutto, con la tua scheda?
Back to top
View user's profile Send private message
DGilmour
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2005
Posts: 132
Location: Abbadia San Salvatore

PostPosted: Sat Dec 02, 2006 5:28 pm    Post subject: Reply with quote

.:chrome:. wrote:

non è che stai forse usando un modulo compatibile, ma non del tutto, con la tua scheda?

E' quello che farò questa sera stessa!!!

ciao, Keres.
Back to top
View user's profile Send private message
DGilmour
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2005
Posts: 132
Location: Abbadia San Salvatore

PostPosted: Sun Dec 03, 2006 3:31 pm    Post subject: Reply with quote

Ho sostituito l'intera scheda madre. Purtroppo anche con una scheda di rete esterna gentoo non riusciva ad uscire, neanche a prendere l'ip in dhcp. Con la scheda madre nuova tutto fuonziona alla perfezione.

Penso (assurdamente) che la scheda madre non era compatibile con linux, anche se l'installazione era andata a buon fine.

Ciao, Keres.
Back to top
View user's profile Send private message
GiRa
l33t
l33t


Joined: 07 Apr 2005
Posts: 717

PostPosted: Sun Dec 03, 2006 4:06 pm    Post subject: Reply with quote

Non è che oltre alla mobo hai anche cambiato cavo o porta dello switch?

Se il cavo/porta è sfigato il link si fa ma non riesci a far passare le trame...
Back to top
View user's profile Send private message
DGilmour
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2005
Posts: 132
Location: Abbadia San Salvatore

PostPosted: Sun Dec 03, 2006 4:21 pm    Post subject: Reply with quote

No, non ho cambiato nè cavo nè porta dello switch... cosa piuttosto insbiegabile però... I cavi sono tutti nuovi, non quelli fatti a mano, proprio per eviatare problemi faccio contatto non faccio contatto... mah? Ho installato win sulla mobo presunta guasta con i suoi driver e tutto funziona. Forse la Maledizione dello Zio Bill?

Ciao...
Back to top
View user's profile Send private message
GiRa
l33t
l33t


Joined: 07 Apr 2005
Posts: 717

PostPosted: Sun Dec 03, 2006 6:18 pm    Post subject: Reply with quote

Boh, son perplesso.

Almeno per la rete il pinguino dovrebbe essere affidabile.
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Sun Dec 03, 2006 6:22 pm    Post subject: Reply with quote

:twisted:

Last edited by djinnZ on Mon Feb 23, 2009 8:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
DGilmour
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2005
Posts: 132
Location: Abbadia San Salvatore

PostPosted: Mon Dec 04, 2006 3:24 pm    Post subject: Reply with quote

Ancora una stranezza...

Ho installato la mobo Asus A7V600-X e ho tirato su il modulo via-rhine della scheda di rete ETH0 così poi configurata:
Code:
eth0::
IP:: 192.168.0.2
Mask:: 255.255.255.0
Brd:: 192.168.0.255
GW:: 192.168.0.1


Fin qui tutto ok il computer và in internet tranquillamente.

La cosa bella succede con la seconda scheda di rete. Carico il modulo tulip e la eth0 smette di funzionare. Non inoltra più pacchetti verso il gateway. Ok faccio ifconfig e imposto eth1:
Code:
eth1::
IP:: 192.168.1.1
Mask:: 255.255.255.0
Brd:: 192.168.1.255


Eth0 continua a non inviare pacchetti verso il gateway... Quindi spengo il computer e poi riavvio (senza il miodulo tulip) e tutto torna alla normalità... La stessa cosa mi succede anche se metto una rtl8139... Ci qualche file di configurazione che tralascio, oppure è cambiato il sistema della configurazione della rete...

Avrò bisogno di chiamare un esorcista?

Ora faccio una prova con la slackware 11 e il kernel vanilla, magari scopro dove sbaglio...
Ciao a tutti!!!
Back to top
View user's profile Send private message
GiRa
l33t
l33t


Joined: 07 Apr 2005
Posts: 717

PostPosted: Mon Dec 04, 2006 4:42 pm    Post subject: Reply with quote

Hai provato a vedere cosa ti dice il kernel nei log?

Già che ci sei posta un po' di (lspci,) lspci -n, ifconfig -a, route -n, lsmod in vari momenti.
Back to top
View user's profile Send private message
DGilmour
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2005
Posts: 132
Location: Abbadia San Salvatore

PostPosted: Mon Dec 04, 2006 5:15 pm    Post subject: Reply with quote

Ho trovato la magagna!!!

Ho un router ADSL zyxel 642R con eth0 configurato::
Code:
IP:: 192.168.0.1
NETMASK:: 255.255.255.255.0


Poi c'è il DHCP fornito dallo stesso router::
Code:
range start:: 192.168.0.200
range end:: 192.168.0.254


Disabilitando il DHCP del router tutto funziona alla grande!!! persino la vecchia mobo sys!!!

Ciao a tutti, Keres.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum