[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: utilizzare due schede di rete.




-----Original Message-----
From: Mauro <mauro.sanna6@tin.it>
To: debian-italian@lists.debian.org
Date: Fri, 23 Jan 2004 08:47:20 +0100
Subject: Re: utilizzare due schede di rete.

> On Thursday 22 January 2004 13:57, windfall wrote:
> > On 09:40 Thu 22 Jan?, Mauro wrote:
> > > Uso debian stable.
> > > La eth0 ha questi parametri:
> > >
> > > auto eth0
> > > iface eth0 inet static
> > >         address 192.168.4.7
> > >         netmask 255.255.254.0
> > >         network 192.168.4.0
> > >         broadcast 192.168.5.255
> > >         gateway 192.168.4.9
> > >
> > > la eth1 e':
> > >
> > > auto eth1
> > > iface eth1 inet static
> > >        address 172.16.20.2
> > >        netmask 255.255.255.252
> > >        network 172.16.20.0
> > >        broadcast 172.16.20.3
> > >
> > > inoltre ho
> > > up route add -net 192.168.0.0 netmask 255.255.0.0 gw
> > > 192.168.5.254 eth0
> > >
> > > non riesco a pingare per esempio l'ip 192.168.4.12.
> > > non pingo nessun ip della rete 192.168.0.0/16.
> > > Se invece tolgo le configurazione per la eth1 tutto funziona.
> > > Come mai?
> > > Cosa mi manca a livello di configurazione?
> > > Grazie.
> >
> > ciao, puoi postare l'output di route e di ifconfig?
> > grazie
> > karen
> 
> l'ifconfig e':
> 
> 
> eth0      Link encap:Ethernet  HWaddr 00:02:B3:BF:CD:E4
>           inet addr:192.168.4.7  Bcast:255.255.255.252  
> Mask:255.255.254.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:17456975 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:18983194 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           RX bytes:1248626502 (1.1 GiB)  TX bytes:2879089679 (2.6 GiB)
>           Interrupt:18 Base address:0x2300 Memory:fbfe0000-fc000000
> 
> eth1    Link encap:Ethernet  HWaddr 00:02:B3:BF:CD:E3
>           inet addr:172.16.20.2  Bcast:172.16.20.3  
> Mask:255.255.255.252
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:5404587 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:5404587 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:787090467 (750.6 MiB)  TX bytes:787090467 (750.6 
> MiB)
> 
> la route e':
> 
> Destination     Gateway         Genmask         Flags   MSS Window  
> irtt Iface
> 172.16.20.2	0.0.0.0	255.255.255.252	U	40 0	 0	eth1
> 192.168.4.0     0.0.0.0         255.255.254.0   U        40 0          
> 0 eth0
> 192.168.0.0     192.168.5.254   255.255.0.0     UG       40 0          
> 0 eth0
> 0.0.0.0         192.168.4.9     0.0.0.0         UG       40 0          
> 0 eth0
> 
> Secondo me e' tutto corretto.
> 
Non mi è chiaro come fai a raggiungere 192.168.5.254, dato che nessuna 
route per 192.168.0.0/16 è scritta nella rt senza fare uso del gateway 
in quella rete.

Sarebbe interessante vedere se ci sono richieste arp per 192.168.5.254. 
Scommettiamo di no?

Raffaele

**************************************************************************
Questo messaggio puo' contenere informazioni di carattere estremamente
riservato e confidenziale.
Qualora non foste i destinatari, vogliate immediatamente informarci
con lo stesso mezzo ed eliminare il messaggio, con gli eventuali allegati,
senza trattenerne copia. Qualsivoglia utilizzo non autorizzato del
contenuto di questo messaggio costituisce violazione dell'obbligo di non
prendere cognizione della corrispondenza tra altri soggetti, salvo piu'
grave illecito, ed espone il responsabile alle relative conseguenze civili
e penali.

This message is being sent from Starcom Italia Srl and may
contain information which is confidential or privileged.  If you are not
the intended recipient, please advise the sender immediately by reply
e-mail and delete this message and any attachments without retaining a
copy. Any unauthorized use of the content of this message is a breach of
your duty to respect the confidentiality of the correspondence between
other persons and can expose the responsible party to civil and/or
criminal penalties, and may constitute a more serious offense.
**************************************************************************




Reply to: