From owner-freebsd-net@FreeBSD.ORG Tue Dec 8 17:05:51 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 7799A106566B for ; Tue, 8 Dec 2009 17:05:51 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from tomjudge.vm.bytemark.co.uk (tomjudge.vm.bytemark.co.uk [80.68.91.100]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5078FC0C for ; Tue, 8 Dec 2009 17:05:51 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by tomjudge.vm.bytemark.co.uk (Postfix) with ESMTP id F1F8BDCB57; Tue, 8 Dec 2009 17:05:49 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at tomjudge.vm.bytemark.co.uk Received: from tomjudge.vm.bytemark.co.uk ([127.0.0.1]) by localhost (tomjudge.vm.bytemark.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LeevtoVxTvOz; Tue, 8 Dec 2009 17:05:43 +0000 (GMT) Received: from rita.nodomain (unknown [192.168.205.6]) by tomjudge.vm.bytemark.co.uk (Postfix) with ESMTP id 64FD548B20; Tue, 8 Dec 2009 17:05:43 +0000 (GMT) Message-ID: <4B1E8713.6080201@tomjudge.com> Date: Tue, 08 Dec 2009 17:04:19 +0000 From: Tom Judge User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Boris Kochergin References: <4B1800E9.8030501@acm.poly.edu> In-Reply-To: <4B1800E9.8030501@acm.poly.edu> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: 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: Tue, 08 Dec 2009 17:05:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Boris Kochergin wrote: > 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 > ... tun is a IP interface, you can not bridge to it, you can bridge to a ethernet compatible device such as tap or gif. Tom > 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 - -- TJU13-ARIN -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLHocTAAoJEMSwVS7lr0OdjNoIALYvKyejl4py593xNQGt2Nj3 W5QWXuED+WecuoODdPlV4XFohPRAiwrSyETqapWyo1qwiJj2H1UtGL5jmHprAiJa XrKkJBqN+dQpOcCGum4945wTjWJjxhETdgIVXB8uH3B1keuOJ2fltVC+R9KVDfiD 8aC2pSfm2yY4Unsu33X43Xwkbl9Ie9/i3O0KLdcC1IIvR6oW7/BaVYfho0gRGXPz 7s7xGodlEL3ack6MSXVSPurFhU8W17xfHT8IQZMmGJ8V8tpUqKLOq2Z3iOwTWXFj hQNEJtUO9+wDsV7wanQuGD1vRqtnNQ6RqQgZeN/3qlNc5GG/Efx5uHk+oESJqoo= =oV3n -----END PGP SIGNATURE-----