i have 2 network.
Network A and Network B
The server in NetworkB has 2 nic card. eth1 is conected to internal network . and eth0 one is connected to routerA , this router A is connected to network A
and ip as fllows : etho1 : 10.0.01 , eth0: 192.168.2.110 [ gateway :192.168.2.1(router gateway)]
now from network A if ping to this server by this ip 192.168.2.110 , i can ping
but from network A , if i try to ping 10.0.0.1 Or even any other internal pc at networkB , i cant.
i understand, i need to add some route to allow network A to ping at 10.0.0.1
how will i do that ??
currently network route as follows
[root@dhcp rc.d]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth1
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0