From owner-freebsd-current Fri Apr 24 08:35:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA20032 for freebsd-current-outgoing; Fri, 24 Apr 1998 08:35:09 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA20027 for ; Fri, 24 Apr 1998 08:35:06 -0700 (PDT) (envelope-from jlemon@americantv.com) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id KAA19862; Fri, 24 Apr 1998 10:35:02 -0500 (CDT) Received: (from jlemon@localhost) by right.PCS (8.6.13/8.6.4) id KAA15178; Fri, 24 Apr 1998 10:34:31 -0500 Message-ID: <19980424103430.27432@right.PCS> Date: Fri, 24 Apr 1998 10:34:30 -0500 From: Jonathan Lemon To: Luigi Rizzo Cc: current@FreeBSD.ORG Subject: Re: Bridging... References: <199804240607.IAA20557@labinfo.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: <199804240607.IAA20557@labinfo.iet.unipi.it>; from Luigi Rizzo on Apr 04, 1998 at 08:07:24AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Apr 04, 1998 at 08:07:24AM +0200, Luigi Rizzo wrote: > I am trying to see what could be the best way to implement bridging > within FreeBSD. The main app would be to connect 10/100 Mbit > interfaces in the most transparent way (I know doing packet filtering > on a 100 Mbit segment places a bit of load on the host and a > dedicated solution could be cheaper/more efficient). > > After thinking a bit, how about the following: > > + add a "linked" (or whatever name you like) command to "ifconfig" > so that you can say > > ifconfig de1 linked ed0 > > and then de1 inherits all features (ethernet and ip addresses, > aliases, netmasks...) of ed0. (Using the same ethernet addr makes > life easier when responding to ARP requests...) That would be nice. Right now, I do ``bridging'' with an ugly mixture of -link and -iface flags, combined with some mucking around with the arp table. I always thought that there should be an easier way to do it. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message