SlideShare a Scribd company logo
IP Addresses
• Structure of an IP address
• Subnetting
• CIDR
• IP Version 6 addresses
IP Addresses
Application dataTCP HeaderEthernet Header Ethernet Traile
Ethernet frame
IP Header
version
(4 bits)
header
length
Type of Service/TOS
(8 bits)
Total Length (in bytes)
(16 bits)
Identification (16 bits)
flags
(3 bits)
Fragment Offset (13 bits)
Source IP address (32 bits)
Destination IP address (32 bits)
TTL Time-to-Live
(8 bits)
Protocol
(8 bits)
Header Checksum (16 bits)
32 bits
IP Addresses
Application dataTCP HeaderEthernet Header Ethernet Trailer
Ethernet frame
IP Header
0x4 0x5 0x00 4410
9d08 0102 00000000000002
128.143.137.144
128.143.71.21
12810 0x06 8bff
32 bits
What is an IP Address?
• An IP address is a unique global address for a
network interface
• An IP address:
- is a 32 bit long identifier
- encodes a network number
(network prefix)
and a host number
Dotted Decimal Notation
• IP addresses are written in a so-called dotted
decimal notation
• Each byte is identified by a decimal number in
the range [0..255]:
• Example:
1000111110000000 10001001 10010000
1st Byte
= 128
2nd Byte
= 143
3rd Byte
= 137
4th Byte
= 144
128.143.137.144
• The network prefix identifies a network and the
host number identifies a specific host (actually,
interface on the network).
• How do we know how long the network prefix
is?
• The network prefix is implicitly defined (see class-
based addressing)
• The network prefix is indicated by a netmask.
Network prefix and Host
number
network prefix host number
• Example: ellington.cs.virginia.edu
• Network id is: 128.143.0.0
• Host number is: 137.144
• Network mask is: 255.255.0.0 or
ffff0000
• Prefix notation: 128.143.137.144/16
• Network prefix is 16 bits long
Example
128.143 137.144
Subnetting
Subnetting
• Problem:
Organizations have
multiple networks
which are
independently
managed
• Solution 1: Allocate one or
more addresses for each
network
• Difficult to manage
• From the outside of
the organization, each
network must be
addressable.
• Solution 2: Add another
level of hierarchy to the
IP addressing structure
University Network
Medical
School
Library
Engineering
School
Basic Idea of Subnetting
• Split the host number portion of an IP address into a
subnet number and a (smaller)
host number.
• Result is a 3-layer hierarchy
• Then:
• Subnets can be freely assigned within the organization
• Internally, subnets are treated as separate networks
• Subnet structure is not visible outside the organization
network prefix host number
subnet numbernetwork prefix host number
extended network prefix
• Each layer-2 network (Ethernet segment, FDDI
segment) is allocated a subnet address.
128.143.17.0 / 24
128.143.71.0 / 24
128.143.7.0 / 24
128.143.16.0 / 24
128.143.8.0 / 24
128.143.22.0 / 24
128.143.136.0 / 24
Typical Addressing Plan for an
Organization that uses subnetting
128.143.0.0/16
Advantages of Subnetting
• With subnetting, IP addresses use a 3-layer hierarchy:
• Network
• Subnet
• Host
• Improves efficiency of IP addresses by not consuming
an entire address space for each physical network.
• Reduces router complexity. Since external routers do
not know about subnetting, the complexity of routing
tables at external routers is reduced.
• Note: Length of the subnet mask need not be
identical at all subnetworks.

More Related Content

What's hot

IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
Pijush Kanti Das
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
IGZ Software house
 
IPand subnet
IPand subnetIPand subnet
IPand subnet
Nguyễn Thế Nghị
 
iP Address ,
 iP Address , iP Address ,
iP Address ,
Er Bhagat Sharma
 
Computer Networking: Subnetting and IP Addressing
Computer Networking: Subnetting and IP AddressingComputer Networking: Subnetting and IP Addressing
Computer Networking: Subnetting and IP Addressing
Bisrat Girma
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
SangeethaSasi1
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnetting
cbtvid
 
IPv4 Addressing Architecture
IPv4 Addressing ArchitectureIPv4 Addressing Architecture
IPv4 Addressing Architecture
Shreehari Dhat
 
Ip addressing upload
Ip addressing uploadIp addressing upload
Ip addressing upload
Debasis Dwibedy
 
IP Address
IP AddressIP Address
IP Address
Sameer Alam
 
