From owner-freebsd-questions@FreeBSD.ORG Tue Jul 13 18:15:33 2004 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 F333016A4CE for ; Tue, 13 Jul 2004 18:15:32 +0000 (GMT) Received: from frodo.otenet.gr (frodo.otenet.gr [195.170.0.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 385A743D1F for ; Tue, 13 Jul 2004 18:15:31 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a008.otenet.gr [212.205.215.8]) by frodo.otenet.gr (8.12.10/8.12.10) with ESMTP id i6DIFQ3E002692; Tue, 13 Jul 2004 21:15:28 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.11/8.12.11) with ESMTP id i6DIFJNB000744; Tue, 13 Jul 2004 21:15:19 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.11/8.12.11/Submit) id i6D4rBYl082387; Tue, 13 Jul 2004 07:53:11 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 13 Jul 2004 07:53:10 +0300 From: Giorgos Keramidas To: freebsder Message-ID: <20040713045310.GA72435@gothmog.gr> References: <20040712234753.86645.qmail@web52505.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040712234753.86645.qmail@web52505.mail.yahoo.com> cc: freebsd-questions@freebsd.org Subject: Re: Freebsd 5.1 <-> Win XP Networking problems 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: Tue, 13 Jul 2004 18:15:33 -0000 Hi, I deleted freebsd-newbies, freebsd-net and freebsd-isp from the Cc: list. Please do not cross-post to many lists. The -questions list is usually the right place to ask when you are not sure that the topic fits the charter of a more specialized list. On 2004-07-12 16:47, freebsder wrote: > I have a Freebsd 5.1 box connected to the internet. It works. But I am now > trying to network two other Win XP machines as per the following network > hierarchy: > > <><><> > Setup > <><><> > ISP-> DSL Modem -> FreeBSD box : > 1) "vr0" 192.168.0.1 [Gateway machine address] > 2) "ed0" 192.168.0.3 [Internal Network address] > connects to:-> > > 4- port HUB -> > 1)WinXP machine #1 192.168.0.2 > 2)Freebsd Box 192.168.0.3 > 3)WinXP machine #2 192.168.0.4 Hmmm. I think your FreeBSD machine shouldn't have two interfaces in the same subnet. At least if you're not doing some sort of bridging. If your vr0 interface really *must* have an address in 192.168.0.0/16 you could assign 10.0.0.0/8 addresses to FreeBSD's ed0 interface and to the Windows XP machines. Then, when you can freely ping around your network and see that all machines can see each other (through their 10.x.x.x addresses) enable NAT on the FreeBSD gateway to let the internal subnet access the rest of the world too. Giorgos