From owner-freebsd-virtualization@FreeBSD.ORG Thu Aug 21 15:49:04 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3F295B4 for ; Thu, 21 Aug 2014 15:49:04 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 9604B3535 for ; Thu, 21 Aug 2014 15:49:04 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 05C08125C8; Fri, 22 Aug 2014 01:49:03 +1000 (EST) Received: from Peters-MacBook-Pro.local (c-69-181-164-196.hsd1.ca.comcast.net [69.181.164.196]) by dommail.onthenet.com.au (MOS 4.4.4-GA) with ESMTP id BXX37506 (AUTH peterg@ptree32.com.au); Fri, 22 Aug 2014 01:49:01 +1000 Message-ID: <53F614ED.6070203@freebsd.org> Date: Thu, 21 Aug 2014 08:49:01 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Mathias Picker Subject: Re: -stable / bhyve / vmrc / centos65: no network card References: <1408619474.2442.116.camel@marcopolo.fritz.box> In-Reply-To: <1408619474.2442.116.camel@marcopolo.fritz.box> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 21 Aug 2014 15:49:04 -0000 Hi Mathias, > twin# ifconfig > igb0: flags=8943 metric > 0 mtu 1500 > > options=400b8 > ether 0c:c4:7a:05:81:be > inet 1yy netmask 0xffffffc0 broadcast 1yy > inet6 fe80::ec4:7aff:fe05:81be%igb0 prefixlen 64 scopeid 0x1 > inet 1xx netmask 0xfffffff8 broadcast 1 > inet 1xx netmask 0xffffffff broadcast 1 > inet 1xx netmask 0xffffffff broadcast 1 Looks like there might be an error with the IPv4 config of the igb0 interface - those addresses appear to be invalid. Though, that shouldn't really matter for a bridged config. > bridge0: flags=8843 metric 0 mtu > 1500 > ether 02:3d:80:23:57:00 > 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 32768 ifcost 0 port 0 > member: tap8000 flags=143 > ifmaxaddr 0 port 5 priority 128 path cost 2000000 > member: igb0 flags=143 > ifmaxaddr 0 port 1 priority 128 path cost 20000 That looks Ok. > tap0: flags=8802 metric 0 mtu 1500 > options=80000 > ether 00:bd:15:8e:4a:00 > nd6 options=21 > media: Ethernet autoselect > status: no carrier > tap8000: flags=8943 > metric 0 mtu 1500 > options=80000 > ether 00:bd:76:11:59:40 > nd6 options=29 > media: Ethernet autoselect > status: active > Opened by PID 30817 > > bhyve is started like this: > > /usr/sbin/bhyve -c 1 -m 2048 -A -H -W -s 0,hostbridge -s > 2,ahci-hd,/usr/local/vmrc/vm//zimbra-centos-six.five0/zimbra-c > entos-six.five0.img -s 3:0,virtio-net,tap8000 -s 5,lpc -l com1,stdio > zimbra-centos-six.five0 > > So, from what I understand, the tap device is created, bridged, and put > correctly in the bhyve incantation. > > So: why do I not have a network card in centos: Can you try a 'lspci -vv' at the Linux shell prompt ? That will show if the virtio-net PCI device was at least probed. When you did the initial install, was any networking configured ? later, Peter.