EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Changing MAC address

Started by ttt_raquel January 11, 2006
Hi all.

I work for a Spanish company and we develop our equipments using
RCM2200 and RCM2250 core modules as our processor. We would like to
give these equipments our own MAC address, so I would like to know if
it is possible (legally) and how to change the MAC address properly. Is
it necessary to use the write_idblock.c function? In this case, which
is the last version compatible with DC9.21?

Thank you very much for your replies.



It's not legal to change a MAC address. All MAC addresses are assigned by some (government?) agency, and are unique to every piece of equipment in the world.

----- Original Message ----
From: ttt_raquel <r...@ttt.es>
To: r...@yahoogroups.com
Sent: Wednesday, January 11, 2006 01:04:18
Subject: [rabbit-semi] Changing MAC address

Hi all.

I work for a Spanish company and we develop our equipments using
RCM2200 and RCM2250 core modules as our processor. We would like to
give these equipments our own MAC address, so I would like to know if
it is possible (legally) and how to change the MAC address properly. Is
it necessary to use the write_idblock.c function? In this case, which
is the last version compatible with DC9.21?

Thank you very much for your replies.


Some 3Com Ethernet Cards (for PC) let change the MAC.
On 1/11/06, Steve Trigero <s...@yahoo.com> wrote:
It's not legal to change a MAC address. All MAC addresses are assigned by some (government?) agency, and are unique to every piece of equipment in the world.

----- Original Message ----
From: ttt_raquel <r...@ttt.es>
To: r...@yahoogroups.com
Sent: Wednesday, January 11, 2006 01:04:18
Subject: [rabbit-semi] Changing MAC address

Hi all.

I work for a Spanish company and we develop our equipments using
RCM2200 and RCM2250 core modules as our processor. We would like to
give these equipments our own MAC address, so I would like to know if
it is possible (legally) and how to change the MAC address properly. Is
it necessary to use the write_idblock.c function? In this case, which
is the last version compatible with DC9.21?

Thank you very much for your replies.


SPONSORED LINKS
Embedded module Microcontrollers Intel microprocessors
Pic microcontrollers


YAHOO! GROUPS LINKS

 

On Jan 11, 2006, at 1:04 AM, ttt_raquel wrote:
> I work for a Spanish company and we develop our equipments using
> RCM2200 and RCM2250 core modules as our processor. We would like to
> give these equipments our own MAC address, so I would like to know if
> it is possible (legally) and how to change the MAC address properly.
> Is
> it necessary to use the write_idblock.c function? In this case, which
> is the last version compatible with DC9.21?

You can write a new MAC to the SysIDBlock using code from
write_idblock.c. Don't forget to update the CRC before saving the
block out! Just use the write_idblock.c from TN229 from Rabbit's
website. You can experiment with using that program for one-off writes
until you get the code integrated into your program.

Tom Collins
Tom Logic LLC
PO Box 5717
Napa, CA 94581
(707) 265-6622
(707) 265-6646 fax
tom@tom@...


MAC address can typically be changed using utilities or driver interfaces.  The start of a MAC address i.e. the range is assigned (by some agent that I am not aware of) based on a unique manufacturer code.  The lower bits are assigned by the manufacturer.  If you are going to be using the Ethernet devices on a network that connects to the internet then you should not change the MAC address.  I believe there is no law against changing MAC addresses, if there was, manufacturers would likely not allow this to be alterable, moreover they would not offer software that allowed one to do this with relative ease.  But then again, I am no legal expert.
 
Out of curiosity why is it that you need / would like to change MAC addresses?
 
You might find some helpful information at:
http://en.wikipedia.org/wiki/MAC_address
http://www.erg.abdn.ac.uk/users/gorry/course/lan-pages/mac-vendor-codes.html
 
 
Misbah


From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On Behalf Of Steve Trigero
Sent: Wednesday, January 11, 2006 10:44 AM
To: r...@yahoogroups.com
Subject: Re: [rabbit-semi] Changing MAC address

It's not legal to change a MAC address. All MAC addresses are assigned by some (government?) agency, and are unique to every piece of equipment in the world.

----- Original Message ----
From: ttt_raquel <r...@ttt.es>
To: r...@yahoogroups.com
Sent: Wednesday, January 11, 2006 01:04:18
Subject: [rabbit-semi] Changing MAC address

Hi all.

I work for a Spanish company and we develop our equipments using
RCM2200 and RCM2250 core modules as our processor. We would like to
give these equipments our own MAC address, so I would like to know if
it is possible (legally) and how to change the MAC address properly. Is
it necessary to use the write_idblock.c function? In this case, which
is the last version compatible with DC9.21?

Thank you very much for your replies.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

> It's not legal to change a MAC address. All MAC addresses are assigned
> by some (government?) agency, and are unique to every piece of equipment
> in the world.

