Host Mac address in multiple switches CAM table

Host Mac address in multiple switches CAM table

I would like to know if a MAC address of a computer or Router that is connected to Switch1 will be also found in CAM table of Switch2 , Switch3 ,etc... assuming all switches are connected to each other.

Thank you
jskfanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
Yes but only if there has been communication. It will not be the same on each switch

i.e.
computer 1 | switch1-port 1 | switch 2-port20 | computer 2

switch 1 will have computer 1 and switch 2 mac address
switch 2 will have switch 1 and computer 2 mac address

switch 1 will not have computer 2 mac address it will use switch 2 mac adddress
lrmooreCommented:
Yes, the mac addresses are maintained throughout the  network all the way to the router that holds the arp cache.
nociSoftware EngineerCommented:
@david:

[computer1]<--->[port1-switch1-port48]<--->[port24-switch2-port20]<---->[computer2]

    switch 1 will have the computer2 macaddress  with reference/forwarding port = port48 (where it was seen from)
    switch 2 will have the computer2 macaddress with reference/forwarding port = port20

likewise:
    switch 1 will see computer1 on port1 and
    switch 2 will see computer1 on port24.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

jskfanAuthor Commented:
Thank you Guys..

For the Mac Address of a host1 in  CAM table of SwitchA to exist  in CAM Table of SwitchN ,  does this happen automatically the first time Host1 is plugged to a port on SwitchA,  OR Host1 at somepoint needs to communicate with another Host on SwitchN  in order to have SwitchN register the Mac address of Host1
Thanks
nociSoftware EngineerCommented:
A switch records the source MAC address  together with the interface (incl VLAN if applicable) when a packet is received.
So only when a host sends a packet. this is done.  And it expires (just forgets about it) the entry after some time (a minute or so).

When  a packet is to be sent to a host that is NOT in the CAM table then it will be broadcast to all interfaces.
(This is why Microsoft clusters can work as they do, the nodes never send packets with the actual source address of the cluster alias).
So the packets go everywhere the switch can send them. (within the (V)LAN.

There is no "registration procedure"  other than sending packets if you need to.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jskfanAuthor Commented:
Thank you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.