Ip Addressing Basics
Ip Addressing BasicsIp Addressing Basics
Ip Addressing Basics
tmavroidis
 
Ip address concepts
Ip address conceptsIp address concepts
Ip address concepts
myrajendra
 
Ip addresses
Ip addressesIp addresses
Ip addresses
Asif
 
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
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
mikem801
 
Ip addressing3
Ip addressing3Ip addressing3
Ip addressing3
SYEDYAWARIMAMKAZMI
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
Saad Tanvir
 
I pv4 subneting
I pv4 subnetingI pv4 subneting
I pv4 subneting
tivang yem
 
Subnetting
SubnettingSubnetting
Subnetting
swascher
 
Lesson1: Introduction To Networking Concepts
Lesson1: Introduction To Networking ConceptsLesson1: Introduction To Networking Concepts
Lesson1: Introduction To Networking Concepts
Mahmmoud Mahdi
 

What's hot (20)

IP addressing and Subnetting PPT
IP addressing and Subnetting PPTIP addressing and Subnetting PPT
IP addressing and Subnetting PPT
 
Ip address and subnetting
Ip address and subnettingIp address and subnetting
Ip address and subnetting
 
IPand subnet
IPand subnetIPand subnet
IPand subnet
 
iP Address ,
 iP Address , iP Address ,
iP Address ,
 
Computer Networking: Subnetting and IP Addressing
Computer Networking: Subnetting and IP AddressingComputer Networking: Subnetting and IP Addressing
Computer Networking: Subnetting and IP Addressing
 
Cn ipv4 addressing
Cn ipv4 addressingCn ipv4 addressing
Cn ipv4 addressing
 
IP Addressing and Subnetting
IP Addressing and SubnettingIP Addressing and Subnetting
IP Addressing and Subnetting
 
IPv4 Addressing Architecture
IPv4 Addressing ArchitectureIPv4 Addressing Architecture
IPv4 Addressing Architecture
 
Ip addressing upload
Ip addressing uploadIp addressing upload
Ip addressing upload
 
IP Address
IP AddressIP Address
IP Address
 
Ip Addressing Basics
Ip Addressing BasicsIp Addressing Basics
Ip Addressing Basics
 
Ip address concepts
Ip address conceptsIp address concepts
Ip address concepts
 
Ip addresses
Ip addressesIp addresses
Ip addresses
 
CCNA IP Address Presentation(Part 1)
CCNA IP Address Presentation(Part 1)CCNA IP Address Presentation(Part 1)
CCNA IP Address Presentation(Part 1)
 
Subnetting Basics Tutorial
Subnetting Basics TutorialSubnetting Basics Tutorial
Subnetting Basics Tutorial
 
Ip addressing3
Ip addressing3Ip addressing3
Ip addressing3
 
NAT and Subnetting
NAT and Subnetting NAT and Subnetting
NAT and Subnetting
 
I pv4 subneting
I pv4 subnetingI pv4 subneting
I pv4 subneting
 
Subnetting
SubnettingSubnetting
Subnetting
 
Lesson1: Introduction To Networking Concepts
Lesson1: Introduction To Networking ConceptsLesson1: Introduction To Networking Concepts
Lesson1: Introduction To Networking Concepts
 

Similar to ITFT - IP adressing

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
DESTROYER39
 
Module3
Module3Module3
Module3
Naresh Gotad
 
Tcpip
TcpipTcpip
module03-ipaddr.ppt
module03-ipaddr.pptmodule03-ipaddr.ppt
module03-ipaddr.ppt
ImXaib
 
IP and CIDR ipv6 addressing.ppt
IP and CIDR ipv6 addressing.pptIP and CIDR ipv6 addressing.ppt
IP and CIDR ipv6 addressing.ppt
AkkiKumar26
 
10 coms 525 tcpip - internet protocol - ip
10   coms 525 tcpip -  internet protocol - ip10   coms 525 tcpip -  internet protocol - ip
10 coms 525 tcpip - internet protocol - ip
Palanivel Kuppusamy
 
this is a presentationon ip and cidr.ppt
this is a presentationon ip and cidr.pptthis is a presentationon ip and cidr.ppt
this is a presentationon ip and cidr.ppt
BlackHat41
 
network-addressing.pptx
network-addressing.pptxnetwork-addressing.pptx
network-addressing.pptx
FidaBaloch8
 
IP Address
IP AddressIP Address
IP Address
Rahul P
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
aakritii765
 
Network.pptx
Network.pptxNetwork.pptx
Network.pptx
SAMANTHACARDOSO13
 
