Date: Tue, 08 Dec 2009 17:04:19 +0000 From: Tom Judge <tom@tomjudge.com> To: Boris Kochergin <spawk@acm.poly.edu> Cc: freebsd-net@freebsd.org Subject: Re: ifconfig: BRDGADD tun0: Invalid argument Message-ID: <4B1E8713.6080201@tomjudge.com> In-Reply-To: <4B1800E9.8030501@acm.poly.edu> References: <4B1800E9.8030501@acm.poly.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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<POINTOPOINT,MULTICAST> metric 0 mtu 1500 > bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B1E8713.6080201>