Date: Tue, 10 May 2016 17:29:10 -0700 From: hiren panchasara <hiren@strugglingcoder.info> To: freebsd-virtualization@freebsd.org Subject: Setting up interfaces on ubuntu under bhyve Message-ID: <20160511002910.GD51099@strugglingcoder.info>
next in thread | raw e-mail | index | archive | help
--YToU2i3Vx8H2dn7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable (keep me cc'd please; I am not subscribed) I usually create a freebsd vm with: sh /usr/share/examples/bhyve/vmrun.sh -c 2 -m 2048M -t tap2 -t tap3 -t tap4 -d freebsd.img -i -I freebsd.iso vm1=20 and run it with: sh /usr/share/examples/bhyve/vmrun.sh -c 2 -m 2048M -t tap2 -t tap3 -t tap4 -d freebsd.img vm1 I am trying to bring up an ubuntu vm and following https://www.monkeybrains.net/support/bhyve (file based and not zfs vol based) If I want to create a similar-ish vm: # bhyve -c 2 -m 2048M -H -P -A -s 0:0,hostbridge -s 1:0,lpc -s 2:0,virtio-net,tap2,tap3,tap4 -s 3,ahci-cd,./ubuntu-13.10-server-amd64.iso -l com1,stdio -s 4,virtio-blk,./linux.img linux VM comes up but I don't see vtnetN interfaces there as I would on the freebsd vm. On the freebsd vm, I see vtnet0, vtnet1 and vtnet2. the tap interfaces are not even created on the host.=20 What am I missing?=20 Cheers, Hiren --YToU2i3Vx8H2dn7O Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJXMnzTXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lS5YH/jG+DwK0dII+OvKjYYLx68Vx qTBuM7e4WhDJb+W8Rszpxs6Rm1gCYiFGkw1KraFn/Uuk8jD2IzY/M/5f3hhntbGu noRCdXCQtB9M+R+ymsFjBIu2Pwet3fbvk7RPlZDck2RNONZ/5Tf19/5Uhe2Tz2zY NNGj+VMAGZb6sdImDpXPHLPQIg/KQNcp5++c4YnO9RNp5XC2UVOyt1XNMRnb4ViS IlPErZ9zbljsJ6MzSWH5Pr/PZH/BsngATzob/Qxfm18U//zsrl8MRGxXO0X6B5bn U27y6JzV2YS3o7wrATvwGhq10cI/ZBULFYJr4/V8YNTc3m5lpnuaqlFylT/wrvE= =wNI+ -----END PGP SIGNATURE----- --YToU2i3Vx8H2dn7O--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160511002910.GD51099>