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

routing



Sorry for this mail , but I think you could not see what I intend to
descipt as the previous mail . Please give me some help

I have 2 PC :  A and B  ,

The A has 2 ethernet card call eth0 ( IP 10.0.0.4/24 )  and eth1 (
192.168.60.2/24 ) . I have enable fowarding between those 2 ethernet :


cvkhanh:/etc/network# cat options
ip_forward=yes


The B has one ethernet card eth0 ( 192.168.60.4/24 ) and the default
gateway is 192.168.60.2 ( the eth1 of A ) .

In A I set route table as :

cvkhanh:~# route -n
Kernel IP routing table
Destination-------Gateway-------Genmask----------Flags--Metric---Ref----Use--Iface
10.0.0.0-----------0.0.0.0------------255.255.255.0-----U--------0---------0-------0-----eth0
192.168.60.0-----192.168.60.2--255.255.255.0---UG------0---------0-------0-----eth1
192.168.60.0-----0.0.0.0-----------255.255.255.0-----U-------0---------0-------0-----eth1
default-------------10.0.0.2-----------0.0.0.0--------------UG-------0---------0-------0-----eth0


But when I tried with A :
ping -I eth0 192.168.60.4 , B not answer .

Tried with B :
ping 10.0.0.4 , it reply immediatly .

I could not find out why ping -I eth0 192.168.60.4 , B not reply ,
please , help me



Reply to: