From owner-freebsd-virtualization@FreeBSD.ORG Thu Aug 21 16:41:07 2014 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 ESMTPS id 3DA27347 for ; Thu, 21 Aug 2014 16:41:07 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 159903AAE for ; Thu, 21 Aug 2014 16:41:06 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id DCCC53C8D4 for ; Thu, 21 Aug 2014 16:41:05 +0000 (UTC) Message-ID: <53F62141.1000701@freebsd.org> Date: Thu, 21 Aug 2014 12:41:37 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: -stable / bhyve / vmrc / centos65: no network card References: <1408619474.2442.116.camel@marcopolo.fritz.box> <53F614ED.6070203@freebsd.org> <1408637795.2442.140.camel@marcopolo.fritz.box> In-Reply-To: <1408637795.2442.140.camel@marcopolo.fritz.box> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Mt7uBmakGape2s7ToLfMWhgdXeHkueaXd" 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 16:41:07 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Mt7uBmakGape2s7ToLfMWhgdXeHkueaXd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-08-21 12:16, Mathias Picker wrote: > On Do, 2014-08-21 at 08:49 -0700, Peter Grehan wrote: >> Hi Mathias, >>> twin# ifconfig >>> igb0: flags=3D8943 me= tric >>> 0 mtu 1500 >>> >>> options=3D400b8 >>> 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=20 >> really matter for a bridged config. >> >=20 > I just edited them a bit... >=20 >>> bridge0: flags=3D8843 metric = 0 mtu >>> 1500 >>> ether 02:3d:80:23:57:00 >>> nd6 options=3D1 >>> 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=3D143 >>> ifmaxaddr 0 port 5 priority 128 path cost 2000000 >>> member: igb0 flags=3D143= >>> ifmaxaddr 0 port 1 priority 128 path cost 20000 >> >> That looks Ok. >> >>> tap0: flags=3D8802 metric 0 mtu 1500 >>> options=3D80000 >>> ether 00:bd:15:8e:4a:00 >>> nd6 options=3D21 >>> media: Ethernet autoselect >>> status: no carrier >>> tap8000: flags=3D8943= >>> metric 0 mtu 1500 >>> options=3D80000 >>> ether 00:bd:76:11:59:40 >>> nd6 options=3D29 >>> 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 p= ut >>> 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= =20 >> if the virtio-net PCI device was at least probed. >=20 > No lspci in the base centos iso I'm afraid... Is there a way to access > the local (FreeBSD) disk, so I can ship in pciutils? >=20 >=20 >> >> When you did the initial install, was any networking configured ? >=20 > You mean the centos install? No, nothing. >> >> later, >> >> Peter. >> >=20 >=20 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 Try 'ifconfig -a' in the VM If an interface is not 'up', it might not be listed in 'ifconfig' --=20 Allan Jude --Mt7uBmakGape2s7ToLfMWhgdXeHkueaXd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJT9iFDAAoJEJrBFpNRJZKfVtYP/i/N1lXDcL3b8EkHVHqIEG9n Qv+3u/XT72Gh4k2BruEs81P5L4zdzmO31XegLnB51Gl32tp5C2m7a14P8x1H8wOU JdJNRSx8DFmFsMCllQZkA2uAdFIm2dFsBEWyQT6EUpR+7ra8UNM8/fhvz/ARIHUR UqUk5XnuBfnHnqUDtRxAl10Y0CYe8OtsbzUFC66xBPSfbr0Tt6snaKT69iS33u74 Lad3hnkFJVBAWjbIJDFVwITdRMiMcqmmjGY19NPw/xCjVc14s0IlWe86e4gbWlzl /79RlSsVV83P2cvDQYbWRML+/OV73GEdP79naUFPgvz3kULk7+c+alSSkZYLCjAE 5Xv/jwuQFBQ7vL0BJyUbTfSBzVqd5t+uYQd5h4o97Xt2t/OCHkwlTwPvx5GyEkc9 bzlHmLnkhfphaoGZYSdOt/4VmJEv6Z6kDawpJixscezTM94QHbMhJOy+HM2EKJV8 /tAcoSksjRSldEmpCSw7hWY7svExM9l5j4c5v+6Ify4b1AeC8v7khagncDbSIymB /cCYjwC9jaqKz7IAKGW2sRLVWulicyEXvem94Tp7sh5W6qgDixzS+xkKJMIAd0uF CgTAsrJ711T/YYVJujRJMx0gPdhBnLzTg8Zsh1EA4tX+TWX2gacp9tI/TFFHkL+9 kQas6lRo/IpiFcjqAUXI =31BE -----END PGP SIGNATURE----- --Mt7uBmakGape2s7ToLfMWhgdXeHkueaXd--