SlideShare a Scribd company logo
NAME : Tanbir Ahmed Rabbi
ID : 1834902594
BATCH : 49th
,
DEPARTMENT : CSE
Topic:
IP ADDRESS
An IP (Internet Protocol) address is a numerical label assigned to the devices
connected to a computer network that uses the IP for communication.
IP address act as an identifier for a specific machine on a particular network.
It also helps you to develop a virtual connection between a destination and a
source. The IP address is also called IP number or internet address. It helps
you to specify the technical format of the addressing and packets scheme.
Most networks combine TCP with IP.
Network Addressing
o Network Addressing is one of the major responsibilities of the network layer.
o Network addresses are always logical, i.e., software-based addresses.
o A host is also known as end system that has one link to the network. The boundary
between the host and link is known as an interface. Therefore, the host can have
only one interface.
o A router is different from the host in that it has two or more links that connect to it.
When a router forwards the datagram, then it forwards the packet to one of the
links. The boundary between the router and link is known as an interface, and the
router can have multiple interfaces, one for each of its links. Each interface is
capable of sending and receiving the IP packets, so IP requires each interface to
have an address.
o Each IP address is 32 bits long, and they are represented in the form of "dot-
decimal notation" where each byte is written in the decimal form, and they are
separated by the period. An IP address would look like 193.32.216.9 where 193
represents the decimal notation of first 8 bits of an address, 32 represents the
decimal notation of second 8 bits of an address.
• Let's understand through a simple example.
o In the above figure, a router has three interfaces labeled as 1, 2 & 3 and each
router interface contains its own IP address.
o Each host contains its own interface and IP address.
o All the interfaces attached to the LAN 1 is having an IP address in the form of
223.1.1.xxx, and the interfaces attached to the LAN 2 and LAN 3 have an IP
address in the form of 223.1.2.xxx and 223.1.3.xxx respectively.
o Each IP address consists of two parts. The first part (first three bytes in IP
address) specifies the network and second part (last byte of an IP address)
specifies the host in the network.
Classful Addressing
An IP address is 32-bit long. An IP address is divided into sub-classes:
o Class A
o Class B
o Class C
o Class D
o Class E
An ip address is divided into two parts:
o Network ID: It represents the number of networks.
o Host ID: It represents the number of hosts.
In the above diagram, we observe that each class have a specific range of IP
addresses. The class of IP address is used to determine the number of bits used in a
class and number of networks and hosts available in the class.
Class A
In Class A, an IP address is assigned to those networks that contain a large number of
hosts.
o The network ID is 8 bits long.
o The host ID is 24 bits long.
In Class A, the first bit in higher order bits of the first octet is always set to 0 and the
remaining 7 bits determine the network ID. The 24 bits determine the host ID in any
network.
The total number of networks in Class A = 27
= 128 network address
Triggers in SQL (Hindi)
The total number of hosts in Class A = 224
- 2 = 16,777,214 host address
Class B
In Class B, an IP address is assigned to those networks that range from small-sized to
large-sized networks.
o The Network ID is 16 bits long.
o The Host ID is 16 bits long.
In Class B, the higher order bits of the first octet is always set to 10, and the
remaining14 bits determine the network ID. The other 16 bits determine the Host ID.
The total number of networks in Class B = 214 = 16384 network address
The total number of hosts in Class B = 216
- 2 = 65534 host address
Class C
In Class C, an IP address is assigned to only small-sized networks.
o The Network ID is 24 bits long.
o The host ID is 8 bits long.
In Class C, the higher order bits of the first octet is always set to 110, and the
remaining 21 bits determine the network ID. The 8 bits of the host ID determine the
host in a network.
The total number of networks = 221
= 2097152 network address
The total number of hosts = 28
- 2 = 254 host address
Class D
In Class D, an IP address is reserved for multicast addresses. It does not possess
subnetting. The higher order bits of the first octet is always set to 1110, and the
remaining bits determines the host ID in any network.
Class E
In Class E, an IP address is used for the future use or for the research and development
purposes. It does not possess any subnetting. The higher order bits of the first octet is
always set to 1111, and the remaining bits determines the host ID in any network.
Rules for assigning Host ID:
The Host ID is used to determine the host within any network. The Host ID is assigned
based on the following rules:
o The Host ID must be unique within any network.
o The Host ID in which all the bits are set to 0 cannot be assigned as it is used to
represent the network ID of the IP address.The Host ID in which all the bits are
set to 1 cannot be assigned as it is reserved for the multicast address.
Rules for assigning Network ID:
If the hosts are located within the same local network, then they are assigned with the
same network ID. The following are the rules for assigning Network ID:
o The network ID cannot start with 127 as 127 is used by Class A.
o The Network ID in which all the bits are set to 0 cannot be assigned as it is used
to specify a particular host on the local network.
o The Network ID in which all the bits are set to 1 cannot be assigned as it is
reserved for the multicast address.
Classful Network Architecture
Class Higher
bits
NET
ID bits
HOST
ID bits
No.of
networks
No.of hosts
per network
Range
A 0 8 24 27
224
0.0.0.0 to
127.255.255.255
B 10 16 16 214 216 128.0.0.0 to
191.255.255.255
C 110 24 8 221
28
192.0.0.0 to
223.255.255.255
D 1110 Not
Defined
Not
Defined
Not Defined Not Defined 224.0.0.0 to
239.255.255.255
E 1111 Not
Defined
Not
Defined
Not Defined Not Defined 240.0.0.0 to
255.255.255.255

More Related Content

PDF
IP and MAC addressing
PPT
Ip address concepts
PPTX
IPv4 addressing and subnetting
PPTX
IPv4 Addressing Architecture
PPTX
Basics of IP Addressing
PPTX
Classes of ip addresses
PPT
ip addressing & routing
IP and MAC addressing
Ip address concepts
IPv4 addressing and subnetting
IPv4 Addressing Architecture
Basics of IP Addressing
Classes of ip addresses
ip addressing & routing

What's hot (20)

PPTX
Introduction to ip addressing by kalyan kk
PPT
Ip address
PPT
Ip addresses
PPT
Ip addressing
PPTX
IP Configuration
PPTX
Ip address presentation
PPTX
Ipv6
PPTX
Easy and simple concept of IP Address
PPTX
Computer Networking: Internet Protcol (IP) and IP Addressing
PDF
Ip and mac address
DOCX
Ip address
PDF
IP and MAC Address
PPTX
IP Address - IPv4 & IPv6
PPT
Day 2.2 ip addressing
PPTX
Cn ipv4 addressing
PPS
Ip address
PPTX
MAC & IP addresses
PPTX
Ip addressing
PPTX
ipv4 (internet protocol version 4)
DOC
I pv4 address classes
Introduction to ip addressing by kalyan kk
Ip address
Ip addresses
Ip addressing
IP Configuration
Ip address presentation
Ipv6
Easy and simple concept of IP Address
Computer Networking: Internet Protcol (IP) and IP Addressing
Ip and mac address
Ip address
IP and MAC Address
IP Address - IPv4 & IPv6
Day 2.2 ip addressing
Cn ipv4 addressing
Ip address
MAC & IP addresses
Ip addressing
ipv4 (internet protocol version 4)
I pv4 address classes
Ad

Similar to Ip address (20)

PDF
https://diplomasolutionstudents.blogspot.com/
PDF
AKTU Computer Networks notes --- Unit 3.pdf
PDF
IP & MAC Addressing
PPTX
Ip address and subnet masking final
PPTX
Internet Protocol
PDF
Basics of IP address ,IP-address classes, Subnet mask
PPT
IP address.pptsgjhdsrjdsdhhtrdfjjfrtuijyttju
PPTX
Lecture 3 network layer
DOCX
PPTX
UnderstandIPv4 Addressing and Subnetting
PPTX
ipv4 and ipv6 addressing computer networks
PDF
IP Address & Its Classes .pdf
PPTX
Ipv4 presentation
PDF
-LAB 3-IP Addressing and Subnettinncgbg.pdf
PDF
Ip address
PPTX
computer network notes in network layer.
PPTX
chapter 6.pptx
PDF
183492595 md.jiarul islam(CSE 318)
PPT
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
https://diplomasolutionstudents.blogspot.com/
AKTU Computer Networks notes --- Unit 3.pdf
IP & MAC Addressing
Ip address and subnet masking final
Internet Protocol
Basics of IP address ,IP-address classes, Subnet mask
IP address.pptsgjhdsrjdsdhhtrdfjjfrtuijyttju
Lecture 3 network layer
UnderstandIPv4 Addressing and Subnetting
ipv4 and ipv6 addressing computer networks
IP Address & Its Classes .pdf
Ipv4 presentation
-LAB 3-IP Addressing and Subnettinncgbg.pdf
Ip address
computer network notes in network layer.
chapter 6.pptx
183492595 md.jiarul islam(CSE 318)
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
Ad

Recently uploaded (20)

PPTX
Foundation to blockchain - A guide to Blockchain Tech
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Sustainable Sites - Green Building Construction
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Construction Project Organization Group 2.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
web development for engineering and engineering
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
composite construction of structures.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
PPT on Performance Review to get promotions
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Foundation to blockchain - A guide to Blockchain Tech
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Sustainable Sites - Green Building Construction
CYBER-CRIMES AND SECURITY A guide to understanding
Construction Project Organization Group 2.pptx
CH1 Production IntroductoryConcepts.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
573137875-Attendance-Management-System-original
web development for engineering and engineering
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
composite construction of structures.pdf
Lecture Notes Electrical Wiring System Components
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Model Code of Practice - Construction Work - 21102022 .pdf
PPT on Performance Review to get promotions
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx

