SlideShare a Scribd company logo
1 of 29
Download to read offline
Nangarhar University
Faculty of Computer Science
Networking and Communication
Dept- Spring 2014
Understanding the TCP/IP
Internet Layer
Internet Protocol
• The IP component of TCP/IP determines
where packets of data are to be routed based
on their destination addresses.
• and IP has certain characteristics related to
how it handles this function. This topic
describes some of the key functions of IP.
Conti…
• IP uses packets to carry information through
the network.
• A packet is a self-contained, independent
entity that contains data and sufficient
information to be routed from the source to
the destination
IP Characteristics
• IP operates at Layer 3 of the OSI model
(Network Layer), and Layer 3 of the TCP/IP
stack (Internet layer).
• IP is a connectionless protocol in which a one-
way datagram is sent to the destination
without advance notification to the
destination device. The destination device
receives the data and does not return any
status information to the sending device.
IP Characteristics
• IP uses hierarchical addressing in which the
network ID is like a street and the host ID is
like a house or office building on that street.
• IP provides service on a best-effort basis and
does not guarantee packet delivery. A packet
can be misdirected, duplicated, or lost on the
way to its destination.
IP Characteristics
• IP does not provide any special features that
recover corrupted packets. These services are
instead provided by the end systems of the
network.
IP Addressing
• To facilitate the routing of packets over a
network the TCP/IP protocol suite uses a
logical address known as an IP address
Conti…
• Just as physical street addresses are necessary
to identify the location
• logical IP addresses are used to identify the
location of specific devices on an IP network
so that data can reach those network
locations efficiently
• The IPv4 address is the most common type of
address currently used on the Internet
Conti…
• An IP address is a hierarchical address and
consists of these two parts:
• The network address portion (network ID)
describes the network of which this IP address is
a part. The router maintains information about
routes to each network.
• The host address component (host ID) identifies a
specific endpoint. These endpoints are the
servers, computers, and other devices connected
to the network.
Conti…
Conti…
• In any given IP address, some portion of the
32-bit number represents the network and
the remaining bits represent the host. While
many computers may share the same network
address, combining the network address with
a host address uniquely identifies any device
connected to the network.
• For usability, these 32-bit numbers are broken
up into 4 groups of numbers called octets
(1 octet = 8 bits)
• Each octet is then represented as a decimal
number between 0 and 255 and separated by
a period, or dot.
Conti…
• This scheme is known as “dotted decimal
notation.”
• The IP address shown above can be written as
172.16.128.17 and spoken as “172 dot 16 dot
128 dot 17.”
IP Address Classes
• To accommodate different sizes of networks
and aid in classifying them, IP addresses are
divided into categories called classes. This
topic describes the IP address classes and the
structure of the IP addresses within them.
IP Address Classes
• Assigning IP addresses to classes is known as
class full addressing. The classes were
determined during the early days of the
Internet by the Internet Assigned Numbers
Authority (IANA).
IP Address Classes
• Each IP address is broken down into a network
ID and the host ID. In addition, a bit or bit
sequence at the start of each address
determines the class of the address.
Class A
• The Class A address uses only the first octet (8
bits) of the 32-bit number to indicate the network
address.
• The remaining three octets of the 32-bit number
are used for host addresses.
• The first bit of a Class A address is always “0.”
Since the first bit is a 0, the lowest number that
can be represented is 00000000 (decimal 0), and
the highest number that can be represented is
01111111 (decimal 127)
Class A
• However, these two network numbers, 0 and
127, are reserved and cannot be used as
network addresses. Any address that starts
with a value between 1 and 126 in the first
octet of the 32-bit number is a Class A
address.
Class B
• The Class B address uses two of the four
octets (16 bits) to indicate the network
address
• The remaining two octets specify host
addresses.
• The first 2 bits of the first octet of a Class B
address are always binary 10
Class B
• Starting the first octet with binary 10 ensures
that the Class B space is separated from the
upper levels of the Class A space. The
remaining 6 bits in the first octet may be
populated with either 1s or 0s.
Class B
• Therefore, the lowest number that can be
represented with a Class B address is
10000000 (decimal 128), and the highest
number that can be represented is 10111111
(decimal 191). Any address that starts with a
value in the range of 128 to 191 in the first
octet is a Class B address.
Class C
• In a Class C address, the first three octets (24
bits) of the IP address identify the network
portion, with the remaining octet reserved for
the host portion
• A Class C address begins with binary 110
Therefore, the lowest number that can be
represented is 11000000 (decimal 192), and
the highest number that can be represented is
11011111 (decimal 223)
• If an address contains a number in the range
of 192 to 223 in the first octet, it is a Class C
address.
Reference
• http://www.tutorialspoint.com/ipv4/ipv4_add
ress_classes.htm

