Re: Mac-Address uniqueness

Dor Laor
2007-05-31T10:42:12Z

>Im not sure if this better kvm or qemu code that is responsible, but
>since my binary is called "kvm" I'll try this list first, tell me if
its
>wrong.
>
>I now have 3 virtual machines on my host (Windows 2003 server, Ubuntu
>etch, an old Suse) and have bridged networking setup.
>I used -nic,model=rtl8139 on all machines, maybe because Windows needed
>it, and then I just kept my script...
>
>Unfortunally all machines detect the same ethernet address
>'52:54:00:12:34:56'. Which you can guess what i means, networking comes
>and goes whatever machine last the ethernet address got hold of from
the
>gateway. I tried specifing an ethernet-adress with "-net
>nic,macaddr=$MAC" but this also didn't work through.
>
>For now I just hardseted the mac in all machines to 52:54:00:12:34:57,
>52:54:00:12:34:58 and so on.

It works for me.
You should have all the -nic parameters in the same option, for example:
"-net nic,macaddr=$MAC,model=rtl8139" otherwise qemu sets the nic for
another vlan object.

>
>Greetings, Axel
>
>-----------------------------------------------------------------------
--
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>kvm-devel mailing list
>kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/kvm-devel