From owner-freebsd-questions@FreeBSD.ORG Fri Jan 21 12:32:09 2005 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 782A316A4CE for ; Fri, 21 Jan 2005 12:32:09 +0000 (GMT) Received: from limicola.its.uu.se (limicola.its.UU.SE [130.238.7.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8CAF43D54 for ; Fri, 21 Jan 2005 12:32:07 +0000 (GMT) (envelope-from ante@Update.UU.SE) Received: by limicola.its.uu.se (Postfix, from userid 205) id 5C75E4A31; Fri, 21 Jan 2005 13:32:06 +0100 (MEZ) Received: from limicola.its.uu.se(127.0.0.1) by limicola.its.uu.se via virus-scan id s2302; Fri, 21 Jan 05 13:32:02 +0100 Received: from Psilocybe.Update.UU.SE (Psilocybe.Update.UU.SE [130.238.19.25]) by limicola.its.uu.se (Postfix) with ESMTP id 5C2084A26 for ; Fri, 21 Jan 2005 13:32:02 +0100 (MEZ) Received: by Psilocybe.Update.UU.SE (Postfix, from userid 30086) id 505CB38012; Fri, 21 Jan 2005 13:32:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by Psilocybe.Update.UU.SE (Postfix) with ESMTP id 4F45F5C002 for ; Fri, 21 Jan 2005 13:32:02 +0100 (CET) Date: Fri, 21 Jan 2005 13:32:02 +0100 (CET) From: Andreas Davour To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Ethernet bridge/tunneling with tap/tun 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: Fri, 21 Jan 2005 12:32:09 -0000 I've been reading the handbook, the man pages and been trying to do some inventive maneuvers. I don't work. So, I have the bridge module loaded, I have the if_tap module loaded. I have "activated" the tap/tun device with 'cat /dev/tap0 |tun0'. How do I set up the bridge? I've read the manpage for ifconfig and tried a few times to bridge from my rl0 interface to some of the tap/tun devices. I get some different error messages, but mostly it complains that I use the wrong arguments. I think I have misunderstood how these ethernet bridges work. Are there anyone out there that have a webpage, or some other documentation of a working example of ethernet tunneling? Google finds me some linux stuff I don't find applicable. The big idea with all this is to get my simulated VAX to bridge its interface to my physical rl0 via tap0. But how? If nobody have any documentation to suggest, then I guess I'll have to do a step by step example of what goes wrong and hope someone can debug that. Thankful for any pointers in the correct direction. /andreas -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?