IP Address
IP AddressIP Address
Internet protocols
Internet protocolsInternet protocols
Internet protocols
Rohit Saini
 
Ray ipv4 addresses
Ray   ipv4 addressesRay   ipv4 addresses
Ray ipv4 addresses
Raynolds Mangena
 
IPV6
IPV6IPV6
Internetworking
InternetworkingInternetworking
Internetworking
Mahendhirakumar C
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
Rishav Bhurtel
 
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
chsadsadasdasdasdasdsadsadsadsadsadasda10.pptchsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
ssuserde23af
 
Web technology unit I - Part B
Web technology unit I - Part BWeb technology unit I - Part B
Web technology unit I - Part B
SSN College of Engineering, Kalavakkam
 
Ip address
Ip address Ip address
Ip address
Yash Bansal
 

Similar to ITFT - IP adressing (20)

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
 
Module3
Module3Module3
Module3
 
Tcpip
TcpipTcpip
Tcpip
 
module03-ipaddr.ppt
module03-ipaddr.pptmodule03-ipaddr.ppt
module03-ipaddr.ppt
 
IP and CIDR ipv6 addressing.ppt
IP and CIDR ipv6 addressing.pptIP and CIDR ipv6 addressing.ppt
IP and CIDR ipv6 addressing.ppt
 
10 coms 525 tcpip - internet protocol - ip
10   coms 525 tcpip -  internet protocol - ip10   coms 525 tcpip -  internet protocol - ip
10 coms 525 tcpip - internet protocol - ip
 
this is a presentationon ip and cidr.ppt
this is a presentationon ip and cidr.pptthis is a presentationon ip and cidr.ppt
this is a presentationon ip and cidr.ppt
 
network-addressing.pptx
network-addressing.pptxnetwork-addressing.pptx
network-addressing.pptx
 
IP Address
IP AddressIP Address
IP Address
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
Network.pptx
Network.pptxNetwork.pptx
Network.pptx
 
IP Address
IP AddressIP Address
IP Address
 
Internet protocols
Internet protocolsInternet protocols
Internet protocols
 
Ray ipv4 addresses
Ray   ipv4 addressesRay   ipv4 addresses
Ray ipv4 addresses
 
IPV6
IPV6IPV6
IPV6
 
Internetworking
InternetworkingInternetworking
Internetworking
 
Ipv4 and Ipv6
Ipv4 and Ipv6Ipv4 and Ipv6
Ipv4 and Ipv6
 
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
chsadsadasdasdasdasdsadsadsadsadsadasda10.pptchsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
chsadsadasdasdasdasdsadsadsadsadsadasda10.ppt
 
Web technology unit I - Part B
Web technology unit I - Part BWeb technology unit I - Part B
Web technology unit I - Part B
 
Ip address
Ip address Ip address
Ip address
 

More from Navneet Kaur

ITFT _ Operating system
ITFT _ Operating systemITFT _ Operating system
ITFT _ Operating system
Navneet Kaur
 
ITFT - ISDN
ITFT - ISDNITFT - ISDN
ITFT - ISDN
Navneet Kaur
 
ITFT - System development life cycle models
ITFT - System development life cycle modelsITFT - System development life cycle models
ITFT - System development life cycle models
Navneet Kaur
 
ITFT - Networking protocols
ITFT - Networking protocolsITFT - Networking protocols
ITFT - Networking protocols
Navneet Kaur
 
ITFT - Modes of information
ITFT - Modes of informationITFT - Modes of information
ITFT - Modes of information
Navneet Kaur
 
ITFT - Hardware & software concept
ITFT - Hardware & software conceptITFT - Hardware & software concept
ITFT - Hardware & software concept
Navneet Kaur
 
ITFT - Basic multimedia
ITFT - Basic multimediaITFT - Basic multimedia
ITFT - Basic multimedia
Navneet Kaur
 
ITFT- Basic internet concept
ITFT- Basic internet conceptITFT- Basic internet concept
ITFT- Basic internet concept
Navneet Kaur
 
Basic computer fundamentals_itft college chandigarh,india
Basic computer fundamentals_itft college chandigarh,indiaBasic computer fundamentals_itft college chandigarh,india
Basic computer fundamentals_itft college chandigarh,india
Navneet Kaur
 

More from Navneet Kaur (9)

ITFT _ Operating system
ITFT _ Operating systemITFT _ Operating system
ITFT _ Operating system
 
