Link to home
Start Free TrialLog in
Avatar of karthik_s9
karthik_s9

asked on

Switching basics

Hi All,

 I have got few doubts in switching.

Switches do broadcast (ARP) first time to learn the destination mac address & store it in the mac-address table.Next time if any packet comes from the same source to same destination it'll not do broadcast,it'll look into the mac-table & send it to the destination directly (unicast).
if the destination is not availabl then it'll send it to the default-gateway.

My Question is,

1. How will the switch know whether this packet has to send it to the default gateway or not?
2. Will Switch maintain the destination adress as the mac-address of default-gateway for all the hosts in different subnet.
3.What will happen if we move the host from one switch to another switch (same subnet)within the MAX-age timer expires.

Also please point me to some good links which will explain in depth of switching technology.

Thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of rfr1tz
rfr1tz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of giltjr
giltjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
giltjr

You are correct about the confusion that manufacturers place on this terminology.  Most "switches" are bridges becuase they use software algorythms to determine packet release points.  

A layer 3 switch is just  a router with hardware implemented routing.  Cisco uses true Layer 3 switches to do their routing which is why their hardware has such a  high throughput.

Most vendors that package a router in the same box with a bridge often call the device a router...or  a switch which it is neither.   it is actually a brouter.

You will also see these devices referred to as a L1/2 switch
Avatar of pseudocyber
pseudocyber

I thought my post was good.