From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 13 17:43:07 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 7C14C7FE; Tue, 13 Aug 2013 17:43:07 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 51B9828AB; Tue, 13 Aug 2013 17:43:07 +0000 (UTC) Received: by mail-pa0-f44.google.com with SMTP id fz6so4717836pac.17 for ; Tue, 13 Aug 2013 10:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DK7ihXCEEsQbPJ21W//Kjttij9uAwqbmEFLdxD200hQ=; b=h9gq12Yo1iMuhqKbf8Ogqx8U+XOTsGcV4745gSdmXnvd5Y0D1V1Is1+DXUOwsVcZF5 E5beDRQ83orMKSdi/f22ym3IiOaB1DjWPOTEnO8GnaFBLVc29VdC/X+uFQyuBoF2TcOU nlEbYI2or7ED5tdwjIjgyR2fGtR02CihZl6Dg6VfOKKeNePoevDhGVusik6tTjFmbdQs ML3Zingti0mjvWyJPCX+5cH+2iPshmxEUfvwbKAFDDPTZUX7iE2JjkZKGW3DjyXrgL2A Gz1NX/Hx5wa6ohuxCrgqp6+TkPvmnvBTwXL4H3nn/AfWOXISE8uV+c89PqoGKRIKIjT4 SgzA== MIME-Version: 1.0 X-Received: by 10.68.223.225 with SMTP id qx1mr5609315pbc.157.1376415787038; Tue, 13 Aug 2013 10:43:07 -0700 (PDT) Received: by 10.68.51.169 with HTTP; Tue, 13 Aug 2013 10:43:06 -0700 (PDT) In-Reply-To: <520A6A9C.7090209@freebsd.org> References: <520A6A9C.7090209@freebsd.org> Date: Tue, 13 Aug 2013 13:43:06 -0400 Message-ID: Subject: Re: ot: who to report a bug in if_tap to? From: Aryeh Friedman To: Peter Grehan Content-Type: text/plain; charset=ISO-8859-1 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 17:43:07 -0000 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 root@petitecloud:/home/aryeh # ifconfig -a em0: flags=8943 metric 0 mtu 1500 options=42098 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 tap0: flags=8943 metric 0 mtu 1500 options=80000 ether 00:bd:0c:6e:02:00 inet6 fe80::2bd:cff:fe6e:200%tap0 prefixlen 64 scopeid 0x4 inet 10.0.10.3 netmask 0xff000000 broadcast 10.255.255.255 nd6 options=21 media: Ethernet autoselect status: no carrier 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 On Tue, Aug 13, 2013 at 1:19 PM, Peter Grehan wrote: > Hi Aryeh, > > >> It appears that a bridged if_tap does not understand DHCP on the >> physical NIC... who do I report this to? > > > First, what's your configuration ? Is the DHCP server connected via the > physical NIC ? What does a tcpdump show ? > > later, > > Peter. >