From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 13 20:55:55 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7CFDE350; Tue, 13 Aug 2013 20:55:55 +0000 (UTC) (envelope-from bryanv@daemoninthecloset.org) Received: from torment.daemoninthecloset.org (torment.daemoninthecloset.org [94.242.209.234]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3BF6724C0; Tue, 13 Aug 2013 20:55:55 +0000 (UTC) Received: from sage.daemoninthecloset.org (unknown [70.114.209.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "sage.daemoninthecloset.org", Issuer "daemoninthecloset.org" (verified OK)) by torment.daemoninthecloset.org (Postfix) with ESMTPS id C2E2242C2659; Tue, 13 Aug 2013 23:00:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at daemoninthecloset.org X-Virus-Scanned: amavisd-new at daemoninthecloset.org Date: Tue, 13 Aug 2013 15:55:43 -0500 (CDT) From: Bryan Venteicher To: Aryeh Friedman Message-ID: <407363932.15961.1376427343454.JavaMail.root@daemoninthecloset.org> In-Reply-To: References: <520A6A9C.7090209@freebsd.org> Subject: Re: ot: who to report a bug in if_tap to? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.51.1.6] X-Mailer: Zimbra 8.0.2_GA_5569 (ZimbraWebClient - GC28 (Mac)/8.0.2_GA_5569) Thread-Topic: who to report a bug in if_tap to? Thread-Index: 5KHVRr5cLo81hgH1XNHis7786joi6A== Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 20:55:55 -0000 ----- Original Message ----- > It is connected to the physical nic via a switch (no intermediate > routers). DHCP doesn't even attempt because there is no carrier on > tap0: > > em0: flags=8843 metric 0 mtu 1500 > options=4219b > ether 30:85:a9:ec:24:95 > inet 10.0.10.10 netmask 0xffffff00 broadcast 10.0.10.255 > inet6 fe80::3285:a9ff:feec:2495%em0 prefixlen 64 scopeid 0x1 > nd6 options=21 > media: Ethernet autoselect (100baseTX ) > status: active > re0: flags=8802 metric 0 mtu 1500 > options=8209b > ether 90:f6:52:00:40:e6 > nd6 options=21 > media: Ethernet autoselect (100baseTX ) > status: no carrier > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet 127.0.0.1 netmask 0xff000000 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > nd6 options=21 > tap0: flags=8843 metric 0 mtu 1500 > options=80000 > ether 00:bd:0c:6e:02:00 > inet6 fe80::2bd:cff:fe6e:200%tap0 prefixlen 64 scopeid 0x4 > nd6 options=21 > media: Ethernet autoselect > status: no carrier > root@petitecloud:/home/aryeh # if > if ifconfig ifmcstat > root@petitecloud:/home/aryeh # ifconfig bridge0 create > root@petitecloud:/home/aryeh # ifconfig bridge0 addm em0 addm tap0 > root@petitecloud:/home/aryeh # ifconfig tap0 10.0.10.3 You need to at least up the bridge. > bridge0: flags=8802 metric 0 mtu 1500 > ether f6:3c:f0:0f:b9:48 > nd6 options=1 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 > root id 00:00:00:00:00:00 priority 0 ifcost 0 port 0 > member: tap0 flags=143 > ifmaxaddr 0 port 4 priority 128 path cost 2000000 > member: em0 flags=143 > ifmaxaddr 0 port 1 priority 128 path cost 200000 > root@vcloud:/home/aryeh # dhclient tap0 > tap0: no link .............. giving up >