From owner-freebsd-questions@FreeBSD.ORG Wed May 2 18:02:37 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FCBC16A410 for ; Wed, 2 May 2007 18:02:37 +0000 (UTC) (envelope-from pete_sw@hotmail.com) Received: from bay0-omc2-s12.bay0.hotmail.com (bay0-omc2-s12.bay0.hotmail.com [65.54.246.148]) by mx1.freebsd.org (Postfix) with ESMTP id 59B5D13C4BC for ; Wed, 2 May 2007 18:02:36 +0000 (UTC) (envelope-from pete_sw@hotmail.com) Received: from hotmail.com ([207.46.8.11]) by bay0-omc2-s12.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Wed, 2 May 2007 11:02:36 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 2 May 2007 11:02:36 -0700 Message-ID: Received: from 80.175.105.1 by BAY117-DAV1.phx.gbl with DAV; Wed, 02 May 2007 18:02:34 +0000 X-Originating-IP: [80.175.105.1] X-Originating-Email: [pete_sw@hotmail.com] X-Sender: pete_sw@hotmail.com From: "Pete Jones" To: "FreeBSD-questions" References: <44bqh414km.fsf@Lowell-Desk.lan> Date: Wed, 2 May 2007 19:02:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-OriginalArrivalTime: 02 May 2007 18:02:36.0401 (UTC) FILETIME=[10B3F610:01C78CE4] Subject: Re: Bridging with tap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2007 18:02:37 -0000 Thanks for the reply, I followed the instructions in the handbook for ethernet bridging. In Freebsd 6.1 release you could compile the bridge and tap modules into the kernel, then enable ethernet bridging and actually bridge two interfaces using sysctl.conf. I found that this brought a tap interface up at startup. This did not automatically happen for me using 6.2 release, I have since discovered however that openvpn on startup brings up a tap interface, but of course at this point the sysctl.conf bridging entry had passed. I have since discovered that bridge has been superceded by if_bridge and that I should be able to bridge the two interfaces using rc.conf. I have entered the correct command, but how do know for sure that the two interfaces are bridged? thanks in advance ----- Original Message ----- From: "Lowell Gilbert" To: "Pete Jones" Cc: "FreeBSD-questions" Sent: Wednesday, May 02, 2007 12:56 AM Subject: Re: Bridging with tap > "Pete Jones" writes: > >> Does anyone know anything about ethernet bridging to a tap interface >> in Freebsd 6.2. I have compiled the bridge option and the tap device >> into the kernel, but the tap device has not appeared. I have tried >> this on a virtual machine and a separate box with the same results, >> yet it works with Freebsd 6.1. I used the same configuration in >> sysctl.conf for both 6.1 and 6.2. >> >> Has anyone had the same problem, or any other problems with tap not >> working? > > tap devices don't appear until you try to use them. What are you > actually trying that fails? > > > My qemu-based testbed with a lot of tap devices has been working on > -STABLE steadily since early in the 6.x lifetime (I haven't used it > lately, but it definitely worked after 6.2 was released). >