Network Hardware (Switches, Routers, Gateways, Hub, Cables)
Network Hardware (Switches, Routers, Gateways, Hub, Cables)
Network Hardware (Switches, Routers, Gateways, Hub, Cables)
1
Functions of network devices
• Separating (connecting) networks or
expanding network
• e.g. repeaters, hubs, bridges, routers,
brouters, switches, gateways
• Remote access
• e.g. 56K Modems and ADSL
modems
2
Repeaters and Hubs
• Repeaters or hubs work at the OSI physical layer to
regenerate the network’s signal and resend them to
other segments
• Primitive hub can be viewed as a multiport repeater
• It regenerates data and broadcasts them to all
ports
Hub
3
4
5
Limitations and Features
• But cannot
interpret higher-
level information
• Hence cannot
filter packet
according to its
protocol
7
How Bridges Work
Repeaters Bridges
9
Switches
• Switches operate at the Data Link layer (layer 2)
of the OSI model
• Can interpret address information
• Switches resemble bridges and can be considered
as multiport bridges
• By having multiports,
can better use limited
bandwidth and prove
more cost-effective
than bridge
Cisco Catalyst 2900 switch
10
• Switches divide a network into several isolated
channels
• Packets sending from 1 channel will not go to
another if not specify
• Each channel has its own capacity and need not be
shared with other channels
Hub 3.3Mbps
10Mbps
Switch 3.3Mbps
3.3Mbps
10Mbps
10Mbps
11 10Mbps
Routers
• Layer 2 Switches cannot take advantage of multiple
paths
• Routers work at the OSI layer 3 (network layer)
15
16
Gateways make communication possible between different
architectures and environments. They repackage and convert
data going from one environment to another so that each
environment can understand the other's environment data.
A gateway repackages information to match the requirements
of the destination system. Gateways can change the format of a
message so that it will conform to the application program at
the receiving end of the transfer.
A gateway links two systems that do not use the same:
•Communication protocols
•Data formatting structures
•Languages
•Architecture
For example, electronic mail gateways, such as X.400
gateway, receive messages in one format, and then translate it,
17 and forward in X.400 format used by the receiver, and vice
Summary
• Repeaters are the least expensive way to expand a
network, but they are limited to connecting two
segments
• Bridges function similar to repeaters, but can
understand the node addresses
• Switches can be considered as multiport bridges, can
divide a network into some logical channels
• Routers interconnect networks and provide filtering
functions. They can determine the best route
18