From owner-freebsd-net@FreeBSD.ORG Thu Dec 3 18:19:52 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CC051065670 for ; Thu, 3 Dec 2009 18:19:52 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 2E4918FC19 for ; Thu, 3 Dec 2009 18:19:51 +0000 (UTC) Received: (qmail 73744 invoked from network); 3 Dec 2009 18:19:51 -0000 Received: from unknown (HELO ?10.0.0.158?) (spawk@128.238.64.31) by acm.poly.edu with AES256-SHA encrypted SMTP; 3 Dec 2009 18:19:51 -0000 Message-ID: <4B1800E9.8030501@acm.poly.edu> Date: Thu, 03 Dec 2009 13:18:17 -0500 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.23 (X11/20090910) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ifconfig: BRDGADD tun0: Invalid argument X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2009 18:19:52 -0000 Ahoy. I have an 8.0-RELEASE/i386 machine (installed clean from the CD, so no kernel/world mismatches are possible) on which I am trying to add a tun device to a bridge: # ifconfig tun0 create # ifconfig bridge0 create # ifconfig ... tun0: flags=8010 metric 0 mtu 1500 bridge0: flags=8843 metric 0 mtu 1500 ether 5e:e7:af:1b:14:d3 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 # ifconfig bridge0 addm tun0 ifconfig: BRDGADD tun0: Invalid argument # ifconfig tun0 promisc # ifconfig bridge0 addm tun0 ifconfig: BRDGADD tun0: Invalid argument I have looked at http://lists.freebsd.org/pipermail/freebsd-net/2007-December/016114.html, but none of the three possibilities appear to apply. Any clues? -Boris