From owner-freebsd-net Tue Dec 15 17:21:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA28790 for freebsd-net-outgoing; Tue, 15 Dec 1998 17:21:30 -0800 (PST) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from pth.com (pault.dca.primenet.com [206.165.112.189]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id RAA28778 for ; Tue, 15 Dec 1998 17:21:25 -0800 (PST) (envelope-from paul@pth.com) Received: from pentium by pth.com (NX5.67g/NX3.0M) id AA14991; Tue, 15 Dec 98 20:25:12 -0500 X-Mailer: PopOver 2.0.131b (Windows NT; i386) From: "Paul T. Haddad" Date: Tue, 15 Dec 1998 20:20:56 -0500 To: freebsd-net@FreeBSD.ORG Subject: Connecting two separate nets via ppp Message-Id: <9812152020.AA564383@pentium> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Mime-Version: 1.0 X-Image-Url: http://www.primenet.com/~pault/paul.tiff Received: by NeXT.Mailer (PopOver.2.0.131b.RR) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id RAA28784 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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