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

[OT] Rete 2 host un gw



Ciao a tutti ho un problemino a pingare due host nella mia sottorete.
Ecco la rete:


GW eth0  ---- Internet
   eth1 ----- 192.168.0.1  -------------- PC1 192.168.0.2
   eth2 ----- 192.168.1.1   -------------- PC2 192.168.1.2


per ora non parlo di mascheramento ma solo di ping.

il gw vede PC1
ed il pc1 vede  eth1

ma non riesco a pingare il pc2
come mai?

ecco il mio interfaces:

------------------------GATEWAY
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

#auto eth1 questa scheda non la uso
#iface eth1 inet static
# address 192.168.0.1
# netmask 255.255.255.0
# broadcast 192.168.0.255

auto eth2
iface eth2 inet static
address 192.168.0.1
netmask 255.255.255.0
broadcast 192.168.0.255

auto eth3
iface eth3 inet static
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255

-----------------------------PC1
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.0.255


---------------------------PC2
auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255


e qui il route di GW
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth3
192.168.0.0     *               255.255.255.0   U     0      0        0 eth2

stranamente a volte però il ping funziona la contrario GW -> PC2 ma non GW-> pC1 mai entrambi.

qualche idea?

grazie molte!!



		
___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com



Reply to: