introduction to osi lower layer kentaro hayashi graduate school of information science and...
TRANSCRIPT
![Page 1: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/1.jpg)
Introduction to OSI lower Layer
Kentaro HayashiGraduate school of Information Science and Electric
al EngineeringDepartment of Advanced Information Technology
Kyushu University
![Page 2: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/2.jpg)
2
Contents
OSI Reference Model
Physical Layer
Date Link Layer
Network Layer
![Page 3: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/3.jpg)
3
OSI Reference Model
![Page 4: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/4.jpg)
4
Example of Layer Model・ Postal Mail Service
Contents Simple, Plain
Representation
Language, Meaningful Sentence
Postal format
Post Code, Address, Name, Postcard
Transportation method
Motor bike, Truck, Train
sender
Some post offices
receiver
![Page 5: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/5.jpg)
5
OSI Reference Model・ Open Systems Interconnection Reference Model・ In 1977, work on a layered model of network architectur
e, which was to become the OSI model, started in the American National Standards Institute (ANSI) working group on Distributed Systems (DISY). With the DISY work and worldwide input, the International Organization for Standardization(ISO) began to develop its OSI networking suite.
・ OSI has two major components: an abstract model of networking (the Basic Reference Model, or seven-layer model) and a set of concrete protocols. [Wikipedia]
![Page 6: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/6.jpg)
6
OSI reference model
Application
Presentation
Session
Transport
Network
Data Link
PhysicalLayer 1
Layer 2
Layer 3
Layer 4
Layer 5
Layer 6
Layer 7
Media, signal and binary transmission
Physical addressing
Path determination and logical addressing
End-to-end connections and reliability
Signaling for session
Data representation and encryption
Network process to application
offer service
offer communication
![Page 7: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/7.jpg)
7
OSI Upper Layer
Layer 5
Layer 6
Layer 7 Application
Presentation
Session
Application
DATADATA
Format
When to start
Signaling
![Page 8: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/8.jpg)
8
OSI Lower Layer
Transport
Network
Data Link
PhysicalLayer 1
Layer 2
Layer 3
Layer 4 Reliability
0101
0101Data transmissionat the node interval
Routing
Physical connection
![Page 9: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/9.jpg)
9
Physical Layer
Transport
Network
Data Link
PhysicalLayer 1
Layer 2
Layer 3
Layer 4
![Page 10: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/10.jpg)
10
Physical Layer
The Physical Layer defines the electrical and physical specifications for devices. In particular, it defines the relationship between a device and a physical medium. This includes the layout of pins, voltages, cable specifications, Hubs, repeaters, network adapters, and more.
[Wikipedia]
![Page 11: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/11.jpg)
11
Cable
Coaxial Cable Twisted Pear Cable Optical Fiber Wireless
![Page 12: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/12.jpg)
12
Coaxial cable
1. Inner conductor2. Insulator surrounding the Inner conductor3. Metallic shield and outer conductor4. Outer insulating jacket
Characteristic
・ Few leaks of the electromagnetic wave to the outside.・ Able to bend.・ Able to transmit of a wide frequency range.・ Structure is complicated, and price is high.
![Page 13: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/13.jpg)
13
Twisted pair cableSTP (Shielded twisted pair)UTP (Unshielded twisted pair)
TX +TX -RX +RX -
TX : Transmit pairRX : Receive pair
Characteristic
・ Cheap and Easy to treat.・ Wire freely.・ Affected by the powerful electricity and electromagnetic .
![Page 14: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/14.jpg)
14
Optical fiber
Core : Light advances.
Cladding : Light is reflected.
Buffer : Relax shock, absorbent
Jacket : Protect.
![Page 15: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/15.jpg)
15
Multi mode Single mode
・ Strong to bend.・ Easy to connect.・ Cheap.・ Made of plastic.(Cladding:fluorine-based polymer)
・ Little transmission loss.・ Made of quartz glass.( Core:Ge,P , Cladding:B,F)
![Page 16: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/16.jpg)
16
Wireless Communication
【 Radio 】・ Electric wave
・ Unnecessary line of sight
( ・ license is necessary)
・ mobile phone, PHS
・ Bluetooth (IEEE 802.15.1)
【 FSO 】 Free Space Optics
・ Infrared ray (IR)or Visible spectrum
・ line of sight is required・ license is unnecessary・ PC, remote controller・ IrDA UFIR⇒
・ The wiring space is unnecessary.
・ Mobile communication is possible.
・ Able to build LAN immediately.
・ Able to communicate outdoors.
![Page 17: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/17.jpg)
17
Encoding・ NRZ(Non-Return to Zero)
0 → Low Level 1 → Hi Level
※ 1000BASE-X
・ NRZI(Non-Return to Zero Inversion)
0 → No Change Level 1 → Change Level
※ FDDI, 100BASE-FX
・ Manchester0 → Hi ⇒Low1 → Low⇒Hi
※ 10BASE5 、 2 、 -T
・ MLT-3 0 → No Change Level
1 → Change Level (Middle⇒Hi⇒Middle⇒Low )⇒
※ 100BASE-TX 、 CDDI
![Page 18: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/18.jpg)
18
Encoding
![Page 19: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/19.jpg)
19
Protocol
・ RS-232C (Recommended Standard 232C)
・ ISDN (Integrated Services Digital Network)
・ xDSL (x Digital Subscriber Line)
- ADSL (Asymmetric DSL)
・ IEEE 802.11 (Wireless LAN)
・ SDH (Synchronous Digital Hierarchy)
SONET (Synchronous Optical NETworking)
・ Protocol for Ethernet
![Page 20: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/20.jpg)
20
IEEE 802.11
⇒one of the wireless LAN related standards
Release DateFrequency
bandOfficial speed
IEEE 802.11 1997 2.4 ~ 2.5GHz 2Mbps
IEEE 802.11b
October, 1999
2.4 ~ 2.5GHz11Mbps /
22Mbps
IEEE 802.11a
October, 1999
5.15 ~ 5.35GHz5.47 ~
5.725GHz(Max)54Mbps
IEEE 802.11g
June, 2003 2.4 ~ 2.5GHz 54Mbps
IEEE 802.11j --4.9 ~ 5.0GHz
5.03 ~5.091GHz
54Mbps
IEEE 802.11n
-- 2.4GHz / 5GHz 100Mbps ~
![Page 21: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/21.jpg)
21
SONET/SDH⇒ The international standard
of the high speed digital communication method with optical fiber
SONET SDHTransmission
speed
OC-1 ‐ 51.84Mbps
OC-3 STM-1 155.52Mbps
OC-9 ‐ 466.56Mbps
OC-12 STM-4 622.08Mbps
OC-18 ‐ 933.12Mbps
OC-24 ‐ 1244.16Mbps
OC-36 ‐ 1,866.24Mbps
OC-48STM-
162,488.32Mbps
OC-192STM-
649,953.28Mbps
OC : Optical Carrier
![Page 22: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/22.jpg)
22
Protocol for Ethernet Transmission
speedMaximum length Cable Encoding
10BASE-5 10Mbps 500m Coaxial cable Manchester
10BASE-2 10Mbps 185m Coaxial cable Manchester
10BASE-T 10Mbps 100mTwisted pair
cableManchester
100BASE-TX 100Mbps 100mTwisted pair
cable4B/5B + MLT-
3
1000BASE-T 1Gbps 100mTwisted pair
cable4D-
PAM5(8BIQ4)
100BASE-FX 100Mbps
Multi mode:412m(half duplex)
Optical fiber 4B/5B + NRZI2km(full duplex)
Single mode:20km(full duplex)
1000BASE-SX 1Gbps Multi mode:550m Optical fiber 8B/10B + NRZ
1000BASE-LX 1GbpsMulti mode:550m
Optical fiber 8B/10B + NRZSingle mode:5km
1000BASE-ZX 1Gbps 100km Optical fiber 8B/10B + NRZ
![Page 23: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/23.jpg)
23
Data Link Layer
Transport
Network
Data Link
PhysicalLayer 1
Layer 2
Layer 3
Layer 4
![Page 24: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/24.jpg)
24
Date Link Layer
The Date Link Layer provides the functional and procedural means to transfer data between network entities and to detect and possibly correct errors that may occur in the Physical Layer.
![Page 25: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/25.jpg)
25
Protocol
IEEE802.3 (Ethernet) FDDI (Fiber distributed data interface) ATM (Asynchronous Transfer Mode) PPP (Point-to-Point Protocol) Token Ring ARP (Address Resolution Protocol) IEEE802.11(wireless LAN)
![Page 26: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/26.jpg)
26
Ethernet The protocol that spreads in LAN most today American Xerox company, Intel Company and old DEC
Company devised Standardized by IEEE802.3 afterwards As for these 2, the forms of the frame are different CSMA/CD
![Page 27: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/27.jpg)
27
Frame Format
Data46~1500
Data38~1492
Destination MAC address
6
Destination MAC address
6
SourceMAC address
6
Source MAC address
6
Type2
SNAP5
Length2
LLC3
FCS4
FCS4
Ethernet
IEEE802.3 Ethernet
Preamble8octets
Preamble8
MTU(Maximum Transmission Unit)1518bytes
8 bits = 1 bytes = 1 octets
![Page 28: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/28.jpg)
28
MAC address Media Access Control address Standardized by IEEE802.3 The unique address that was allotted to the NIC(Network Interfa
ce Card)
22bits 24bits1
bits1
bits
48bits
![Page 29: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/29.jpg)
29
MAC address
NIC receives the Frame which destination MAC address is same as own one.
A B C Ddatadata
× ×○
The destination MAC address is C
![Page 30: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/30.jpg)
30
Collision Each terminal controls it autonomously to avoid a
collision of the communication In order to avoid collision, Ethernet use CSMA/CD.
A B C Ddatadata data
Collision
To C To D
![Page 31: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/31.jpg)
31
CSMA/CD(Collision Detection)
Non-persistent CSMA + While itself transmits a message, It examines that there are only it's data in a network
If a collision happens, It waits in random time and retransmits afterwards
When a collision occurs more than the constant number of times, It stops the transmission of a message.
![Page 32: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/32.jpg)
32
CSMA(Carrier Sense Multiple Access) Each terminal controls it autonomously to avoid a
collision of the communication The transmission of a data is performed unless a signal
is passed to LAN
A B C Ddata data
Collision
data data
![Page 33: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/33.jpg)
33
Switch (Switching Hub) Filtering by the MAC address I t decides the port which It should send
A B C Ddatadata
○
switch
To C
data
To D ○
![Page 34: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/34.jpg)
34
Network Layer
Transport
Network
Data Link
PhysicalLayer 1
Layer 2
Layer 3
Layer 4
![Page 35: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/35.jpg)
35
Network Layer
Network Layer is
![Page 36: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/36.jpg)
36
IP
Protocol developed in U.S. Department of Defense (DoD) to bear network layer of TCP/IP model
IP is a protocol of a connectionless type
![Page 37: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/37.jpg)
37
IP
IP maintains the logic address that is called IP address in all machines on the network IP address is hierarchized structure and keep
unique all over the world
The relay node of IP is called a router.
![Page 38: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/38.jpg)
38
IP packet formatVersion
(4)
Header Length
(4)
Service Type
(8)
Packet Length
(16)
ID
(16)
Flag
(3)
Fragment Offset
(13)
TTL
(8)
Protocol
(8)
Header Check-Sum
(16)
Transmission former IP address
(32)
Destination IP address
(32)
Option
(32 * n)
Data
![Page 39: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/39.jpg)
39
IP address
Logic address used by IP protocol When you write Internet Protocol address
32 all bits are written by one byte by the decimal number with the dot separately for four parts (octet) ( 例 ) 11010011 00000111 01011010 01110001 → 211.7.90.113
Network address
n bits
Host address
(32 –n) bits
![Page 40: Introduction to OSI lower Layer Kentaro Hayashi Graduate school of Information Science and Electrical Engineering Department of Advanced Information Technology](https://reader035.vdocument.in/reader035/viewer/2022062516/56649e0e5503460f94af8170/html5/thumbnails/40.jpg)
40