Hi all,

My virtual network (VMware) looks more or less in this way:

Internet
172.16.35.2
|
|
|
eth0(172.16.35.131) NAT
virtual_machine_A
eth1(192.168.0.1)
|
|
|
eth0(192.168.0.2)
virtual_machine_B

The virtual_machine_A has no problems with connection to Internet (via
its eth0), but also I would like to connect virtual_machine_B to the
internet throught virtual_machine_A.

Some virtual machine's configuration:
-virtual_machine_A has /proc/sys/net/ipv4/ip_forward set to "1"
- virtual_machine_A 's routes:
172.16.35.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
loopback * 255.0.0.0 U 0 0 0 lo
default 172.16.35.2 0.0.0.0 UG 0 0
0 eth0


-virtual machine B's routes:
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

Machine B has no problems with pinging Machine A, but cannot ping
172.16.35.2 recieving From 192.168.0.1 Destination Host unreachable
error.

Could you help me with setting right routes ? If the this is routes
problem as I assume..