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

Re: routing



On Thu, Oct 28, 2010 at 01:31:22PM +0700, Sthu Deus wrote:
> Thank You for Your time and answer, lee:
> 
> >> host1 <-> eth <-> host2 <-> ppp
> 
> > using eth, just as you have a default route
> > on host2 using ppp0.
> 
> Just an addition, on host1 I have this routing table:
> 
> host1@$ /sbin/route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface 192.168.0.0     *               255.255.255.0   U     0
> 0        0 eth0 default         192.168.0.125   0.0.0.0         UG
> 0      0        0 eth0

You also need to do masquerading. That you don´t is the reason why no
answers get back to host 1.


Reply to: