From owner-freebsd-net@FreeBSD.ORG Fri Sep 3 18:26:39 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D909816A4CE for ; Fri, 3 Sep 2004 18:26:39 +0000 (GMT) Received: from mail.bitfreak.org (mail.bitfreak.org [65.75.198.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F25A43D45 for ; Fri, 3 Sep 2004 18:26:39 +0000 (GMT) (envelope-from dmp@bitfreak.org) Received: from speck.loki.lan (c-24-21-241-225.client.comcast.net [24.21.241.225]) by mail.bitfreak.org (Postfix) with ESMTP id E095D19F3A; Fri, 3 Sep 2004 11:26:38 -0700 (PDT) Received: from spud (d2.loki.lan [172.21.42.22]) by speck.loki.lan (Postfix) with ESMTP id AB6C917025; Fri, 3 Sep 2004 11:26:35 -0700 (PDT) From: "Darren Pilgrim" To: "'RRrp Toren'" , "'Charles Swiger'" Date: Fri, 3 Sep 2004 11:26:25 -0700 Message-ID: <000001c491e3$88c3bef0$162a15ac@spud> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6626 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <41384D4C.9030209@bronzedragon.net> Importance: Normal cc: freebsd-net@freebsd.org Subject: RE: 3 NICs - 1 upstream, 2 downstream to same subnet?? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2004 18:26:40 -0000 > From: RRrp Toren >=20 > The IP addresses here were picked for demonstration=20 > purposes. The actuals=20 > set can come from anywhere within the RFC 1918 network=20 > numbers. So picking a=20 > good IP the 1st time, in the blind, is like shooting a=20 > bullseye on the first=20 > shot in a pitchblack range you just stepped into. Then there=20 > are other layers=20 > that have to be bypassed. Sort of like Indiana Jones. There are many=20 > challenges to overcome, with only one attempt each. I am just=20 > asking about the=20 > technical feasability. The problem, then, was your example addresses were very poor. We all got sidetracked on explaining a problem that doesn't even exist. So let's back up a bit: What you want to do: - One interface for your wired network. Address space A. - One interface for your wireless network. A DHCP server hands out leases from address space B to those MACs it recognizes and from address space C to those it doesn't. Is that about right? > I have=20 > always thought routers could service a large subnet with=20 > multiple interfaces.=20 > And that FreeBSD could be configured as a router. Routers typically use virtual interfaces, VLANs and other tricks to separate address space from the physical interfaces. This is because you often need many separate interfaces and 100s of ports would cost disturbing amounts of money. =20 There is also the concept of preference (cost), where each route to a given destination is given a number that defines the order in which the interfaces are used. In normal operation, only the most preferred (lowest-cost) route will be used. I've never set FreeBSD up as anything more than a static router, so I don't know if this level of functionality is possible. It should be if you run a routing protocol.