More Related Content

What's hot (20)

IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
IP Address
IP AddressIP Address
IP Address
 
Ip address
Ip address Ip address
Ip address
 
Networking Devices
Networking DevicesNetworking Devices
Networking Devices
 
Subnet Mask
Subnet MaskSubnet Mask
Subnet Mask
 
Classes of ip addresses
Classes of ip addressesClasses of ip addresses
Classes of ip addresses
 
File sharing ppt
File sharing pptFile sharing ppt
File sharing ppt
 
IPv4
IPv4IPv4
IPv4
 
OSI Model - Open Systems Interconnection
OSI Model - Open Systems InterconnectionOSI Model - Open Systems Interconnection
OSI Model - Open Systems Interconnection
 
Subnetting Presentation
Subnetting PresentationSubnetting Presentation
Subnetting Presentation
 
peer to peer and client server model
peer to peer and client server modelpeer to peer and client server model
peer to peer and client server model
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
 
IPV6 ADDRESS
IPV6 ADDRESSIPV6 ADDRESS
IPV6 ADDRESS
 
Ipv4 presentation
Ipv4 presentationIpv4 presentation
Ipv4 presentation
 
TCP/ IP
TCP/ IP TCP/ IP
TCP/ IP
 
Subnetting
SubnettingSubnetting
Subnetting
 
Subnetting made simple
Subnetting made simpleSubnetting made simple
Subnetting made simple
 
Networking devices
Networking devicesNetworking devices
Networking devices
 
Networking devices
Networking devicesNetworking devices
Networking devices
 

Similar to Ip address

Similar to Ip address (20)

IP Address
IP AddressIP Address
IP Address
 
chapter 5 (1).ppt
chapter 5 (1).pptchapter 5 (1).ppt
chapter 5 (1).ppt
 
6 ccna (fundamentals of i pv4 addressing and routing)
6  ccna (fundamentals of i pv4 addressing and routing)6  ccna (fundamentals of i pv4 addressing and routing)
6 ccna (fundamentals of i pv4 addressing and routing)
 
https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/https://diplomasolutionstudents.blogspot.com/
https://diplomasolutionstudents.blogspot.com/
 
Unit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptxUnit 1- Network Layer and Protocols-4.pptx
Unit 1- Network Layer and Protocols-4.pptx
 
ETT 05203 Lecture 5 IP addressing.ppt
ETT 05203 Lecture 5 IP addressing.pptETT 05203 Lecture 5 IP addressing.ppt
ETT 05203 Lecture 5 IP addressing.ppt
 
IP and MAC addressing
IP and MAC addressingIP and MAC addressing
IP and MAC addressing
 
ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routing
 
IP & MAC Addressing
IP & MAC Addressing IP & MAC Addressing
IP & MAC Addressing
 
Ip address
Ip address Ip address
Ip address
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
IP Address
IP AddressIP Address
IP Address
 
IP Address
IP AddressIP Address
IP Address
 
Computer network coe351- part3-final
Computer network coe351- part3-finalComputer network coe351- part3-final
Computer network coe351- part3-final
 
Reserved ip addresses
Reserved ip addressesReserved ip addresses
Reserved ip addresses
 
Ch7 IP addressing.pptx
Ch7 IP addressing.pptxCh7 IP addressing.pptx
Ch7 IP addressing.pptx
 
Lesson 13University of the CumberlandsProfessor Dr. I.docx
Lesson 13University of the CumberlandsProfessor Dr. I.docxLesson 13University of the CumberlandsProfessor Dr. I.docx
Lesson 13University of the CumberlandsProfessor Dr. I.docx
 
IPv4 & IPv6 .pptx
IPv4 & IPv6 .pptxIPv4 & IPv6 .pptx
IPv4 & IPv6 .pptx
 
IP Addressing & subnetting strategy
IP Addressing & subnetting strategyIP Addressing & subnetting strategy
IP Addressing & subnetting strategy
 

Recently uploaded

Cyber Shield Up - They Shall Not Pass - Andreas Sfakianakis - Lecture at CSD ...
Cyber Shield Up - They Shall Not Pass - Andreas Sfakianakis - Lecture at CSD ...Cyber Shield Up - They Shall Not Pass - Andreas Sfakianakis - Lecture at CSD ...
Cyber Shield Up - They Shall Not Pass - Andreas Sfakianakis - Lecture at CSD ...Andreas Sfakianakis
 
