From owner-freebsd-questions@FreeBSD.ORG Thu May 29 03:03:49 2003 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 317B837B408 for ; Thu, 29 May 2003 03:03:49 -0700 (PDT) Received: from ns0.uk.circle.com (ns0.uk.circle.com [212.161.1.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ED7C43F75 for ; Thu, 29 May 2003 03:03:47 -0700 (PDT) (envelope-from Vince.Hoffman@uk.circle.com) Received: from mime-bristol.uk.circle.com ([213.249.210.50]) by ns0.uk.circle.com (8.12.8/8.12.8) with ESMTP id h4TA9dmc010830 for ; Thu, 29 May 2003 11:09:39 +0100 (BST) Received: from ex-london.uk.circle.com (unverified) by mime-bristol.uk.circle.com ; Thu, 29 May 2003 11:03:55 +0100 Received: by EX-LONDON with Internet Mail Service (5.5.2653.19) id ; Thu, 29 May 2003 11:03:46 +0100 Message-ID: <3500515B75D9D311948800508BA37955014BDB96@EX-LONDON> From: Vince Hoffman To: "'Gary Aitken'" , questions@freebsd.org Date: Thu, 29 May 2003 11:03:36 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Subject: RE: DSL router when what I need is a bridge; ARP problem? 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, 29 May 2003 10:03:49 -0000 > dsl line <---> Cisco 678 <-ed0-> freebsd <-de0-> local host > I naively picked up a Cisco 678 thinking it would do the trick. > However, even with CBOS 2.4.7 installed, it won't route out the > ethernet port -- only out the wan port. e.g., if the > routing tables > in the cisco look like this: > cbos#show route > ip mask gateway type interface > 0.0.0.0 0.0.0.0 a.b.c.d DSAR wan0-0 > <255.255.255.252> LAR eth0 > <255.255.255.248> SAR eth0 > I'm no networking expert so hopefull if I say anything too silly then someone will correct me. If i've understood you correctly you want to join two seperate physical network segments on the same subnet using the freebsd box. Since the join is the Freebsd box then getting that to bridge the two nics should work (assigning and IP to one if needed.) Otherwise you'll need some more routes and to make things more complex, a working example that I have in use (wanted to firewall a class c but was supplied with a managed router as .1 and didnt want to use bridging.) The router and firewalls routerside nic have a .252 netmask (subnet of .1 and .2) the router (.1) has a static route of x.y.z.0/24 via .2 (firewalls external nic) the firewall has .1 as its default route. rest of class c has firewalls other nic (.194 for no good reason) as default route. Hope this helps Vince > The router can ping anything on the local lan, sending its > request and > receiving its reply via the freebsd box; but if anything unless the freebsd box is bridging already not sure why that works. >