Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MAC addresses..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Duck-Billed Platypus
Guru
Guru


Joined: 30 Jun 2003
Posts: 576
Location: Los Angeles, California, United States of America

PostPosted: Tue Oct 19, 2004 2:46 am    Post subject: MAC addresses.. Reply with quote

is the MAC address like printed on the nic or something? and also how do programs like ifconfig know the mac address? and is there a way to find out my mac address on windows?
_________________
Dentists are evil.
Back to top
View user's profile Send private message
GenKreton
l33t
l33t


Joined: 20 Sep 2003
Posts: 828
Location: Cambridge, MA

PostPosted: Tue Oct 19, 2004 3:07 am    Post subject: Reply with quote

Duck-Billed Platypus wrote:
is the MAC address like printed on the nic or something? and also how do programs like ifconfig know the mac address? and is there a way to find out my mac address on windows?


mac addy in windows is the physical or hardware address, forget which, under the ip address.. The mac address is hardcored into the devices firmware. On windows there are utilities to change it.

Anyone know of a way for linux?
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Tue Oct 19, 2004 3:08 am    Post subject: Reply with quote

Generally the MAC address is in the firmware or something like that. In Windows you can get it by doing ipconfig /all from a command window.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Duck-Billed Platypus
Guru
Guru


Joined: 30 Jun 2003
Posts: 576
Location: Los Angeles, California, United States of America

PostPosted: Tue Oct 19, 2004 3:44 am    Post subject: Reply with quote

ok thanks. the comand prompt thing worked.
_________________
Dentists are evil.
Back to top
View user's profile Send private message
Duck-Billed Platypus
Guru
Guru


Joined: 30 Jun 2003
Posts: 576
Location: Los Angeles, California, United States of America

PostPosted: Tue Oct 19, 2004 4:02 am    Post subject: Reply with quote

Do the first and last three set of numbers have some sort of meaning? cause my computer's integrated nic and my sister's computer's integrated nic both have the same first three numbers for their mac addresses.
_________________
Dentists are evil.
Back to top
View user's profile Send private message
Tasslehoff
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2003
Posts: 100
Location: BC Canada

PostPosted: Tue Oct 19, 2004 4:35 am    Post subject: Reply with quote

to change the MAC address in linux:
ifconfig eth0 hw ether MAC_ADDRESS_HERE
Back to top
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Tue Oct 19, 2004 5:11 am    Post subject: Reply with quote

Duck-Billed Platypus wrote:
Do the first and last three set of numbers have some sort of meaning? cause my computer's integrated nic and my sister's computer's integrated nic both have the same first three numbers for their mac addresses.


Yes. MAC addresses are all supposed to be unique. Network card vendors are given "ranges" of MAC addresses they can assign to their nics. Your and your sisters nics seem to be made by the same manufacturer as they fall in the same range:

123456000000 -> 123456FFFFFF

This is a place where you can enter the first 6 digits of your MAC address to find out the manufacturer: http://standards.ieee.org/regauth/oui/index.shtml
_________________
http://get.a.clue.de
Back to top
View user's profile Send private message
Duck-Billed Platypus
Guru
Guru


Joined: 30 Jun 2003
Posts: 576
Location: Los Angeles, California, United States of America

PostPosted: Tue Oct 19, 2004 5:13 am    Post subject: Reply with quote

splooge wrote:
Duck-Billed Platypus wrote:
Do the first and last three set of numbers have some sort of meaning? cause my computer's integrated nic and my sister's computer's integrated nic both have the same first three numbers for their mac addresses.


Yes. MAC addresses are all supposed to be unique. Network card vendors are given "ranges" of MAC addresses they can assign to their nics. Your and your sisters nics seem to be made by the same manufacturer as they fall in the same range:

123456000000 -> 123456FFFFFF

This is a place where you can enter the first 6 digits of your MAC address to find out the manufacturer: http://standards.ieee.org/regauth/oui/index.shtml

thats interesting how do they know all that?
yeah both are from intel.
_________________
Dentists are evil.
Back to top
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Tue Oct 19, 2004 5:22 am    Post subject: Reply with quote

