Problems with MAC address with e1000 on Windows 2003
I was wondering if anyone could reproduce my problem. If it is reproduceable, then I'll file a bug.
I am using e1000 ethernet adapters on Windows 2003 and Linux guests. The line to set it up is something like this:
-net nic,vlan=1,macaddr=00:ff:21:cf:91:01,model=e1000 \
-net tap,vlan=1,ifname=tap.br1.91.1On Linux, this works just fine. However, on Windows 2003, the mac address for the device is reported as 00:ff:ff:ff:ff:ff and the packets carry this mac address as well. The corresponding tap device has the correct IP address, however. This problem is definitely tied to using Windows 2003 with a e1000 device. If I use the rtl8139 device, Windows reports the correct mac address. When booting the same VM with a Linux bootable CD and the e1000 device, Linux reports the correct mac address as set in the qemu command. It's the combination of Windows 2003 and the e1000 device that causes the problem.
Has anyone else seen this problem? Thanks in advance.
Signature · 8 lines
Alberto Treviño [email protected] ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
Do not start MAC address with 00: 01: or FF:
Those are illegal addresses.
Try 50: or 52: or something....
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel
Quoted 4 lines · Alexey Eremenko
Do not start MAC address with 00: 01: or FF:
Those are illegal addresses.Try 50: or 52: or something....
Thanks for the tip. I tried those but the same problem persisted. As I played around with several MAC addresses (even trying to set several Intel OUI's and the OUI's of several Dell servers I have with e1000 cards and the problem didn't go away. However, I noticed the the problems are with the last 4 bytes of the MAC address. The first 2 are always what I set them to, while the last 6 are always FF:FF:FF:FF. I don't know if the problem lies in the Windows driver looking for a specific third byte in the MAC (still part of the OUI), or with the way Windows extracts the MAC address out of the emulated hardware. It's odd that Linux doesn't suffer the same problem, however.
Just to cure my ignorance, I know why 01: and FF: are wrong (broadcast and multicast). However, why is 00 wrong? All nic's I have start with 00 and the current list of OUI's from IEEE shows that 00:Fx is unused (hence my choice of 00:FF). Is there a specific OUI we should be using for Qemu/KVM?
Signature · 12 lines
Alberto Treviño [email protected] ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel