Networking Forums

Networking Forums > Computer Networking > Linux Networking > Basic route usage.

Reply
Thread Tools Display Modes

Basic route usage.

 
 
pgega
Guest
Posts: n/a

 
      01-17-2008, 12:01 PM
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..
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Usage Basil Lee Broadband Hardware 2 08-09-2006 09:39 AM
VPN client adds wrong route to local route table snowdog_2112 Windows Networking 7 11-01-2005 02:05 PM
BT Broadband Basic Usage over the limit Madsharpei Broadband 1 10-10-2005 05:58 PM
route and static route to a gateway Sting Linux Networking 2 02-21-2004 03:35 AM
Question On Basic Firewall Usage Bob Cohen Windows Networking 6 02-02-2004 08:59 PM



1 2 3 4 5 6 7 8 9 10 11