in Computer Networks
57 views
0 votes
0 votes
Do we actually need ip and Mac addresses both at same time for the computer for communication?

Why we not use Mac instead of ip address since Mac is also the unique address globally?

Why we not use ip instead of Mac
Since both are unique but why we use both for computer networkws?
in Computer Networks
by
103 points
57 views

1 Answer

0 votes
0 votes
As we know Mac is unique and depends on hardware manufacture. So when communicating through mac it’s broadcasted to all the devices on network. In case of internet It has to do billions of comparisons and it will get to only one specific desired device.

Ip helps to overcome the problem as It contains both network and host address(depends upon Class of IP) bits so when you send to specific Ip address first your router will use masking to get the network address then It will send it to that address where again router in that network will use masking to get specific host address and packet will be delivered to that specific device Instead of broadcasting and sending it to everyone.
by
5 points
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
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.