Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 1998 20:20:56 -0500
From:      "Paul T. Haddad" <paul@pth.com>
To:        freebsd-net@FreeBSD.ORG
Subject:   Connecting two separate nets via ppp
Message-ID:  <9812152020.AA564383@pentium>

next in thread | raw e-mail | index | archive | help
Hi All,

Here's my situation I have two machines with the following IPs
1.1.1.1 and 1.1.1.2

I have a machine that I need to ppp into whose address is 2.2.2.100, now I want all traffic coming from the 1.1.1.X machines and going to 2.X.X.X to appear like it is coming from 2.2.2.1 and 2.2.2.2.  For all other destinations the 1.1.1.X address should remain the same.

Now 1.1.1.1 is the ppp client and its very easy to have that appear as 2.2.2.1 on the 2.X.X.X network, but any traffic coming from 1.1.1.2 appears to be coming from that direction and gets lost (since there is no route from 2.X to that machine).

So what do I need to do the 1.1.1.1 and 2.2.2.100 machines so that packets leaving 1.1.1.2 and destined for 2.X get translated to 2.2.2.2 and packets going to 2.2.2.2 get translated/routed to 1.1.1.2?

I think 2.2.2.100 needs an arp for the 1.1.1.2 and then a route from 2.2.2.2 to 2.2.2.1, but I'm not sure what to do on the 1.1.1.1 machine to have it translate the ip address from 1.X to 2.X.

I hope this all made sense, I've been playing around with this most of the day and still haven't been able to figure it out.
---
Paul           (NeXTmail preferred)
# Paul T. Haddad   (paul@pth.com)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9812152020.AA564383>