Duck-Billed Platypus wrote:
splooge wrote:
Duck-Billed Platypus wrote:
Do the first and last three set of numbers have some sort of meaning? cause my computer's integrated nic and my sister's computer's integrated nic both have the same first three numbers for their mac addresses.


Yes. MAC addresses are all supposed to be unique. Network card vendors are given "ranges" of MAC addresses they can assign to their nics. Your and your sisters nics seem to be made by the same manufacturer as they fall in the same range:

123456000000 -> 123456FFFFFF

This is a place where you can enter the first 6 digits of your MAC address to find out the manufacturer: http://standards.ieee.org/regauth/oui/index.shtml

thats interesting how do they know all that?
yeah both are from intel.


Intel -- or any other nic maker -- gets their MAC addresses from a central body. Much like social security numbers, MAC addresses all must be unique. To ensure uniqueness, IANA -- if memory serves -- assigns what vendors are allowed to use what numbers so there can never be any duplicates.
_________________
http://get.a.clue.de
Back to top
View user's profile Send private message
Duck-Billed Platypus
Guru
Guru


Joined: 30 Jun 2003
Posts: 576
Location: Los Angeles, California, United States of America

PostPosted: Tue Oct 19, 2004 5:24 am    Post subject: Reply with quote

splooge wrote:
Intel -- or any other nic maker -- gets their MAC addresses from a central body. Much like social security numbers, MAC addresses all must be unique. To ensure uniqueness, IANA -- if memory serves -- assigns what vendors are allowed to use what numbers so there can never be any duplicates.

oh ok that explains it..
with ipv6 would mac addresses also be expanded?
_________________
Dentists are evil.
Back to top
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Tue Oct 19, 2004 5:25 am    Post subject: Reply with quote

Nope. Those are two different types of addresses. MAC Addresses are physical, and hard-coded into the card. IP addresses are logical, and are assigned by the user.

And to clear things up, it's IEEE that assigns the numbers, not IANA:

Quote:
If your firm manufactures or plans to manufacture products using ISO/IEC 8802 standards, you should apply to IEEE for your firm's OUI. The Institute of Electrical and Electronics Engineers, Inc. has been designated by the ISO Council to act as the registration authority for the implementation of International Standards in the ISO/IEC 8802 series. This is the one world-wide source of registered OUIs. For further details contact:

_________________
http://get.a.clue.de
Back to top
View user's profile Send private message
Duck-Billed Platypus
Guru
Guru


Joined: 30 Jun 2003
Posts: 576
Location: Los Angeles, California, United States of America

PostPosted: Tue Oct 19, 2004 5:29 am    Post subject: Reply with quote

splooge wrote:
Nope. Those are two different types of addresses. MAC Addresses are physical, and hard-coded into the card. IP addresses are logical, and are assigned by the user.

And to clear things up, it's IEEE that assigns the numbers, not IANA:

Quote:
If your firm manufactures or plans to manufacture products using ISO/IEC 8802 standards, you should apply to IEEE for your firm's OUI. The Institute of Electrical and Electronics Engineers, Inc. has been designated by the ISO Council to act as the registration authority for the implementation of International Standards in the ISO/IEC 8802 series. This is the one world-wide source of registered OUIs. For further details contact:

Cause I know ipv6 would expand ip addresses.. and was wondering what happens when they run out of mac addresses..
_________________
Dentists are evil.
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Tue Oct 19, 2004 2:47 pm    Post subject: Reply with quote

IPv4 is 2^32 or 4,294,967,296
MACs are 2^48 or 281,474,976,710,656

So there are 65,000 times more MAC address than IP's at the moment.

Also MAC addresses don't have to be globally unique, just locally unique. As long as you don't have any duplicate MACs on your local network you'd be fine. Not that I'm suggesting making the MAC address address space smaller.

kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
r1k0d3r
n00b
n00b


Joined: 19 Oct 2004
Posts: 33
Location: on a radiowave

PostPosted: Thu Oct 21, 2004 1:22 pm    Post subject: Reply with quote

as requested before, a great tool to manipulate MAC adresses:

#emerge macchanger

simple and straighforward!!

bless
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum