Re: Getting Different MACID's for the same network Adapter



On Sep 12, 1:56 am, "Arkady Frenkel" <arka...@xxxxxxxxxxxxxxxx> wrote:
Try SendARP()
Arkady"Jag" <arunjagan...@xxxxxxxxx> wrote in message

news:01baa69d-d1ab-47df-ab58-dad4ea740901@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



Hi all,
  I am trying to fetch the MACID of my System using UUID
structure.the last 12 digits gives the MACID,but there is a problem
in
windows 2000 machine that  this MacID gives me  different values
every
time when  i execute  UuidCreateSequential for the same machine......
what might be the problem,help in this regard is highly Appreciated.
Regards,
Jag- Hide quoted text -

- Show quoted text -

Better choice is GetAdapterInfo. There may be two reasons to see
different MAC address everytime.

1) Just a quick verification is to check that you dont have multiple
network adapter.

2) One more thing, I am not sure which MAC adress UuidCreateSequential
uses to generate UUID. Your machine can have two MAC adrress, one is
permanent (real) and one is current (virtual). An user/app is allowed
to change the current ethernet address. May be some app is
consistently changing the current address ( dont see any added value
behind this, but may be) and if UuidCreateSequential uses this Current
Mac address to generate UUID then everytime u will see a new MAC
address.

To add more UuidCreateSequential is just another method to get the MAC
address. But MS suggests,an user shd go for GerAdaptersInfo.
.



Relevant Pages

  • Re: UuidCreateSequential
    ... I am trying to fetch the MACID of my System using UUID ... Do you mean the MAC address of your network adapter? ...
    (microsoft.public.vc.mfc)
  • Re: [PATCH] Time-based RFC 4122 UUID generator
    ... could you please consider adding this patch to your 2.6.25 patch series? ... This patch additionally adds the "Time-based UUID" variant of RFC 4122, ... Look if a net device with a given MAC still exists in this machine. ... If it does not exist any longer, return the MAC address of the _first_ true network card ...
    (Linux-Kernel)
  • Re: Unique Hostname in production
    ... Not all platforms have network connectivity, and thus no MAC ... Same thing goes for any UUID algorithm. ... all the BSP's I have played with have this feature. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Why does reading from /dev/urandom deplete entropy so much?
    ... the smolt RPM, since that will use 12 bits of randomness from ... zero randomness in /dev/random, and the time is January 1, 1970, at ... least the MAC will contribute some uniqueness to the UUID. ... We actually had a very vocal minority about all of that which ended up putting us in the unfortunate position of generating a random UUID instead of using a hardware UUID from hal:-/ ...
    (Linux-Kernel)
  • Re: Win2k Server and UuidCreateSequential
    ... Chris ... > Louis Solomon ... that part of UUID is basically the MAC address and it ...
    (microsoft.public.windows.server.general)

Loading