From owner-freebsd-net Mon May 3 8:49:47 1999 Delivered-To: freebsd-net@freebsd.org Received: from obie.softweyr.com (unknown [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 7FECA151B2 for ; Mon, 3 May 1999 08:49:42 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (homer.softweyr.com [204.68.178.39]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id JAA01241; Mon, 3 May 1999 09:49:32 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <372DC58B.2D8604B5@softweyr.com> Date: Mon, 03 May 1999 09:49:31 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 3.1-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "thomas.uhrfelt@plymovent.se" Cc: "'freebsd-net@freebsd.org'" Subject: Re: routing over Inet with FreeBSD 3.1R/S References: <01BE9543.CE488840.thomas.uhrfelt@plymovent.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thomas Uhrfelt wrote: > > I have a question about routing "homenets" via Internet, here comes > a description of my 'thought' out configuration. > > [C1:1-o] <---> [i-C1-o] <--Internet--> [o-C2-i] <---> [o-C2:1] > > C1 and C2 are routers/firewalls on completely different geographic > sites, C1:1 and C2:1 simulates workstations within the buildings > behind the firewall. > > -o Outside interface > -i Inside interface > > IPs > --- > C1:1-o 192.168.1.100 > C1-i 192.168.1.1 > C1-o 36.100.100.1 (public IP) > C2-o 37.100.100.1 (public IP) > C2-i 192.168.10.1 > C2:1-o 192.168.10.100 > > With these routing tables will a packet from C1:1 be able to use for > example > telnet 192.168.10.100 to address the computer C2:1 directly, as in > will the packet be routed through the net correctly? No, you're not allowed to place 192.168.x.x addresses on the public internet, that's why they're called PRIVATE addresses. If you make your routers do Network Address Translation you can accomplish this, depending on the size of the two private networks. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message