From owner-freebsd-questions@FreeBSD.ORG Wed Feb 16 15:31:00 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 6C44416A4CE for ; Wed, 16 Feb 2005 15:31:00 +0000 (GMT) Received: from ns.radiant.ru (mail.radiant.ru [62.69.0.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9656D43D54 for ; Wed, 16 Feb 2005 15:30:59 +0000 (GMT) (envelope-from ostap@mail.radiant.ru) Received: from uc.r-isp.ru (uc.r-isp.ru [62.69.0.103]) by ns.radiant.ru (8.12.9/8.11.3) with ESMTP id j1GFUvw0075419 for ; Wed, 16 Feb 2005 19:30:58 +0400 (SAMT) (envelope-from ostap@mail.radiant.ru) From: Sergey Evteeff To: freebsd-questions@freebsd.org Date: Wed, 16 Feb 2005 19:31:01 +0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <200502161931.01231.ostap@mail.radiant.ru> Subject: Physical ethernet interface and TAP in same bridge group X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ostap@mail.radiant.ru List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 15:31:00 -0000 Hello. First, I have a question about correct TAP interface bringing up. How I must do it? Some people recommend do it like this: dd if=/dev/null of=/dev/tap0 bs=1500 count=1 dd if=/dev/null of=/dev/tap1 bs=1500 count=1 dd if=/dev/null of=/dev/tap2 bs=1500 count=1 All ok, but I think it's not correct. So, how? Second question I'd have is how I can join it into bridge group? Some hand-passes like sysctl -w net.link.ether.bridge_cfg=fxp0:1,tap0:1,tap1:1,tap2:1 sysctl -w net.link.ether.bridge=1 is work, in this case IP traffic through bridge group successfully but Ethernet frames not. As a result of this I want have more than one ng pppoed at one physical interface. I think that: /usr/libexec/pppoed -a Hub0 -l hub0 tap0 /usr/libexec/pppoed -a Hub1 -l hub1 tap1 /usr/libexec/pppoed -a Hub2 -l hub2 tap2 will work. Maybe I think wrong? Anybody have some solution for me? Thanks. PS: sorry for my english. -- Sergey Evteeff mailto:ostap@mail.radiant.ru