[Ilugc] routing issues

  • From: binand@xxxxxxxxx (Binand Sethumadhavan)
  • Date: Mon May 30 15:18:55 2005

On 30/05/05, Bharathi Subramanian <sbharathi@xxxxxxxxxxxxx> wrote:

On Mon, 30 May 2005, Mohammed Riyaz wrote:

machine1(192.168.0.1)<-------->(192.168.0.2)machine
2(172.16.0.1)<------->(172.16.0.2)machine3(210.210.x.x)
<--->internet

In machine 2, you have to do the IP MASQ for 192.168.0.x, use
IPTables.

Iptables is not the panacea for routing problems. Why cannot his
machine2 act as a simple router without packet mangling? On the other
hand, if he goes for masquerading on machine2, his machine3 will not
be able to access services on machine1.

To the OP: You probably -think- you have enabled IP forwarding, double
check that. What does "cat /proc/sys/net/ipv4/ip_forward" say on
machine2?

Binand

Other related posts: