[Q] Newbie PPP dial up problem

Damien Elmes resolve at repose.cx
Sun Oct 7 23:24:03 EST 2001


jeremy at itassist.net.au writes:

> On  7 Oct, Donovan J. Edye wrote:
> > M,
> > 
> > I did that and it works (I am connecting to another private network
> > hence the no need for NAT). As I understand it I have enabled
> > forwarding between my interfaces ie ppp0 and eth0. Is that correct or
> > have I missed the boat again?
> > 
> 
> You really should read the IP-MASQUERADE howto.  Available from
> linuxdoc.org, or found in your /usr/share/doc/HOWTO directory it walks
> you through setting up masquerading. As I recall if you cut-and-paste
> the example from the howto and change the ip numbers to your subnet it
> will work straight away.

will that help in this case, jeremy? he's said that he's connecting to
another private network.

donovan, say your layout is like this:


 net1: {host_a, host_b} <-> net1_gateway  
        <-------> net2_gateway <-> net2 {host_c, host_d}

you'll need routing rules so that the hosts in net2 know how to reach
net1 (tell them the default gw is net2_gateway), and you'll need the
associated rules so that net1 hosts know how to reach net2 hosts.
otherwise you'll be able to send data to them, and they won't know
where to reply.

if this is the sort of arrangement you're using, you don't need IP
forwarding, masquerading, or anything else. you just need to tell the
hosts they can access the other hosts via the gateway. 

cheers!

-- 
Damien Elmes
resolve at repose.cx




More information about the linux mailing list