Computing.Net > Forums > Networking > Layer 2 address learning

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Layer 2 address learning

Reply to Message Icon

Name: Larry K
Date: November 2, 2006 at 14:57:19 Pacific
OS: any
CPU/Ram: any
Product: any
Comment:

I understand how a LAN switch learns the destination and source MAC address of two terminals communicating for the "first time" and how subsequent communications between these two terminals would not require a second broadcast message to find the location of either recipient.

My question is, is that also true for other hosts who have not yet communicated with the original two communicating hosts? If the switch now knows the port assignments for hosts A and B, I can't imagine why a communication to either A or B from any other host on the network would require a broadcast message from the switch.

Seems like a dumb question as I am asking it, but I just want to make certain. Thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: jefro
Date: November 2, 2006 at 15:17:10 Pacific
Reply:

I think you should get ethereal and use it on test systems. Use a hub or switch and monitor the connection and view it. Boot one system and view it's data. Leave the systems on with not user input and see what you get.

I read it wrong and answer it wrong too. So get off my case you goober.


0

Response Number 2
Name: Larry K
Date: November 2, 2006 at 16:26:51 Pacific
Reply:

Unfortunately, I don't have a system to test it on. I teach a class in data com, and it is all pretty conceptual. Not much hands on. I was just trying to pin down this one concept for certain.


0

Response Number 3
Name: wanderer
Date: November 2, 2006 at 16:56:50 Pacific
Reply:

It isn't a matter of other hosts communicating with A or B. The switch doesn't care about that. It builds a table of mac address to port number based on when a computers network card first makes a live connection to the switch.

There are no broadcasts, at this layer, which is where I think your question lays. Broadcasts don't come into play until layer 3 and ip.

I guess you could say a hub broadcasts but that isn't quite right. A hub repeats to all ports. IP does broadcasts.

I hope this helps.

Give a person a fish, they eat for a day. Suggest they internet search and they learn a skill for a lifetime.


0

Response Number 4
Name: SmittyZ3M
Date: November 3, 2006 at 17:32:15 Pacific
Reply:

I would have to disagree with your last statement.

An ARP broadcast is an IP to MAC Address resolution protocol which occurs at the Data Link Layer of OSI. RARP is also a Data Link Layer broadcast.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: Layer 2 address learning

Layer 2 switching query www.computing.net/answers/networking/layer-2-switching-query/25805.html

More wires/second router/switch? www.computing.net/answers/networking/more-wiressecond-routerswitch/29356.html

Layer 2 or 3 switch needed? www.computing.net/answers/networking/layer-2-or-3-switch-needed/28122.html