Lecture_1_Networking Basics-1
Lecture_1_Networking Basics-1
Application Layer
Only layer which interacts with users
applications
Takes data from users in sending end
and provide the data to user in the
receiving end.
Protocols include HTTP, DNS, FTP, Fig. 1Layers of TCP/IP protocol su
Transport Layer
SMTP.
gets the message from the application layer,
Implemented in source and
encapsulates it in a segment and sends it, through the
destination devices only
logical connection, to the transport layer at the
destination host.
Message delivery can be reliable but slow (TCP) or
unreliable but fast (UDP)
Overview of TCP/IP protocol
suite...
Network Layer or Internet Layer
Require for communication between multiple networks
Introduces IP address , perform routing and congestion
control
Encapsulate segment into a packet (called IP datagram)
Used in end devices and network layer devices (Router,
PC, Layer 3 switch, etc.)
Protocols Layer
Data-link
include IP ICMP, RIP, EIGRP, OSPF etc.
Require for communication inside a network
Introduces MAC address, perform error control and flow
control
Encapsulating packet into frame
Used in all devices (PC, Router, Switch, Bridge) except
hub & repeater
Overview of TCP/IP protocol
suite….
Physical Layer
Accepts a complete frame from the Data Link layer and
encodes it as a series of signals that are transmitted
onto the local media.
Specifies transmission media
Network physical topology [1]
Fig. 2 Encapsulation/Decapsulation
Connecting Devices
Repeater
Repeater
Layer 1 device that takes voltage from the line, amplifies
the voltage, and sends it down the line [3].
Used to extend a network beyond the maximum length of
the cable segment [2]
If there is any “noise” caused by electromagnetic
interference on the wire, it will also amplify the noise and
send it [3].
The use of three repeater in a row results in an unusable
signal transmission because of extreme noise [3].
These devices are not in common use anymore; they have
been replaced
by hubs, bridges, and switches.
Connecting Devices….
Repeater
switch/hub/bridge
Bridge
A layer 2 device
Used to connect devices of
a single network
It sends the received
frame only to the intended
destination based on the
destination MAC address
of the frame.
Better bandwidth usage
[3].
Unlike hub, it has error Fig. 5 Filtering of a Bridge [2]
detection capability
Limited ports (2-4, usually
Connecting Devices….
Switch
Switch
D E F
A layer 2 device
Used to connect devices of a
single network
Like a Bridge, it sends the
received frame only to the
intended destination based on
the destination MAC address of
the frame. Frame to F
Unlike hub, it has error
A B C
detection capability
Hundreds of ports( 2 to more
than 100) Fig. 6 Filtering of a Switch [2]
Frame forwarding decision is
taken based hardware, hence it
Connecting Devices….
Router
Router
A layer 3 device
Used to connect multiple
networks
Connected networks can have
different protocols and speed.
Forward packets based on
destination IP address
Most intelligent connecting
device Fig. 7 Router connecting multiple
Can also be used to forward networks [6]
packet within a network
Slower than switch because of
Collision Domain
The “collision domain” describes a network where packet collisions can occur when
two devices on a shared network medium send packets simultaneously.
Hub: All ports belong to the same collision domain.
Bridge, Switch, Router: Each port belongs to a separate collision domain.
Broadcast Domain
All the devices in the broadcast domain can reach via broadcast at the data link layer.
A Broadcast Domain can receive any broadcast packet originating from any device
within the network segment.
All ports of hub and switch belong to same broadcast domain but all ports of the router
belong do different broadcast domain [9].
Ethernet Standards
TABLE I Ethernet Standard [7]
Spee Commo Informal Form Cable Type Max.
d n Standar al Length
Name d Name Stand
ard
Name
10 Ethernet 10BASE-T 802.3 Cat3 100 m
Mbps
100 Fast 100BASE-T 802.3 Cat5 100 m
Mbps Ethernet u
1000 Gigabit 1000BASE 802.3z Single mode fiber 5000 m
Mbps Ethernet -LX
50-micron multimode 550 m
fiber
62.5-micron 440 m
multimode fiber
1000 Gigabit 1000BASE- 802.3a Cat5, Cat5e 100 m
Ethernet Standards
TABLE I Ethernet Standard [7]
1000 Mbps Gigabit Ethernet 1000BASE-LX 802.3z Single mode fiber 5000 m