From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 19:16:53 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 CC96F16A4CF for ; Thu, 8 Jul 2004 19:16:53 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5863043D41 for ; Thu, 8 Jul 2004 19:16:53 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.196.44]) by comcast.net (sccrmhc12) with ESMTP id <2004070819165201200055roe>; Thu, 8 Jul 2004 19:16:52 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id 06AA87F; Thu, 8 Jul 2004 15:16:52 -0400 (EDT) Sender: lowell@be-well.ilk.org To: root@mediamonks.net References: <200407081710527.SM07768@manrikigusari> From: Lowell Gilbert Date: 08 Jul 2004 15:16:51 -0400 In-Reply-To: <200407081710527.SM07768@manrikigusari> Message-ID: <44briqb97g.fsf@be-well.ilk.org> Lines: 54 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Network configuration 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, 08 Jul 2004 19:16:54 -0000 "Terrence Koeman" writes: > Hi, > > I have been busy setting up a network the last 3 days, but I cannot get it > working. > > Basically I have no clue what has to be setup etc. and if I need bridging or > not. > > The situation is as follows: > > -------------- > | SDSL Modem | > | Bridged | > -------------- > | > -------------------------- > | xl0: 217.1.1.155 | > | | > | Freebsd Box | > | | > | xl1 | > -------------------------- > | > ---------- > |---------------| SWITCH |---------------| > | ---------- | > | | | > ------------------- ------------------- ------------------- > | C1: 217.1.1.156 | | C2: 217.1.1.157 | | C3: 217.1.1.158 | > ------------------- ------------------- ------------------- > > > The FreeBSD box has full internet connectivity and I can also get NAT > working, but the thing is that I need those non-private IP's bound to the > clients and I need ipfw between the clients and the modem. Also I need the > FreeBSD machine to have a non-private IP address. I have no clue as to > getting the packets from those clients to the internet. I tried bridging xl0 > and xl1 and using 217.1.1.155 as gateway, but that didn't work. I can't be sure without knowing the netmask, but it sounds like that's exactly the right idea. There's no way to tell why it went wrong when you gave neither the system configuration details or what actually happened when it "didn't work." You will probably find the FreeBSD Handbook documentation on this topic useful: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org:8088/~lowell/