MAC addresses (actually, the first 24 bits of a 48-bit MAC address) are
assigned by IEEE. There's no "legal" requirement that you use any pre-
assigned address - you're free to change it to whatever you want. However,
doing so might keep your device from working on some networks.

If the device won't be connected to any public network, the MAC address
can be changed to whatever you wish.

If the company has its own assigned OUI (24-bit) or IAB (36-bit, where
the first 24 bits are one of IEEE's OUIs), the Rabbit-assigned address
can be changed something in the company's assigned range(s).


Doing a quick Google of MAC addresses, I learned that MAC addresses are assigned to companies in blocks. So a company can set any of its products to any of the MAC addresses it is assigned. But each device must have a unique address. If your company has been given a block of MAC addresses to use on your products then, yes, you can change/set the MAC address of your product to one of those addresses. Is that the case? Or are you thinking that you can make up any old 48-bit number and use it as a MAC address?

----- Original Message ----
From: José Luis Segatto Junior <z...@gmail.com>
To: r...@yahoogroups.com
Sent: Wednesday, January 11, 2006 08:51:31
Subject: Re: [rabbit-semi] Changing MAC address

Some 3Com Ethernet Cards (for PC) let change the MAC.
On 1/11/06, Steve Trigero <> wrote:
It's not legal to change a MAC address. All MAC addresses are assigned by some (government?) agency, and are unique to every piece of equipment in the world.

----- Original Message ----
From: ttt_raquel <r...@ttt.es>
To: r...@yahoogroups.com
Sent: Wednesday, January 11, 2006 01:04:18
Subject: [rabbit-semi] Changing MAC address

Hi all.

I work for a Spanish company and we develop our equipments using
RCM2200 and RCM2250 core modules as our processor. We would like to
give these equipments our own MAC address, so I would like to know if
it is possible (legally) and how to change the MAC address properly. Is
it necessary to use the write_idblock.c function? In this case, which
is the last version compatible with DC9.21?

Thank you very much for your replies.


SPONSORED LINKS
Embedded module Microcontrollers Intel microprocessors
Pic microcontrollers


YAHOO! GROUPS LINKS

 




First of all... thanks for replying so soon.

We want to change the MAC because the Rabbit core is installed in a
device completely designed by us, so we would like to give it a MAC
from our own range to identify each device in the network.

Also, I have to say that a Support Engineer from Rabbit Semiconductor
has already told me that I can change the MAC address using a
function called Write_IDBlock.c that can be get from the web and that
he has just send me too.

Now I only have the question of how to do the MAC updating process
more quickly, because doing it one by one could last a very long
time. Does anybody know some procedure that can help me?

Regards,

Raquel

--- In rabbit-semi@rabb..., "Misbah" <misbah@q...> wrote:
>
> MAC address can typically be changed using utilities or driver
interfaces.
> The start of a MAC address i.e. the range is assigned (by some
agent that I
> am not aware of) based on a unique manufacturer code. The lower
bits are
> assigned by the manufacturer. If you are going to be using the
Ethernet
> devices on a network that connects to the internet then you should
not
> change the MAC address. I believe there is no law against changing
MAC
> addresses, if there was, manufacturers would likely not allow this
to be
> alterable, moreover they would not offer software that allowed one
to do
> this with relative ease. But then again, I am no legal expert.
>
> Out of curiosity why is it that you need / would like to change MAC
> addresses?
>
> You might find some helpful information at:
> http://en.wikipedia.org/wiki/MAC_address
> http://www.erg.abdn.ac.uk/users/gorry/course/lan-pages/mac-vendor-
codes.html
>
>
> Misbah > _____
>
> From: rabbit-semi@rabb... [mailto:rabbit-
semi@semi...] On
> Behalf Of Steve Trigero
> Sent: Wednesday, January 11, 2006 10:44 AM
> To: rabbit-semi@rabb...
> Subject: Re: [rabbit-semi] Changing MAC address > It's not legal to change a MAC address. All MAC addresses are
assigned by
> some (government?) agency, and are unique to every piece of
equipment in the
> world.
>
> ----- Original Message ----
> From: ttt_raquel <rribagorda@t...>
> To: rabbit-semi@rabb...
> Sent: Wednesday, January 11, 2006 01:04:18
> Subject: [rabbit-semi] Changing MAC address
>
> Hi all.
>
> I work for a Spanish company and we develop our equipments using
> RCM2200 and RCM2250 core modules as our processor. We would like to
> give these equipments our own MAC address, so I would like to know
if
> it is possible (legally) and how to change the MAC address
properly. Is
> it necessary to use the write_idblock.c function? In this case,
which
> is the last version compatible with DC9.21?
>
> Thank you very much for your replies. >
> SPONSORED LINKS
> Embedded
> <http://groups.yahoo.com/gads?
t=ms&k=Embedded+module&w1=Embedded+module&w2=M
>
icrocontrollers&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&s
&.s
> ig=1S9EzLCoUCdV63EPYDiJjA> module Microcontrollers
> <http://groups.yahoo.com/gads?
t=ms&k=Microcontrollers&w1=Embedded+module&w2=
>
Microcontrollers&w3=Intel+microprocessors&w4=Pic+microcontrollers&c=4&
s&.
> sig=nSnVC_wzIS_Zvus4GSosvg> Intel
> <http://groups.yahoo.com/gads?
t=ms&k=Intel+microprocessors&w1=Embedded+modul
>
e&w2=Microcontrollers&w3=Intel+microprocessors&w4=Pic+microcontrollers
&c=4&s
> &.sig=hlB3Jj_TQ_hflD9tEp59gA> microprocessors
> Pic
> <http://groups.yahoo.com/gads?
t=ms&k=Pic+microcontrollers&w1=Embedded+module
>
&w2=Microcontrollers&w3=Intel+microprocessors&w4=Pic+microcontrollers&
c=4&s=
> 96&.sig=alPhhKTyU_scQ0itUnEC8Q> microcontrollers
>
> _____
>
> > . > _____ >
> --
> This message has been scanned for viruses and
> dangerous content by <http://www.mailscanner.info/> MailScanner,
and is
> believed to be clean.
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>




Yes, our company has its own set of MAC addresses and this is the
cause because we can change rabbit ones.

--- In rabbit-semi@rabb..., Steve Trigero <seecwriter@y...>
wrote:
>
> Doing a quick Google of MAC addresses, I learned that MAC addresses
are assigned to companies in blocks. So a company can set any of its
products to any of the MAC addresses it is assigned. But each device
must have a unique address. If your company has been given a block of
MAC addresses to use on your products then, yes, you can change/set
the MAC address of your product to one of those addresses. Is that
the case? Or are you thinking that you can make up any old 48-bit
number and use it as a MAC address?
>
> ----- Original Message ----
> From: José Luis Segatto Junior <zuzesegatto@g...>
> To: rabbit-semi@rabb...
> Sent: Wednesday, January 11, 2006 08:51:31
> Subject: Re: [rabbit-semi] Changing MAC address
>
> Some 3Com Ethernet Cards (for PC) let change the MAC. >
> On 1/11/06, Steve Trigero <seecwriter@y...> wrote: It's not legal
to change a MAC address. All MAC addresses are assigned by some
(government?) agency, and are unique to every piece of equipment in
the world.
>
> ----- Original Message ----
> From: ttt_raquel <rribagorda@t...>
> To: rabbit-semi@rabb...
> Sent: Wednesday, January 11, 2006 01:04:18
> Subject: [rabbit-semi] Changing MAC address
>
> Hi all.
>
> I work for a Spanish company and we develop our equipments using
> RCM2200 and RCM2250 core modules as our processor. We would like
to
> give these equipments our own MAC address, so I would like to know
if
> it is possible (legally) and how to change the MAC address
properly. Is
> it necessary to use the write_idblock.c function? In this case,
which
> is the last version compatible with DC9.21?
>
> Thank you very much for your replies. > SPONSORED LINKS
> Embedded
module
Microcontrollers Intel
microprocessors
Pic
microcontrollers
> YAHOO! GROUPS LINKS
>
> > SPONSORED LINKS
> Embedded
module
Microcontrollers Intel
microprocessors
Pic
microcontrollers
> YAHOO! GROUPS LINKS >




To expand on this a little bit, the first three octets are assigned to your company and CANNOT be changed, they identify you as the manufacturer. The last 3 octets can be set to anything you like, but most companies will just simply increment up from xx:xx:xx:00:00:00 as each device is programmed. If you are going to go this route, make sure you have some safeguards to avoid programming devices with duplicate MAC ID’s as this causes major problems on a network. Unless your hell bent on having your own ID built into the MAC ID, and you’re using a Rabbit Core that already has a MAC ID, why take on that number tracking chore. While it’s true that the MAC ID can be anything provided you’re not connected to a public network, it’s not a good idea since you never know when the device could be hung on a public network. Either use the MAC ID that came with the core or get yourself a block of ID’s and be legit about it.

 

Bob

 

From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On Behalf Of Don Starr
Sent: Wednesday, January 11, 2006 12:16 PM
To: r...@yahoogroups.com
Subject: RE: [rabbit-semi] Changing MAC address

 

> It's not legal to change a MAC address. All MAC addresses are assigned
> by some (government?) agency, and are unique to every piece of equipment
> in the world.

MAC addresses (actually, the first 24 bits of a 48-bit MAC address) are
assigned by IEEE. There's no "legal" requirement that you use any pre-
assigned address - you're free to change it to whatever you want. However,
doing so might keep your device from working on some networks.

If the device won't be connected to any public network, the MAC address
can be changed to whatever you wish.

If the company has its own assigned OUI (24-bit) or IAB (36-bit, where
the first 24 bits are one of IEEE's OUIs), the Rabbit-assigned address
can be changed something in the company's assigned range(s).




The 2024 Embedded Online Conference