NET W6 Network Protocols Part 2
NET W6 Network Protocols Part 2
Lesson [6]
Network Protocols – Part 2
1
Module Learning Outcomes
2
Layer Protocols
Layer Protocols
Process/ Application FTP, HTTP, HTTPS, SMTP,
3
Internet Protocol (IP)
4
IPv4 Introduction
An IP address is a 32-bit address that uniquely and universally
defines the connection of a host or a router to the Internet. IP
addresses are unique
The 32-bit IP address is broken up into 4 octets, which are
arranged into a dotted-decimal notation scheme
An octet is a set of 8 bits
The address space of IPv4 is
232 or 4,294,967,296.
5
IP Address Classes
6
IP Address Classes
Finding the class in binary notation
7
IP Address Classes
Finding the class in decimal notation
8
Are you the Host or the Network
The 32 bits of the IP address are divided into Network & Host portions,
with the octets assigned as a part of one or the other.
Each Network is assigned a network address & every device or interface
(such as a router port) on the network is assigned a host address.
9
Class A Addresses
Class A IP addresses use the 1st 8 bits (1st Octet) to designate the Network ID.
The 1st bit which is always a 0, is used to indicate the address as a Class A
address & the remaining 7 bits are used to designate the Network.
The other 3 octets contain the Host ID
A has a total of:
Class B addresses use the 1st 16 bits (two octets) for the Network ID.
The last 2 octets are used for the Host ID.
The 1st 2 bits, which are always 10, designate the address as a Class B
address & 14 bits are used to designate the Network. This leaves 16 bits
(two octets) to designate the Hosts.
Class B has a total of:
214 = 16384 network address
216 – 2 = 65534 host address
11
Class C Addresses
Class C addresses use the 1st 24 bits (three octets) for the Network ID &
only the last octet for Host ID.
The 1st 3 bits of all class C addresses are set to 110, leaving 21 bits for the
Network ID. This leaves 8 bits to designate the Hosts.
Class C has a total of:
221 = 2097152 network address
28 – 2 = 254 host address
12
Public and Private IP
13
Subnet Mask
14
Masking concept
A B A AND B
In order to get the network address we 0 0 0
AND the destination address with the
0 1 0
subnet mask
The only way you can get a result of a 1 1 0 0
is to combine 1 & 1. Everything else will 1 1 1
AND Operation
end up as a 0
15
Default Subnet Mask
16
Trial Separation
17
Trial Separation
When these two binary numbers (the IP address & the subnet mask) are
combined using Boolean Algebra, the Network ID of the destination
network is the result:
18
Trial Separation
19
Address Resolution Protocol (ARP)
20
Address Resolution Protocol (ARP)
21
Summary
22
Thank You
23