This website is run by the community, for the community... and it needs advertisements in order to keep running. Blocking our ads means your killing our stats!
Please disable your ad-block, or become a premium member to hide all advertisements and this notice.

This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mac or ip communication ?

This website is run by the community, for the community... and it needs advertisements in order to keep running. Blocking our ads means your killing our stats!
Please disable your ad-block, or become a premium member to hide all advertisements and this notice.

i know that hosts communicate via hardware addresses
on the local LAN

but why do we use ip addresses for pcs in local area network?

for ex. there are too many pcs connected to one same
switch , while they are contacting we give ip addresses
to hosts then why?

This website is run by the community, for the community... and it needs advertisements in order to keep running. Blocking our ads means your killing our stats!
Please disable your ad-block, or become a premium member to hide all advertisements and this notice.

To understand why, you need to understand the OSI model. Google for it. It's not easy to understand at first glance, but over time, it will become easier to understand.

MAC addresses are physical addresses. IP addresses are logical addresses. MAC addresses give no clue as to the location of the device; IP addresses do.

but think then switch doesn't understand the ip address
since its osi layer 2 device (1 and 2 )

so while we put pcs and a switch connected to each
switch uses address filtering but in the beginning it doesn't know
the destination mac so it broadcasts all other hosts and
from the port except the port it received the frame.
then when i response from a host is received
by switch , frame goes to right destination (by registering
in filter table)

and switch doesn't understand ip (cause
it is layer 2)

here above there no looks like ip addresses
so what do you say about ip on pcs?

Do you not have someone who can articulate what you're trying to say a bit better? I know thats a bit of a cheek, since whatever language you speak I probably couldn't communicate with you nearly as well as you can in English!

Basically, the OSI model is your friend. You'll need to know it inside and out for pretty much any networking exam you take - although its relevance is often not exactly apparent to many day to day tasks you'll encounter in the real world, for understanding something like this it really is useful.

Layer 2 communication works on MAC addresses, whilst Layer 3 communication works with IP addresses (or other such protocols). This is one of the basic differences between traditional switching and routing.

Hopefully This article will help explain things for you more clearly than I could ever hope to do.

but think then switch doesn't understand the ip address
since its osi layer 2 device (1 and 2 )

so while we put pcs and a switch connected to each
switch uses address filtering but in the beginning it doesn't know
the destination mac so it broadcasts all other hosts and
from the port except the port it received the frame.
then when i response from a host is received
by switch , frame goes to right destination (by registering
in filter table)

and switch doesn't understand ip (cause
it is layer 2)

here above there no looks like ip addresses
so what do you say about ip on pcs?

Click to expand...

I had to read the above several times to get to the point that I thought I understood what you were trying to say.

Based on your previous posts I dont think you really understand the OSI model. Dont get me wrong Im sure you could name each layer and perhaps a few details about it but beyond that Im not so sure.

Going back to my You didnt expect to route data on MAC addresses alone did you?´ post which I wish I didnt blurt out think about it for a few minutes and it will make sense.

CertForums.com is not sponsored by, endorsed by or affiliated with Cisco Systems, Inc. Cisco®, Cisco Systems®, CCDA™, CCNA™, CCDP™, CCNP™, CCIE™, CCSI™; the Cisco Systems logo and the CCIE logo are trademarks or registered trademarks of Cisco Systems, Inc. All other trademarks, including those of Microsoft, CompTIA, VMware, Juniper ISC(2), and CWNP are trademarks of their respective owners.