Hyper-v Virtualization MAC address problem

Pilvuzas

Newbie
Joined
Nov 24, 2017
Messages
35
Reaction score
9
1. Bought bare-metal server from OVH, installed hyper-v 2019 from the template, connected. All looks fine.
2. After placing the first VM saw that it didn't have an internet connection. Contacted support and they dropped my this guide https://docs.ovh.com/ca/en/dedicated/network-bridging/
3. Done everything the guide says. Bought additional ip, made virtual mac and configured everything on my manager and VM (hyper-v section at the end of guide). My VM now has an internet connection. Vuolia!

4. Problem: I need to have different MAC addresses on all my VM's, but as you can see in the guide my VM is now running on a static MAC address. If I try to change it with Tmac or directly on the Registry Center my VM internet connection drops.
I need to make a VM with a working internet connection and possibility to spoof MAC address.
 
Last edited by a moderator:
I know this isn't answering your question but can I ask why you need a different Mac address on each VM? Just in case there might be another solution
 
To not have my VM's linked to each other.
 
Are they being checked via web browser or desktop software?
 
You could make several virtual machines with virtual box, you leave the hard drives linked and only change the mac adress
 
you need additional network cards installed on your server.
then you assign each one card in a specific vm with differet mac and a new ip
 
So the static Mac is that necessary to make the internet work?

What you could possibly do is set up a separate vm with pfsense software firewall, assign the static Mac to a port on that device, for the wan link.

Then create a Lan on pf sense for each of your VMs and they can each then have a private IP, and unique MAC address and use the pfsense as their gateway to the internet.

From within pfsense you can also segregate the VMs from each other with firewall rules if you want to.

Im pretty sure that would give you what you need.
 
Back
Top