SlideShare a Scribd company logo
1 of 33
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.
Local Loopback Address
• A local loopback address is used to let the
system send a message to itself for testing. A
typical local loopback IP address is 127.0.0.1.
Auto configuration IP Addresses
• When neither a statically nor a dynamically
configured IP address is found on startup
• those hosts supporting IPv4 link-local
addresses will generate an address in the
169.254/16 prefix range.
• You will mostly see this address as a failure
condition when a PC fails to obtain an address
via DHCP.
Reference
• http://www.tutorialspoint.com/ipv4/ipv4_add
ress_classes.htm
Online you can find this slide in
• http://www.slideshare.net/nasratsellab/ip-
address-33260595

More Related Content

What's hot

Types of ip address classes
Types of ip address classesTypes of ip address classes
Types of ip address classesgreatbury
 
CCNA IP Address Presentation(Part 1)
CCNA IP Address Presentation(Part 1)CCNA IP Address Presentation(Part 1)
CCNA IP Address Presentation(Part 1)Anis Mizi
 
Ip addresses
Ip addressesIp addresses
Ip addressesAsif
 
Computer Networking: Internet Protcol (IP) and IP Addressing
Computer Networking: Internet Protcol (IP) and IP AddressingComputer Networking: Internet Protcol (IP) and IP Addressing
Computer Networking: Internet Protcol (IP) and IP AddressingBisrat Girma
 
Addressing in networking (IP,MAC,Port addressing)
Addressing in networking (IP,MAC,Port addressing)Addressing in networking (IP,MAC,Port addressing)
Addressing in networking (IP,MAC,Port addressing)Geethu Jose
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP AddressingKushal Sheth
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6Adeel Rasheed
 
ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routingVikas Jagtap
 
Internet protocol (ip)
Internet protocol (ip)Internet protocol (ip)
Internet protocol (ip)junnubabu
 
IP Address
IP AddressIP Address
IP AddressRahul P
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnettingShashank Asthana
 
Ravi namboori | Internet Protocol Address
Ravi namboori | Internet Protocol AddressRavi namboori | Internet Protocol Address
Ravi namboori | Internet Protocol Addressravi varmanamboori
 
I pv4 address classes
I pv4 address classesI pv4 address classes
I pv4 address classesmail2rajeev10
 

What's hot (20)

Types of ip address classes
Types of ip address classesTypes of ip address classes
Types of ip address classes
 
CCNA IP Address Presentation(Part 1)
CCNA IP Address Presentation(Part 1)CCNA IP Address Presentation(Part 1)
CCNA IP Address Presentation(Part 1)
 
IP and MAC addressing
IP and MAC addressingIP and MAC addressing
IP and MAC addressing
 
Ip address
Ip addressIp address
Ip address
 
Ip addresses
Ip addressesIp addresses
Ip addresses
 
Internet Protocol
Internet ProtocolInternet Protocol
Internet Protocol
 
Computer Networking: Internet Protcol (IP) and IP Addressing
Computer Networking: Internet Protcol (IP) and IP AddressingComputer Networking: Internet Protcol (IP) and IP Addressing
Computer Networking: Internet Protcol (IP) and IP Addressing
 
Ipv6
Ipv6Ipv6
Ipv6
 
Addressing in networking (IP,MAC,Port addressing)
Addressing in networking (IP,MAC,Port addressing)Addressing in networking (IP,MAC,Port addressing)
Addressing in networking (IP,MAC,Port addressing)
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
Ip address
Ip addressIp address
Ip address
 
IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6IP Address - IPv4 & IPv6
IP Address - IPv4 & IPv6
 
Day 2.2 ip addressing
Day 2.2 ip addressingDay 2.2 ip addressing
Day 2.2 ip addressing
 
Ip address
Ip address Ip address
Ip address
 
ip addressing & routing
 ip addressing & routing ip addressing & routing
ip addressing & routing
 
Internet protocol (ip)
Internet protocol (ip)Internet protocol (ip)
Internet protocol (ip)
 
IP Address
IP AddressIP Address
IP Address
 
IPv4 addressing and subnetting
IPv4 addressing and subnettingIPv4 addressing and subnetting
IPv4 addressing and subnetting
 
Ravi namboori | Internet Protocol Address
Ravi namboori | Internet Protocol AddressRavi namboori | Internet Protocol Address
Ravi namboori | Internet Protocol Address
 
I pv4 address classes
I pv4 address classesI pv4 address classes
I pv4 address classes
 

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
 
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
 
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)
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
IP & MAC Addressing
IP & MAC Addressing IP & MAC Addressing
IP & MAC Addressing
 
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
 
Computer network coe351- part3-final
Computer network coe351- part3-finalComputer network coe351- part3-final
Computer network coe351- part3-final
 
Ip address
Ip address Ip address
Ip address
 
Lecture 3 network layer
Lecture 3 network layerLecture 3 network layer
Lecture 3 network layer
 
Ipv4 presentation
Ipv4 presentationIpv4 presentation
Ipv4 presentation
 
IP Address
IP AddressIP Address
IP Address
 
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.pptIDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
 
Network layer logical addressing
Network layer logical addressingNetwork layer logical addressing
Network layer logical addressing
 
Ip address and subnet masking final
Ip address and subnet masking finalIp address and subnet masking final
Ip address and subnet masking final
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
IPV4 addresses
IPV4 addressesIPV4 addresses
IPV4 addresses
 
Лекц 7
Лекц 7Лекц 7
Лекц 7
 
ipv4
ipv4ipv4
ipv4
 

Recently uploaded

Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Roomdivyansh0kumar0
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一Fs
 
Denver Web Design brochure for public viewing
Denver Web Design brochure for public viewingDenver Web Design brochure for public viewing
Denver Web Design brochure for public viewingbigorange77
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Deliverybabeytanya
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 

Recently uploaded (20)

Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls Service Dwarka @9999965857 Delhi 🫦 No Advance VVIP 🍎 SERVICE
Call Girls Service Dwarka @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SERVICECall Girls Service Dwarka @9999965857 Delhi 🫦 No Advance  VVIP 🍎 SERVICE
Call Girls Service Dwarka @9999965857 Delhi 🫦 No Advance VVIP 🍎 SERVICE
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
 
Denver Web Design brochure for public viewing
Denver Web Design brochure for public viewingDenver Web Design brochure for public viewing
Denver Web Design brochure for public viewing
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 

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. Local Loopback Address • A local loopback address is used to let the system send a message to itself for testing. A typical local loopback IP address is 127.0.0.1.
  • 29. Auto configuration IP Addresses • When neither a statically nor a dynamically configured IP address is found on startup • those hosts supporting IPv4 link-local addresses will generate an address in the 169.254/16 prefix range. • You will mostly see this address as a failure condition when a PC fails to obtain an address via DHCP.
  • 30.
  • 31.
  • 33. Online you can find this slide in • http://www.slideshare.net/nasratsellab/ip- address-33260595