Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2016 16:32:25 +0000
From:      James Lodge <James@Lodge.me.uk>
To:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   FreeBSD 11 - Bhyve - Spoof MAC address
Message-ID:  <VI1PR06MB10377C7355AE55EFD5D83F8CF9F20@VI1PR06MB1037.eurprd06.prod.outlook.com>

index | next in thread | raw e-mail

Hi All,


I'm just getting started with Bhyve. So far everything is working as expected. 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 aware 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=bhyve&sektion=8



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=xx:xx:xx:xx:xx:xx


I've gone through dmesg in Ubuntu, but see nothing obvious.


Any guidance gratefully received.


Regards

James







help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?VI1PR06MB10377C7355AE55EFD5D83F8CF9F20>