What is an Ip switch in a few words?
Step 1: Layer 2 switching. When you send a packet to a HUB (Layer 1), he propagates the same packet to all of it's ports. (increasing traffic!!)
A layer 2 switch (ip or IPX) is capable of learning to what portis the receiver PC connected. Frist send the packet to every port, watch from where it came the answer, and learn it into RAM memory, so the next time it will be redirected only to that port.
Layer 3=ROUTING (a bit more difficult)
Supose you havetwo ip subnets (or different lans) one scope from 129.11.52.1 to 255 and the other 192.168.41.1 to 255 boths C class (mask 255.255.255.0). The router is the heart, that allows forwarding packets from one subnet to another.
A computer in lan A can not comunicate with a PC in lan B because they are in different subnets. A router can