From owner-freebsd-virtualization@freebsd.org Mon Jan 4 19:08:48 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DECAFA60EEA for ; Mon, 4 Jan 2016 19:08:47 +0000 (UTC) (envelope-from James@Lodge.me.uk) Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0127.outbound.protection.outlook.com [157.55.234.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5EAC31C19 for ; Mon, 4 Jan 2016 19:08:46 +0000 (UTC) (envelope-from James@Lodge.me.uk) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gavinlodge.onmicrosoft.com; s=selector1-Lodge-me-uk; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BFji4yxodMCYVff0bYGYKruUWcaM7F8o5b77rV2yEjs=; b=oSLSxgIWcsTnkFxyXa3AujFxAb6G3gMVmnn90Ppagm2J3eyf9RTR1Ja1pXofhwwkCZf+TvcZqaP5KVb7F9qDy9jJ3kWNxoPxAQDPFrNUNdncdxKrWKX1i68vphfEUQq+gzIIvJiunw1DD2XBXtH9+ns8k735FdCwlutsXjVw3Qw= Received: from VI1PR06MB1037.eurprd06.prod.outlook.com (10.162.123.156) by VI1PR06MB1040.eurprd06.prod.outlook.com (10.162.123.16) with Microsoft SMTP Server (TLS) id 15.1.361.13; Mon, 4 Jan 2016 16:32:26 +0000 Received: from VI1PR06MB1037.eurprd06.prod.outlook.com ([10.162.123.156]) by VI1PR06MB1037.eurprd06.prod.outlook.com ([10.162.123.156]) with mapi id 15.01.0361.006; Mon, 4 Jan 2016 16:32:26 +0000 From: James Lodge To: "freebsd-virtualization@freebsd.org" Subject: FreeBSD 11 - Bhyve - Spoof MAC address Thread-Topic: FreeBSD 11 - Bhyve - Spoof MAC address Thread-Index: AQHRRwjMe93/rK1N2kG2OqL4dfo1uA== Date: Mon, 4 Jan 2016 16:32:25 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=James@Lodge.me.uk; x-originating-ip: [132.245.35.101] x-microsoft-exchange-diagnostics: 1; VI1PR06MB1040; 5:N5v6IIrsOV5Fft6YsGXSFcw4Papih0LTdmL9+qyqJvOWhpGznu+b3/7Eotzrysic3Qre/Ur3cC4GFKMKPEbOsGlSMuxTC/m/TnWF4CZmjgOcTXtFLctjqe/ShozQY6qlnFuMUlMJdXpzZ/6BDtibmw==; 24:J5ei6pNVe1DSi2gF2oRPt7ETh3AmdiVja+wdiuk0Ee1X/aeCsMTPgQGZLBiUjcbgSAYtS523xls4VWXmew5EZl9ihsRrIhn5V5mHj6xi5zE= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR06MB1040; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(10201501046)(3002001); SRVR:VI1PR06MB1040; BCL:0; PCL:0; RULEID:; SRVR:VI1PR06MB1040; x-forefront-prvs: 08118EFC2B x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(53754006)(189002)(199003)(74316001)(450100001)(189998001)(19625215002)(15975445007)(33656002)(105586002)(2351001)(74482002)(229853001)(5004730100002)(5003600100002)(76576001)(66066001)(11100500001)(19627405001)(77096005)(19617315012)(80792005)(106356001)(92566002)(5001960100002)(1220700001)(87936001)(122556002)(106116001)(6116002)(101416001)(5002640100001)(81156007)(2900100001)(97736004)(102836003)(5008740100001)(19580395003)(40100003)(54356999)(16236675004)(3846002)(10400500002)(110136002)(586003)(50986999)(107886002)(86362001)(2501003)(1096002); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR06MB1040; H:VI1PR06MB1037.eurprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: Lodge.me.uk does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: Lodge.me.uk X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jan 2016 16:32:25.9225 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: ded56ae9-7c77-4cf6-bbfd-39e6a505742d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR06MB1040 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 04 Jan 2016 19:08:48 -0000 Hi All, I'm just getting started with Bhyve. So far everything is working as expect= ed. My original goal was to be running Ubuntu 12.04 i386 as I need it for a= particular project. One issue I'm having is MAC address spoofing. I'm awar= e I can change the MAC address within Ubuntu but I'd like to configure the = tap interface from the host which should be possible according to man pages= . Bhyve Man Page: https://www.freebsd.org/cgi/man.cgi?query=3Dbhyve&sektion= =3D8 The issue I have is that by setting the below, the vm boots, I can console = via null modem, but there is no eth0 interface, only the loopback. Removing= the static MAC, reboot and everything is present and correct. -s 2:0,virtio-net,tap0,mac=3Dxx:xx:xx:xx:xx:xx I've gone through dmesg in Ubuntu, but see nothing obvious. Any guidance gratefully received. Regards James