Power of Social Media for E-commerce.pdf
Power of Social Media for E-commerce.pdfPower of Social Media for E-commerce.pdf
Power of Social Media for E-commerce.pdfrajats19920
 
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119APNIC
 
Summary IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary IGF 2013 Bali - English (tata kelola internet / internet governance)ICT Watch - Indonesia
 
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...
Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...ICT Watch - Indonesia
 
2024_hackersuli_mobil_ios_android ______
2024_hackersuli_mobil_ios_android ______2024_hackersuli_mobil_ios_android ______
2024_hackersuli_mobil_ios_android ______hackersuli
 
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...vmzoxnx5
 
HOTBET4D SCATTER HITAM MAXWIN OLYMPUS TERPERCAYA
HOTBET4D SCATTER HITAM MAXWIN OLYMPUS TERPERCAYAHOTBET4D SCATTER HITAM MAXWIN OLYMPUS TERPERCAYA
HOTBET4D SCATTER HITAM MAXWIN OLYMPUS TERPERCAYAHotbet4d Slot
 
Annex K RBF's World Game Signals & Telemetry pdf
Annex K RBF's World Game Signals & Telemetry pdfAnnex K RBF's World Game Signals & Telemetry pdf
Annex K RBF's World Game Signals & Telemetry pdfSteven McGee
 
The Reasons IV Cannulas Are Important in Modern Healthcare
The Reasons IV Cannulas Are Important in Modern HealthcareThe Reasons IV Cannulas Are Important in Modern Healthcare
The Reasons IV Cannulas Are Important in Modern HealthcareNanchang Kindly Meditech
 
Tari Eason Warriors Come Out To Play T Shirts
Tari Eason Warriors Come Out To Play T ShirtsTari Eason Warriors Come Out To Play T Shirts
Tari Eason Warriors Come Out To Play T Shirtsrahman018755
 

Recently uploaded (11)

Cyber Shield Up - They Shall Not Pass - Andreas Sfakianakis - Lecture at CSD ...
Cyber Shield Up - They Shall Not Pass - Andreas Sfakianakis - Lecture at CSD ...Cyber Shield Up - They Shall Not Pass - Andreas Sfakianakis - Lecture at CSD ...
Cyber Shield Up - They Shall Not Pass - Andreas Sfakianakis - Lecture at CSD ...
 
Power of Social Media for E-commerce.pdf
Power of Social Media for E-commerce.pdfPower of Social Media for E-commerce.pdf
Power of Social Media for E-commerce.pdf
 
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
Is DNS ready for IPv6, presented by Geoff Huston at IETF 119
 
