Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to set the mac address for my virtual machine in the virtual machine properties file. The properties file '102.conf' currently looks like this:

bootdisk: ide0
ostype: w2k8
ide0: local:102/vm-102-disk-1.raw
memory: 1500
sockets: 1
ide1: local:iso/virtio-win-0.1-mm34.iso,media=cdrom
vlan0: rtl8139=96:83:DA:A0:06:34

Where and how in this file can I set the mac address for my virtual machine?

share|improve this question
up vote 2 down vote accepted

In this line

vlan0: rtl8139=96:83:DA:A0:06:34

the 96:83:DA:A0:06:34 is a MAC address. Changing that value should change your MAC address.

If you are generating your own MAC addresses you should use a value that contains 2,6,A or E as the second number as this defines a locally administered MAC address.

share|improve this answer
Cheers Iain, it works. – Joel Kennedy Sep 4 '11 at 17:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.