From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 19:33:15 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 6995916A4CE for ; Thu, 8 Jul 2004 19:33:15 +0000 (GMT) Received: from grog.secure-computing.net (front-door.secure-computing.net [63.228.14.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7E3A43D41 for ; Thu, 8 Jul 2004 19:33:14 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from Nomad (nat-server.secure-computing.net [63.228.14.245]) (authenticated bits=0)i68JWIXg096240; Thu, 8 Jul 2004 14:32:18 -0500 (CDT) (envelope-from ecrist@secure-computing.net) From: "Eric Crist" To: "'Lowell Gilbert'" , Date: Thu, 8 Jul 2004 14:35:28 -0500 Message-ID: <003301c46522$bc69cbc0$6501a8c0@Nomad> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <44briqb97g.fsf@be-well.ilk.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal X-Virus-Scanned: clamd / ClamAV version 0.72, clamav-milter version 0.72 on grog.secure-computing.net X-Virus-Status: Clean 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:33:15 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > Lowell Gilbert > Sent: Thursday, July 08, 2004 2:17 PM > To: root@mediamonks.net > Cc: freebsd-questions@freebsd.org > Subject: Re: Network configuration > > > "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 | > > ------------------- ------------------- ------------------- One thing I noticed is that there isn't an IP address assigned to xl1. This needs to be done, afaik. If you're out of IP addresses, NAT is going to be your thing, on a third interface perhaps. Here's what I'm getting at: As an example, set the IP address of xl1 to 217.1.1.154. Then, set up the routing table on the freebsd box so that all outgoing packets get passed to xl0, and any packet destined for 156, 157, or 158 get passed back to xl1. Set the default gateway on your machines to .154. This should have you up and running. If this doesn't make sense to you, send me an email and I'll try to explain further. HTH Eric Crist