Chapter 4 Network and OSI
Chapter 4 Network and OSI
Week 4, 5 & 6
Essential Services: Operation and Protocols
Networking & OSI Layers
Lecturer Information
Component Description
Module Code & Module Title Slide Title Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.org SLIDE55
ISO OSI Reference Model
Packages raw bits from the Physical layer into frames (logical, structured
packets for data).
Provides reliable transmission of frames
It waits for an acknowledgment from the receiving computer.
Retransmits frames for which acknowledgement not received
• In OSI model, each layer provide services to layer above, and ‘consumes’
services provided by layer below.
• Active elements in a layer called entities.
• Entities in same layer in different machines called peer entities.
N N
PDU PDU
PDU - Protocol Data Unit
SDU - Service Data Unit
Cultural
Sensitivity
TCP Segment
Data
Header
TCP Segment
Data
Header
Is this my MAC address? Yes: Pass up the DATA part No: discard it
Layer 3 (Internet)
interconnection is more Ubuntu
Layer 3
useful
1. Assign an IP address to
each interface
2. Configure a default or
static route to the
gateway
3. Gateway interconnects
subnets
• Extend the network prefix by borrowing bits from host address range
– a Variable Length Subnet Mask (VLSM)
• An IP address is accompanied by an indication of the prefix length
192.168.11.0 255.255.255.0
Convert the binary expression to dotted-decimal notation
192.168.11.0/24
/ specifies the number of ones “up front”
Module Code & Module Title Slide Title Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.orgSLIDE4040
Internet Protocols and Standards
Application /etc/services IANA: Internet Assigned Numbers Authority
arp Reply
Any reply is cached,
even if no request was
sent. Attackers can
easily substitute their Source IP: 192.168.6.101
Source MAC: 1a:2b:3c:4d:5e:6f
MAC and divert traffic. Target IP: 192.168.6.1
Target MAC: a1:b2:c3:d4:e5:f6
Is 192.168.0.154
reachable? 192.168.0.154
Echo
1
request
2 Echo reply
Module Code & Module Title Slide Title Copyright (c) 2018 CompTIA Properties, LLC. All Rights Reserved. | CompTIA.orgSLIDE4545
UDP - User Datagram
Protocol