Don't worry about remembering which type of cable should be used when connecting alike or different devices. Use the simple diagram to the left and you won't go wrong!
A good way to remember this is by knowing which OSI layer these devices work in. If the connection to the two devices crosses an OSI layer, use a straight. If the devices are in the same layer, use a cross-over.
Here's an easy way to remember as well. If the devices operate in the same OSI layer, use a cross-over. If they operate in different layers, use a straight.
Layer 2 devices are hubs and switches. Layer 3 devices are routers, servers and hosts.
@ Brannon, A hub is a layer 1 device, a switch a layer 2 devices, in-fact that is the distinct difference between the two. A hub broadcast out all ports, no separation of collision domains, and no learning of layer 2 addresses. A switch however, accounts for all the above at layer 2.
thanks , it Great
ReplyDeleteThere is concept of similar devices with crossover cable but there switch and hub are not similar devices, Can you explain this?
ReplyDeletejavedsher
Like devices have the same pin-out for obvious reasons but it just so happens hubs and switches have the same pin-out as do hosts and routers.
ReplyDeleteA good way to remember this is by knowing which OSI layer these devices work in. If the connection to the two devices crosses an OSI layer, use a straight. If the devices are in the same layer, use a cross-over.
ReplyDeleteL2 devices: hubs, L2 switches
L3 devices: hosts, routers, servers
Here's an easy way to remember as well. If the devices operate in the same OSI layer, use a cross-over. If they operate in different layers, use a straight.
ReplyDeleteLayer 2 devices are hubs and switches. Layer 3 devices are routers, servers and hosts.
@ Brannon,
ReplyDeleteA hub is a layer 1 device, a switch a layer 2 devices, in-fact that is the distinct difference between the two. A hub broadcast out all ports, no separation of collision domains, and no learning of layer 2 addresses. A switch however, accounts for all the above at layer 2.