From owner-freebsd-net Mon May 3 23:18:38 1999 Delivered-To: freebsd-net@freebsd.org Received: from maile.telia.com (maile.telia.com [194.22.190.16]) by hub.freebsd.org (Postfix) with ESMTP id 79AC1150C7 for ; Mon, 3 May 1999 23:18:35 -0700 (PDT) (envelope-from thomas.uhrfelt@plymovent.se) Received: from d1o68.telia.com (root@d1o68.telia.com [62.20.138.241]) by maile.telia.com (8.8.5/8.8.8) with ESMTP id IAA04568 for ; Tue, 4 May 1999 08:18:34 +0200 (CEST) Received: from tu (t4o68p15.telia.com [62.20.139.135]) by d1o68.telia.com (8.8.8/8.8.5) with SMTP id IAA09352 for ; Tue, 4 May 1999 08:18:33 +0200 (CEST) Received: by localhost with Microsoft MAPI; Tue, 4 May 1999 08:17:35 +0200 Message-ID: <01BE9606.90D23CE0.thomas.uhrfelt@plymovent.se> From: Thomas Uhrfelt Reply-To: "thomas.uhrfelt@plymovent.se" To: "'freebsd-net@freebsd.org'" Subject: SV: routing over Inet with FreeBSD 3.1R/S Date: Tue, 4 May 1999 08:17:25 +0200 Organization: Plymovent AB X-Mailer: Microsoft Internet-e-post/MAPI - 8.0.0.4211 MIME-Version: 1.0 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. I am performing NAT, but my problem is that I need to be able to address some of the "inside" computers on the C2 net directly without having a public IP, how can I accomplish that? I do know that 192 addresses are private, but since I route them directly to my other private network that shouldnt pose a problem or? / Thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message