Ip address

  • 1. NAME : Tanbir Ahmed Rabbi ID : 1834902594 BATCH : 49th , DEPARTMENT : CSE Topic: IP ADDRESS An IP (Internet Protocol) address is a numerical label assigned to the devices connected to a computer network that uses the IP for communication. IP address act as an identifier for a specific machine on a particular network. It also helps you to develop a virtual connection between a destination and a source. The IP address is also called IP number or internet address. It helps you to specify the technical format of the addressing and packets scheme. Most networks combine TCP with IP. Network Addressing o Network Addressing is one of the major responsibilities of the network layer. o Network addresses are always logical, i.e., software-based addresses. o A host is also known as end system that has one link to the network. The boundary between the host and link is known as an interface. Therefore, the host can have only one interface. o A router is different from the host in that it has two or more links that connect to it. When a router forwards the datagram, then it forwards the packet to one of the links. The boundary between the router and link is known as an interface, and the router can have multiple interfaces, one for each of its links. Each interface is
  • 2. capable of sending and receiving the IP packets, so IP requires each interface to have an address. o Each IP address is 32 bits long, and they are represented in the form of "dot- decimal notation" where each byte is written in the decimal form, and they are separated by the period. An IP address would look like 193.32.216.9 where 193 represents the decimal notation of first 8 bits of an address, 32 represents the decimal notation of second 8 bits of an address. • Let's understand through a simple example. o In the above figure, a router has three interfaces labeled as 1, 2 & 3 and each router interface contains its own IP address. o Each host contains its own interface and IP address. o All the interfaces attached to the LAN 1 is having an IP address in the form of 223.1.1.xxx, and the interfaces attached to the LAN 2 and LAN 3 have an IP address in the form of 223.1.2.xxx and 223.1.3.xxx respectively. o Each IP address consists of two parts. The first part (first three bytes in IP address) specifies the network and second part (last byte of an IP address) specifies the host in the network.
  • 3. Classful Addressing An IP address is 32-bit long. An IP address is divided into sub-classes: o Class A o Class B o Class C o Class D o Class E An ip address is divided into two parts: o Network ID: It represents the number of networks. o Host ID: It represents the number of hosts. In the above diagram, we observe that each class have a specific range of IP addresses. The class of IP address is used to determine the number of bits used in a class and number of networks and hosts available in the class. Class A In Class A, an IP address is assigned to those networks that contain a large number of hosts.
  • 4. o The network ID is 8 bits long. o The host ID is 24 bits long. In Class A, the first bit in higher order bits of the first octet is always set to 0 and the remaining 7 bits determine the network ID. The 24 bits determine the host ID in any network. The total number of networks in Class A = 27 = 128 network address Triggers in SQL (Hindi) The total number of hosts in Class A = 224 - 2 = 16,777,214 host address Class B In Class B, an IP address is assigned to those networks that range from small-sized to large-sized networks. o The Network ID is 16 bits long. o The Host ID is 16 bits long. In Class B, the higher order bits of the first octet is always set to 10, and the remaining14 bits determine the network ID. The other 16 bits determine the Host ID. The total number of networks in Class B = 214 = 16384 network address The total number of hosts in Class B = 216 - 2 = 65534 host address Class C In Class C, an IP address is assigned to only small-sized networks. o The Network ID is 24 bits long. o The host ID is 8 bits long.
  • 5. In Class C, the higher order bits of the first octet is always set to 110, and the remaining 21 bits determine the network ID. The 8 bits of the host ID determine the host in a network. The total number of networks = 221 = 2097152 network address The total number of hosts = 28 - 2 = 254 host address Class D In Class D, an IP address is reserved for multicast addresses. It does not possess subnetting. The higher order bits of the first octet is always set to 1110, and the remaining bits determines the host ID in any network. Class E In Class E, an IP address is used for the future use or for the research and development purposes. It does not possess any subnetting. The higher order bits of the first octet is always set to 1111, and the remaining bits determines the host ID in any network. Rules for assigning Host ID: The Host ID is used to determine the host within any network. The Host ID is assigned based on the following rules: o The Host ID must be unique within any network.
  • 6. o The Host ID in which all the bits are set to 0 cannot be assigned as it is used to represent the network ID of the IP address.The Host ID in which all the bits are set to 1 cannot be assigned as it is reserved for the multicast address. Rules for assigning Network ID: If the hosts are located within the same local network, then they are assigned with the same network ID. The following are the rules for assigning Network ID: o The network ID cannot start with 127 as 127 is used by Class A. o The Network ID in which all the bits are set to 0 cannot be assigned as it is used to specify a particular host on the local network. o The Network ID in which all the bits are set to 1 cannot be assigned as it is reserved for the multicast address. Classful Network Architecture Class Higher bits NET ID bits HOST ID bits No.of networks No.of hosts per network Range A 0 8 24 27 224 0.0.0.0 to 127.255.255.255 B 10 16 16 214 216 128.0.0.0 to 191.255.255.255 C 110 24 8 221 28 192.0.0.0 to 223.255.255.255 D 1110 Not Defined Not Defined Not Defined Not Defined 224.0.0.0 to 239.255.255.255 E 1111 Not Defined Not Defined Not Defined Not Defined 240.0.0.0 to 255.255.255.255