Networking
Networking
Networking
CONTENTS
Network Segments
NICs
Repeaters
Hubs
Bridges
Switches
Routers
Gateways
OSI MODEL
NODE B
Receiving Device
NODE A
Sending Device
Layer 7
Application Layer
Layer 6
Presentation Layer
Layer 5
Session Layer
Layer 4
Transport Layer
Layer 3
Network Layer
Layer 2
Data Link Layer
Layer 1
Physical Layer
Layer 7
Application Layer
Layer 6
Presentation Layer
Layer 5
Session Layer
Layer 4
Transport Layer
Layer 3
Network Layer
Layer 2
Data Link Layer
Layer 1
Physical Layer
NETWORK SEGMENTS
NETWORK SEGMENTS
Switch
Hub
Hub
Hub
Segment 1
Segment 3
Segment 2
At source:
Receives the data packet from the Network Layer
Attaches its the MAC address to the data packet
Attaches the MAC address of the destination device
to the data packet
Converts data in to packets suitable for the particular
network (Ethernet, Token Ring, FDDI)
Converts packets in to electrical, light or radio
signals
Provides the physical connection to the media
MAC ADDRESS
As a destination device
Provides the physical connection to the media
Translates the signal in to data
Reads the MAC address to see if it matches its own
address
If it does match, passes the data to the Network
Layer
REPEATER
Allows the connection of segments, therefore extends the network beyond the
maximum length of a single segment
Connects segments of the same network, even if they use different media
Advantages
Disadvantages
Advantages
Disadvantages
HUB
HUB
Advantages
Cheap,
Can connect different media types
Disadvantages
BRIDGE
BRIDGE
Advantages
Disadvantages
COLLISION DOMAIN
COLLISION DOMAIN
The reason for this is that all traffic must appear on all
the cables between bridges.
BRIDGE
Uses the Spanning Tree Protocol (STP) to decide whether to
pass a packet on to a different network segment
Bridge
A Transmits to
C, bridge will
not pass it to
Segment B
Segment A
D
B
G Transmits to B,
bridge will pass it
to Segment A
Segment B
H
F
Collisions
SWITCH
SWITCH
Advantages
Disadvantages
ROUTER
Can connect different network segments, if they are in the same building or even on the
opposite side of the globe
Changes packet size and format to match the requirements of the destination network
ROUTER
ROUTER
Advantages
Disadvantages
Expensive,
Must use routable protocols,
Can be difficult to configure (static routing),
Slower than a bridge
Advantages
Disadvantages
Expensive,
Must use routable protocols,
Can be difficult to configure (static routing),
Slower than a bridge
GATEWAY
GATEWAY