Академический Документы
Профессиональный Документы
Культура Документы
IP Fundamentals
Internet Protocol
IP - Internet Protocol
Network layer protocol designed to enable routing of data across a packet network. Uses specific address schemes
IPv4: 192.168.200.2 IPv6: 69DC:8864:FFFF:FFFF:0:1280:8C0A:FFFF
Course Objectives
What is TCP/IP? IPv4 Packet Structure 32-bit Address Scheme of IPv4 Classless IP Addressing The life of an IP Packet
What is TCP/IP?
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
Layer 1 - Physical
Examples of protocols in this layer include: Ethernet IRC LDAP HTTP SMTP FTP SNMP USB SSH Bluetooth
Layer 7 -
Application
Layer 6 - Presentation Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 Session Transport Network Data Link Physical
TCP
IP
UDP
IP is part of the TCP/IP Model and is the glue that makes all the other protocols work
OSI Model
Layer 7 Layer 6 Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 Application Presentation Session Transport Network Data Link Physical
Interfaces directly with applications running on devices
Layer 7 -
Application
Layer 6 - Presentation Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 Session Transport Network Data Link Physical
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
Layer 3 Network
3 main features of the Network layer: 1. Logical Addressing 2. Routing 3. Path Determination Examples of protocols in this layer include: IPv4 IPv6 IPX
Layer 7 Application
Layer 5 Session
Layer 7 -
Application
Layer 6 - Presentation Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 Session Transport Network Data Link Physical
Layer 6 - Presentation Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 Session Transport Network Data Link Physical
Layer 4 Transport
Layer 6 Presentation
Layer 7 -
Application
Layer 7 -
Application
Layer 6 - Presentation Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 Session Transport Network Data Link Physical
Layer 6 - Presentation Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 Session Transport Network Data Link Physical
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
Layer 7 Application
Layer 7 -
Application
Layer 6 - Presentation Layer 5 Layer 4 Layer 3 Layer 2 Layer 1 Session Transport Network Data Link Physical
Transport Layer
TCP
UDP
Protocol Number 6
Internet Layer
IP
Link Layer
Transport Layer
Transport Layer Application Layer
Responsible for encapsulating application data blocks into datagrams suitable for transfer
TCP
Flow Control & re-transmission capabilities Ideal for Email and FTP data
Physical
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
UDP
Client
Used by Domain Name System (DNS) for simple requests and replies ?
Data transfer
Data transfer
Used by Dynamic Host Configuration Protocol (DHCP) to assign dynamic IP addresses to hosts
Connection teardown
Source Port
Destination Port
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
TCP
IPv4
Ethernet Router
Header Length
Diff Serv
Source
Destination
Router examines IP header (reads the fields) and decides on the next hop by looking at the Destination IP field.
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
IPv4 Addresses
32-bits long Contain:
Network part Host part
20 bytes
Identifier
Fragment Offset
Time to Live
Protocol
Header Checksum
Source Address
Destination Address
Options
Padding
IPv4 Addresses
The binary IPv4 address:
11
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
Classful IP Addressing
Number of Networks 128 16,384 2,097,152 Hosts per Network 16,777,214 65,534 254
Class A:
Big networks
Class B:
Medium networks
Class C:
Small networks
Rule Class A: First bit is always 0 Class B: First two bits are always 10 Class C: First three bits are always 110
Minimum and Maximum 00000000 = 0 0111111 = 127 10000000 = 128 10111111 = 191 11000000 = 192 11011111 = 223
Classless IP Addressing
192-223
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
Subnetting
Network: 192.168.1.0 Subnet Mask: 255.255.255.0
192.168.1.0 255.255.255.224
200.25.0.0/16
200.25.16.0/20
192.168.1.32 255.255.255.224
200.25.16.0/21
192.168.1.96 255.255.255.224
200.25.28.0/24 200.25.29.0/24
200.25.30.0/24 200.25.31.0/24
Company A
Company B
Company C
Company D
Subnet Mask
To divide our class C network 192.168.1.0 into 2 smaller networks we need to use some bits from host part as networks bits
Address: 11000000.10101000.00000001.00000000 -> 192.168.1.0 Subnet Mask: 11111111.11111111.11111111.00000000 -> 255.255.255.0 Bitcount: 192.168.1.0/24 Address: 11000000.10101000.00000001.00000000 -> 192.168.1.0 Subnet Mask: 11111111.11111111.11111111.10000000 -> 255.255.255.127 Bitcount: 192.168.1.0/25 Available subnetworks: 192.168.1.0/25 range 0-127 192.168.1.128/25 range 128-255
10.0.0.0 - 10.255.255.255
1 Class A network
172.16.0.0 - 172.31.255.255
16 Class B networks
192.168.0.0 - 192.168.255.255
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
Reserved IP Addresses
.0 and .255
IPv6
Larger address space
IPv6 features a larger address space than that of IPv4: addresses in IPv6 are 128 bits long versus 32 bits in IPv4
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
HTTP
HTTP
TCP IP Ethernet
TCP IP Ethernet
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."
"Disclaimer: This document is intended for internal use only (i.e. self-study) and it is not allowed to distribute in any
shape and form for external use. Furthermore, please keep in mind that this module was designed and developed for e-learning method. This might have an impact on the quality of the graphics in this document."