[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] Macaddr parsing
From: |
Balazs Attila-Mihaly \(Cd-MaN\) |
Subject: |
[Qemu-devel] [PATCH] Macaddr parsing |
Date: |
Sun, 1 Jul 2007 04:49:54 -0700 (PDT) |
Hello all.
Attached is an other patch (against the CVS) to allow for more flexible mac
address parsing from the command line. Specifically it allows:
-using the '-' as separator (as Windows uses it)
-using no separator at all (just 12 hexadecimal characters in a row) - again
Windows uses this style in some configuration dialogs
-using an offset from the default address (like +2 or -10). This is useful for
quickly bringing up a virtual lan without having to remember the base macaddr,
you just specify different offsets (an other option would be to use mac
addresses like 12:34:56:78:9A:BC which are easy to remember, however I found
that WinXP for example does not react well - duplicate packets, no conectivity
at the IP level although the ARP level is fine, etc - if the OUI - the first 3
bytes of the mac address - is incorrect)
Also, there was a suggestion on the list some time ago to use the crc of the
path to the disk image as part of the macaddr to ensure uniqueness. If people
feel that this would be useful, I'm happy to provide a patch.
Best regards
___________________________________________________________
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today
http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html
parse_macaddr.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH] Macaddr parsing,
Balazs Attila-Mihaly \(Cd-MaN\) <=