Feature #24598
Randomize default VM NIC Mac Address to avoid conflicts
Description
It appears the default NIC device for created VM has MAC address of 00:a0:98:43:a0:50, which causes routing conflicts if you have more than 1 FreeNAS device hosting VMs on your network if you do not realize this. The MAC address should be randomized on creation of any VM.
Associated revisions
History
#1
Updated by Jimmy Chen over 3 years ago
- File debug-nas-20170617215727.txz added
#2
Updated by Marcelo Araujo over 3 years ago
- Status changed from Unscreened to Screened
#3
Updated by Marcelo Araujo over 3 years ago
- Status changed from Screened to Resolved
- Target version set to 11.1
#4
Updated by Dru Lavigne over 3 years ago
- File deleted (
debug-nas-20170617215727.txz)
#5
Updated by Dru Lavigne over 3 years ago
- Private changed from Yes to No
#6
Updated by Dru Lavigne over 3 years ago
- Subject changed from Need to way to randomize and change VM NIC MAC address to Randomize default VM NIC Mac Address to avoid conflicts
#7
Updated by Dru Lavigne over 3 years ago
- Target version changed from 11.1 to 11.1-BETA1
#8
Updated by Nick Wolff about 3 years ago
Hello Marcelo,
Is it expected that the vm Mac Address is different on every boot? Should this be generated randomly on the creation of the network device and saved in the config so it is persistent. It's currently breaking vm's getting the same ip addresses from dhcp will also break static dhcp assignments
Thanks,
Nick
#9
Updated by Marcelo Araujo about 3 years ago
Nick Wolff wrote:
Hello Marcelo,
Is it expected that the vm Mac Address is different on every boot? Should this be generated randomly on the creation of the network device and saved in the config so it is persistent. It's currently breaking vm's getting the same ip addresses from dhcp will also break static dhcp assignments
Yes, if the MAC ADDRESS are not set on the UI, that should be the correct behavior. It was made in that way, because I got reports from users with 2 or more FreeNAS in the same network having mac collision.
For the DHCP case, you can set a static MAC on each NIC of a vm guest.
Best,
Thanks,
Nick
#10
Updated by Nick Wolff about 3 years ago
- QA Status Test Passes FreeNAS added
- QA Status deleted (
Not Tested)
#11
Updated by Joe Maloney about 3 years ago
- Needs QA changed from Yes to No