09-25-2012 11:47 AM - edited 03-07-2019 09:06 AM
I was curious, we have two switches connected to eachother through an access port and on one of the switches there is an AP. Now the switch that is connected directly to the AP should learn mac addresses of the wireless clients, but will the second switch learn those addresses? This is assuming that the same VLAN is being used on both switches.
Also, if that port was a trunk instead would the second switch learn of the mac addresses of the wireless clients?
In both cases I would think not, but would like to get this confirmed either way.
thanks
Solved! Go to Solution.
09-25-2012 11:59 AM
Hello Max,
as soon as the wireless clients send out a broadcast frame the second switch will learn of them regardless of the type of link between the switches (access port or trunk it is not important). This is because broadcast traffic is propagated everywhere in a broadcast domain.
The key point is that the same broadcast domain spans on both switches.
Hope to help
Giuseppe
09-25-2012 12:01 PM
switch A connected to switch B on int gi0/1
switch B connected to AP on int gi0/2
switch B will learn the mac-addresses of the clients from the AP and record then against gi0/2
switch A will learn the mac-addresses of the clients from switch B and record them against gi0/1
this is assuming as you say that it is all one vlan. It has to work like this ie. both switches need to record the mac-addresses to interface/port in the mac-address tables otherwise they would have to broadcast all traffic for the AP clients.
Jon
09-25-2012 11:59 AM
Hello Max,
as soon as the wireless clients send out a broadcast frame the second switch will learn of them regardless of the type of link between the switches (access port or trunk it is not important). This is because broadcast traffic is propagated everywhere in a broadcast domain.
The key point is that the same broadcast domain spans on both switches.
Hope to help
Giuseppe
09-25-2012 12:01 PM
switch A connected to switch B on int gi0/1
switch B connected to AP on int gi0/2
switch B will learn the mac-addresses of the clients from the AP and record then against gi0/2
switch A will learn the mac-addresses of the clients from switch B and record them against gi0/1
this is assuming as you say that it is all one vlan. It has to work like this ie. both switches need to record the mac-addresses to interface/port in the mac-address tables otherwise they would have to broadcast all traffic for the AP clients.
Jon
09-25-2012 12:49 PM
thanks for the quick response!
09-28-2012 02:22 AM
I'm having a case now where switches don't learn mac addresses, specifically from DHCP Discover messages that are broadcasted. That means that the unicast reply asked for has no path!
And it's not just on the distribution switches, or the core DHCP server (a 3750), but even one more client switch that the message has to pass. They aren't learning mac address from DHCP packets -- why?
/Micke
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide