From owner-freebsd-questions@FreeBSD.ORG Thu Jun 19 15:33:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDF6C37B401; Thu, 19 Jun 2003 15:33:14 -0700 (PDT) Received: from mailgw2a.lmco.com (mailgw2a.lmco.com [192.91.147.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id C521543F75; Thu, 19 Jun 2003 15:33:13 -0700 (PDT) (envelope-from artem.n.tkachenko@lmco.com) Received: from emss01g01.ems.lmco.com ([129.197.181.54]) by mailgw2a.lmco.com (8.11.6p2/8.11.6) with ESMTP id h5JMXCv22808; Thu, 19 Jun 2003 18:33:12 -0400 (EDT) Received: from CONVERSION-DAEMON.lmco.com by lmco.com (PMDF V6.1-1 #40643) id <0HGQ00001Z89IK@lmco.com>; Thu, 19 Jun 2003 15:33:07 -0700 (PDT) Received: from EMSS01I00.us.lmco.com ([129.197.181.70]) by lmco.com (PMDF V6.1-1 #40643) with ESMTP id <0HGR00GL91MZKD@lmco.com>; Thu, 19 Jun 2003 15:11:23 -0700 (PDT) Received: by EMSS01I00.us.lmco.com with Internet Mail Service (5.5.2653.19) id ; Thu, 19 Jun 2003 15:11:22 -0700 Content-return: allowed Date: Thu, 19 Jun 2003 15:11:10 -0700 From: "Tkachenko, Artem N" To: "Freebsd-Questions (E-mail)" , "Freebsd-Config (E-mail)" , "Brent Wiese (E-mail)" Message-id: <573562C6FDA9564A8EEE66D899BC190B02935D91@EMSS01M10.us.lmco.com> MIME-version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Subject: Networking problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 22:33:15 -0000 Hi, I posted similar question some time ago but I guess I misstated the problem. I will be more careful this time. Here is my situation: Node A <-----> LAN1 <-----> Node B <-----> LAN2 <-----> Node C Node A: OS: Win2K IP Address (to LAN1): 129.197.23.232 Node B: OS: FreeBSD 4.6 IP address (to LAN1): 129.197.244.10 IP address (to LAN2): 10.77.1.1 Node C: OS: FreeBSD 4.6 IP address (to LAN2) 10.77.2.1 What I am trying to accomplish is to set up Node A and Node B (and not Node C) to have Node A think that it is directly connected to LAN2 with an IP Address 10.77.1.2 So if Node A needs to send a packet to Node C, some program on Node A will encapsulate the packed and send it to Node B. Some other program on Node B will get the encapsulated packet, recognize that it came from Node A and that it needs to go somewhere else on LAN2, open the capsule and forward the original packet to the appropriate destination. And if Node C needs to send a packet to 10.77.1.2, the router on LAN2 will force it to send the packet to Node B. The Node B should then forward the packet to Node A. I tried to accomplish this in many ways but was not able to get exactly what I was looking for. I would highly appreciate if someone could tell me which program I need to use. ANY help if highly appreciated. I am really stuck... Thank you in advance. Sincerely Artem