ITFT - ISDN
ITFT - ISDNITFT - ISDN
ITFT - ISDN
 
ITFT - System development life cycle models
ITFT - System development life cycle modelsITFT - System development life cycle models
ITFT - System development life cycle models
 
ITFT - Networking protocols
ITFT - Networking protocolsITFT - Networking protocols
ITFT - Networking protocols
 
ITFT - Modes of information
ITFT - Modes of informationITFT - Modes of information
ITFT - Modes of information
 
ITFT - Hardware & software concept
ITFT - Hardware & software conceptITFT - Hardware & software concept
ITFT - Hardware & software concept
 
ITFT - Basic multimedia
ITFT - Basic multimediaITFT - Basic multimedia
ITFT - Basic multimedia
 
ITFT- Basic internet concept
ITFT- Basic internet conceptITFT- Basic internet concept
ITFT- Basic internet concept
 
Basic computer fundamentals_itft college chandigarh,india
Basic computer fundamentals_itft college chandigarh,indiaBasic computer fundamentals_itft college chandigarh,india
Basic computer fundamentals_itft college chandigarh,india
 

Recently uploaded

ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 

Recently uploaded (20)

ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 

ITFT - IP adressing

  • 1. IP Addresses • Structure of an IP address • Subnetting • CIDR • IP Version 6 addresses
  • 2. IP Addresses Application dataTCP HeaderEthernet Header Ethernet Traile Ethernet frame IP Header version (4 bits) header length Type of Service/TOS (8 bits) Total Length (in bytes) (16 bits) Identification (16 bits) flags (3 bits) Fragment Offset (13 bits) Source IP address (32 bits) Destination IP address (32 bits) TTL Time-to-Live (8 bits) Protocol (8 bits) Header Checksum (16 bits) 32 bits
  • 3. IP Addresses Application dataTCP HeaderEthernet Header Ethernet Trailer Ethernet frame IP Header 0x4 0x5 0x00 4410 9d08 0102 00000000000002 128.143.137.144 128.143.71.21 12810 0x06 8bff 32 bits
  • 4. What is an IP Address? • An IP address is a unique global address for a network interface • An IP address: - is a 32 bit long identifier - encodes a network number (network prefix) and a host number
  • 5. Dotted Decimal Notation • IP addresses are written in a so-called dotted decimal notation • Each byte is identified by a decimal number in the range [0..255]: • Example: 1000111110000000 10001001 10010000 1st Byte = 128 2nd Byte = 143 3rd Byte = 137 4th Byte = 144 128.143.137.144
  • 6. • The network prefix identifies a network and the host number identifies a specific host (actually, interface on the network). • How do we know how long the network prefix is? • The network prefix is implicitly defined (see class- based addressing) • The network prefix is indicated by a netmask. Network prefix and Host number network prefix host number
  • 7. • Example: ellington.cs.virginia.edu • Network id is: 128.143.0.0 • Host number is: 137.144 • Network mask is: 255.255.0.0 or ffff0000 • Prefix notation: 128.143.137.144/16 • Network prefix is 16 bits long Example 128.143 137.144
  • 8. Subnetting Subnetting • Problem: Organizations have multiple networks which are independently managed • Solution 1: Allocate one or more addresses for each network • Difficult to manage • From the outside of the organization, each network must be addressable. • Solution 2: Add another level of hierarchy to the IP addressing structure University Network Medical School Library Engineering School
  • 9. Basic Idea of Subnetting • Split the host number portion of an IP address into a subnet number and a (smaller) host number. • Result is a 3-layer hierarchy • Then: • Subnets can be freely assigned within the organization • Internally, subnets are treated as separate networks • Subnet structure is not visible outside the organization network prefix host number subnet numbernetwork prefix host number extended network prefix
  • 10. • Each layer-2 network (Ethernet segment, FDDI segment) is allocated a subnet address. 128.143.17.0 / 24 128.143.71.0 / 24 128.143.7.0 / 24 128.143.16.0 / 24 128.143.8.0 / 24 128.143.22.0 / 24 128.143.136.0 / 24 Typical Addressing Plan for an Organization that uses subnetting 128.143.0.0/16
  • 11. Advantages of Subnetting • With subnetting, IP addresses use a 3-layer hierarchy: • Network • Subnet • Host • Improves efficiency of IP addresses by not consuming an entire address space for each physical network. • Reduces router complexity. Since external routers do not know about subnetting, the complexity of routing tables at external routers is reduced. • Note: Length of the subnet mask need not be identical at all subnetworks.