Summary IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)Summary  IGF 2013 Bali - English (tata kelola internet / internet governance)
Summary IGF 2013 Bali - English (tata kelola internet / internet governance)
 
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...
Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...Summary  ID-IGF 2016 National Dialogue  - English (tata kelola internet / int...
Summary ID-IGF 2016 National Dialogue - English (tata kelola internet / int...
 
2024_hackersuli_mobil_ios_android ______
2024_hackersuli_mobil_ios_android ______2024_hackersuli_mobil_ios_android ______
2024_hackersuli_mobil_ios_android ______
 
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
办理澳洲USYD文凭证书学历认证【Q微/1954292140】办理悉尼大学毕业证书真实成绩单GPA修改/办理澳洲大学文凭证书Offer录取通知书/在读证明...
 
HOTBET4D SCATTER HITAM MAXWIN OLYMPUS TERPERCAYA
HOTBET4D SCATTER HITAM MAXWIN OLYMPUS TERPERCAYAHOTBET4D SCATTER HITAM MAXWIN OLYMPUS TERPERCAYA
HOTBET4D SCATTER HITAM MAXWIN OLYMPUS TERPERCAYA
 
Annex K RBF's World Game Signals & Telemetry pdf
Annex K RBF's World Game Signals & Telemetry pdfAnnex K RBF's World Game Signals & Telemetry pdf
Annex K RBF's World Game Signals & Telemetry pdf
 
The Reasons IV Cannulas Are Important in Modern Healthcare
The Reasons IV Cannulas Are Important in Modern HealthcareThe Reasons IV Cannulas Are Important in Modern Healthcare
The Reasons IV Cannulas Are Important in Modern Healthcare
 
Tari Eason Warriors Come Out To Play T Shirts
Tari Eason Warriors Come Out To Play T ShirtsTari Eason Warriors Come Out To Play T Shirts
Tari Eason Warriors Come Out To Play T Shirts
 

Ip address

  • 1. Nangarhar University Faculty of Computer Science Networking and Communication Dept- Spring 2014
  • 3. Internet Protocol • The IP component of TCP/IP determines where packets of data are to be routed based on their destination addresses. • and IP has certain characteristics related to how it handles this function. This topic describes some of the key functions of IP.
  • 4. Conti… • IP uses packets to carry information through the network. • A packet is a self-contained, independent entity that contains data and sufficient information to be routed from the source to the destination
  • 5.
  • 6. IP Characteristics • IP operates at Layer 3 of the OSI model (Network Layer), and Layer 3 of the TCP/IP stack (Internet layer). • IP is a connectionless protocol in which a one- way datagram is sent to the destination without advance notification to the destination device. The destination device receives the data and does not return any status information to the sending device.
  • 7. IP Characteristics • IP uses hierarchical addressing in which the network ID is like a street and the host ID is like a house or office building on that street. • IP provides service on a best-effort basis and does not guarantee packet delivery. A packet can be misdirected, duplicated, or lost on the way to its destination.
  • 8. IP Characteristics • IP does not provide any special features that recover corrupted packets. These services are instead provided by the end systems of the network.
  • 9. IP Addressing • To facilitate the routing of packets over a network the TCP/IP protocol suite uses a logical address known as an IP address
  • 10.
  • 11. Conti… • Just as physical street addresses are necessary to identify the location • logical IP addresses are used to identify the location of specific devices on an IP network so that data can reach those network locations efficiently • The IPv4 address is the most common type of address currently used on the Internet
  • 12. Conti… • An IP address is a hierarchical address and consists of these two parts: • The network address portion (network ID) describes the network of which this IP address is a part. The router maintains information about routes to each network. • The host address component (host ID) identifies a specific endpoint. These endpoints are the servers, computers, and other devices connected to the network.
  • 14. Conti… • In any given IP address, some portion of the 32-bit number represents the network and the remaining bits represent the host. While many computers may share the same network address, combining the network address with a host address uniquely identifies any device connected to the network.
  • 15. • For usability, these 32-bit numbers are broken up into 4 groups of numbers called octets (1 octet = 8 bits) • Each octet is then represented as a decimal number between 0 and 255 and separated by a period, or dot.
  • 16. Conti… • This scheme is known as “dotted decimal notation.” • The IP address shown above can be written as 172.16.128.17 and spoken as “172 dot 16 dot 128 dot 17.”
  • 17. IP Address Classes • To accommodate different sizes of networks and aid in classifying them, IP addresses are divided into categories called classes. This topic describes the IP address classes and the structure of the IP addresses within them.
  • 18.
  • 19. IP Address Classes • Assigning IP addresses to classes is known as class full addressing. The classes were determined during the early days of the Internet by the Internet Assigned Numbers Authority (IANA).
  • 20. IP Address Classes • Each IP address is broken down into a network ID and the host ID. In addition, a bit or bit sequence at the start of each address determines the class of the address.
  • 21. Class A • The Class A address uses only the first octet (8 bits) of the 32-bit number to indicate the network address. • The remaining three octets of the 32-bit number are used for host addresses. • The first bit of a Class A address is always “0.” Since the first bit is a 0, the lowest number that can be represented is 00000000 (decimal 0), and the highest number that can be represented is 01111111 (decimal 127)
  • 22. Class A • However, these two network numbers, 0 and 127, are reserved and cannot be used as network addresses. Any address that starts with a value between 1 and 126 in the first octet of the 32-bit number is a Class A address.
  • 23. Class B • The Class B address uses two of the four octets (16 bits) to indicate the network address • The remaining two octets specify host addresses. • The first 2 bits of the first octet of a Class B address are always binary 10
  • 24. Class B • Starting the first octet with binary 10 ensures that the Class B space is separated from the upper levels of the Class A space. The remaining 6 bits in the first octet may be populated with either 1s or 0s.
  • 25. Class B • Therefore, the lowest number that can be represented with a Class B address is 10000000 (decimal 128), and the highest number that can be represented is 10111111 (decimal 191). Any address that starts with a value in the range of 128 to 191 in the first octet is a Class B address.
  • 26. Class C • In a Class C address, the first three octets (24 bits) of the IP address identify the network portion, with the remaining octet reserved for the host portion • A Class C address begins with binary 110 Therefore, the lowest number that can be represented is 11000000 (decimal 192), and the highest number that can be represented is 11011111 (decimal 223)
  • 27. • If an address contains a number in the range of 192 to 223 in the first octet, it is a Class C address.
  • 28.