The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
47 views
Why only hexadecimal number system is used in MAC address in an NIC card and other number system ain't ?
asked in Computer Networks by Boss (13.6k points) | 47 views
0
because MAC is 48 bits .if we use binary,it will be too long to represent.

Also we can have 8 octet having 2 hexa number in each.
0
I think hexadecimal numbers are "just" used to represent MAC addresses but at its core, it must be binary numbers, as we know MAC is 48 bit instead of writing 48-bits, it is better to write a shorted representation(8 bits separated by ':' as  MM:MM:MM:SS:SS:SS where each part is of two 4bits in size) for better human interaction and understanding. It is just a comfortable formatting option.
0
@bhuv,if u  talk of normal human interaction decimal is acceptable too. Wouldn't decimal no system provide a better formatted option?

@Anand,8 octet I do agree!!!But why only hexadecimal?
0

Devshree Dubey, humans are very much comfortable with base 10, but machines can't

 

machines are comfortable with bases as powers of 2, it may be 2, 4, 8, 16, 32 etc

but comparing binary, octal and Hexa ===> Choosing Hexa is reducing the length.

may be it is the reason but i am not sure

0
@Shaik Masthan,I see that. But machines can understand binary in a better way. As regards NIC is concerned,it is but obvious that MAC address is unique. Isn't it brother? It's like an identity. So going for a decimal or octal isn't a wrong option. :)
0
It is just a number representation. Nothing to do with whether a machine can understand or not. No matter how you represent it, ones and zeros are the only thing machine will see.

Representation is for convention and convenience. Why is decimal used for IP address and hex for MAC? Probably those are the notations that got widely accepted or used. IP address would have been more compact if represented in hex. But this is just the way things got evolved and gradually got accepted and then became convention :)

Please log in or register to answer this question.

Related questions

0 votes
1 answer
6


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

44,019 questions
49,545 answers
162,701 comments
65,769 users