SlideShare a Scribd company logo
1 of 50
IPv4 is the fourth revision of the Internet Protocol
and a widely used protocol in data
communication over different kinds of networks.
 IPv4 is a connectionless protocol used in
packet-switched layer networks, such as
Ethernet.
 It provides the logical connection between
network devices by providing identification for
each device.
 There are many ways to configure IPv4 with all
kinds of devices – including manual and
 It is used in the packet-switched link layer in the
OSI model.
 IPv4 uses 32-bit addresses for Ethernet
communication in five classes: A, B, C, D and E.
 Classes A, B and C have a different bit length for
addressing the network host.
 Class D addresses are reserved for multicasting,
while class E addresses are reserved for future use.
IPv6 presents a standardized solution to overcome
IPv4's limitations. Because of its 128-bit address
length, it can define up to 2,128 addresses.
 Packets in the IPv4 layer are called Datagram.
 Datagram consisting of two parts: Header and Data.
 The header is 20 to 60 bytes in length and
contains information essential to routing.
 Version(VER): This 4-bit field defines the
version of the IPv4 protocol.
 Header Length(HLEN):this 4-bit field defines
the total length of the datagram header in 4-
bytes words. This field is needed because the
length of the header is variable (between 20 to
60 bytes).
 Type of Services: The type of service (TOS)
bits were included in the IPv4 header to allow
different types of IP datagrams to be
distinguished from each other.
Datagram Length : This is the total length of the IP
datagram (header plus data), measured in bytes.
Since this filed is 16 bits long, the theoretical
maximum size of the IP datagram is 65,535 bytes.
However, datagrams are rarely larger than 1,500
bytes.
 Identifier, Flags, Fragmentation Offset: These
three fields have to do with so-called IP
fragmentation, a topic we will consider in depth
shortly. Interestingly, the new version of IP, IPv6,
does not allow fragmentation at routers.
Time-to-live: The time-to-live (TTL) field is included
to ensure that datagrams do not circulate forever in
the network. This field is decremented by one each
time the datagram is processed by a router. If the
TTL field reaches 0, the datagram must be dropped.
 Protocol: This field is used only when an IP
datagram reaches its final destination.
 Header Checksum: The header checksum aids a
router in detecting bit errors in a received IP
datagram.
 Options: The options fields allow an IP header to be
extended.
A subnet mask is a number that defines a
range of IP addresses that can be used in
a network.
Rules:
 Convert the Networks into 1’s.
 Convert the Hosts into 0’s.
 Now Add all the binaries.
IP Address = 10.0.0.1/8
SUBNET MASK:
11111111.00000000.00000000.00000000
128+64+32+16+8+4+2+1 =255
So, The Subnet Mask is
255.0.0.0
IP Address = 172.168.0.1/16
SUBNET MASK:
11111111.11111111.00000000.00000000
128+64+32+16+8+4+2+1 =255
So, The Subnet Mask is
255.255.0.0
IP Address = 192.168.1.0/24
SUBNET MASK:
11111111.11111111.11111111.00000000
128+64+32+16+8+4+2+1 =255
So, The Subnet Mask is
255.255.255.0
IP Address = 123.78.45.3/21
SUBNET MASK:
11111111.11111111.11111000.00000000
128+64+32+16+8+0+0+0=248
So, The Subnet Mask is
255.255.248.0
 Network identity (network ID) is a
portion of the TCP/IP address that is
used to identify individuals or devices
on a network such as a local area
network or the Internet.
RULES:
 All the Networks are same as
in IP address.
 All the Hosts are converted
into 0’s.
 A broadcast address is a special
Internet Protocol (IP) address used
to transmit messages and data
packets to network systems.
RULES:
 All the Networks are same as in IP
address.
 All the Hosts are converted into 1’s.
RULES:
 All the IP’s that lie between the
Network ID and Broadcast ID are
Assignable IP’s.
IP ADDRESS= 12.123.8.0/16
 NETWORK ID:
12.123.0.0/16
 BROADCAST ID:
12.123.255.255/16
 ASSIGNABLE IP:
FROM 12.123.0.1/16
TO 12.123.255.254 /16
Subnetting is the strategy used to partition
a single physical network(smaller
broadcast domain)into more than one
smaller logical sub-networks
(subnets)(firewalls).
 Subnetting allows an organization to add
sub-networks without the need to acquire a
new network.
 Subnetting helps to reduce the network
traffic and conceals network complexity.
Subnetting is essential when a single
network number has to be allocated over
numerous segments of a local area
network (LAN).
 Subnets were initially designed for solving
the shortage of IP addresses over the
Internet.
CIDR Stands for Classless inter-
domain routing.
CIDR is a set of Internet protocol (IP)
standards that is used to create
unique identifiers for networks and
individual devices.
10.0.0.2/19 CIDR
CLASS RANGE
A 9 To 30
B 17 To 30
C 25 To 30
IP Address=10.0.0.0/20
(Borrow Networks According to class A=12)
 SUBNET MASK:
255.255.240.0
 No. OF Network ID’s:
=2n (n=no of borrow networks)
=212
=4096
 No. of Assignable IP’s(useable IP’s):
=2h-2 (h=no. of hosts)
=212-2
=4096-2
=4094
 Broadcast ID:
One Less than the Network ID.
 Block Size:
256-240=16
NETWORK ID USEABLE ID BROADCASTE ID
10..0.0.0 10.0.0.1 ……10.0.15.254 10.0.15.255
10.0.16.0 10.0.16.1..…..10.0.31.25
4
10.0.31.255
10.0.32.0 10.0.32.1…….10.0.47.25
4
10.0.47.255
10.0.48.0 10.0.48.1…….10.0.63.25
4
10.0.63.255
.
.
.
.
.
.
.
.
.
10.0.240.0 10.0.240.1…10.0.255.25
4
10.0.255.255
10.1.0.0 10.1.0.1……..10.1.15.25
4
10.1.15.255
NETWORK ID USEABLE ID BROADCASTE ID
10.1.32.0 10.1.32.1…10.1.47.254 10.1.47.255
10.1.48.0 10.0.16.1..…..10.0.31.254 10.1.63.255
.
.
.
.
.
.
10.1.240.0 10.1.240.1…10.0.255.254 10.1.255.255
10.2.0.0 10.2.0.1……...10.2.15.254 10.2.15.255
10.2.16.0 10.2.16.1……..10.2.32.25
4
10.2.31.255
.
.
.
.
.
.
.
.
.
IP Address=172.168.0.0/19
(Borrow Networks According to class B=3)
 SUBNET MASK:
255.255.224.0
 No. OF Network ID’s:
=2n (n=no of borrow
networks)
=23
=8
 No. of Assignable IP’s(useable
IP’s):
=2h-2 (h=no. of hosts)
=213-2
=8192-2
=8190
 Broadcast ID:
One Less than the Network
ID.
 Block Size:
256-224=32
NETWORK ID USEABLE IP’s BROADCAST ID
172.168.0.0 172.168.0.1.................
172.168.31.254
172.168.31.255
172.168.32.0 172.168.32.1.................
172.168.63.254
172.168.63.255
172.168.64.0 172.168.64.1.................
172.168.95.254
172.168.95.255
172.168.96.0 172.168.96.1.................
172.168.127.254
172.168.127.255
172.168.128.0 172.168.128.1................
.
172.168.159.254
172.168.159.255
172.168.160.0 172.168.160.1................
172.168.191.254
172.168.191.255
172.168.192.0 172.168.92.1.................
172.168.223.254
172.168.223.255
172.168.224.0 172.168.224.1................
.
172.168.255.254
172.168.255.255
IP Address=192.168.1.0/26
(Borrow Networks According to class B=2)
 SUBNET MASK:
255.255.255.192
 No. OF Network ID’s:
=2n (n=no of borrow
networks)
=22
=4
 No. of Assignable IP’s(useable IP’s):
=2h-2 (h=no. of hosts)
=26-2
=64-2
=62
 Broadcast ID:
One Less than the Network ID.
 Block Size:
256-192=64
NETWORK ID USEABLE IP’s BROADCAST ID
192.168.1.0 192.168.1.1.................
172.168.1.62
192.168.1.63
192.168.1.64 192.168.1.65.................
172.168.1.126
192.168.1.127
192.168.1.128 192.168.1.129................
.
172.168.1.190
192.168.1.191
192.168.1.192 192.168.1.193................
.
172.168.1.254
192.168.1.255
 IPv4 is the currrent TCP/IP addressing
technique used on the internet. The address
space for IPv4 is quickly running out due to the
rapid growth of internet.
 IPv6 is the proposed solution for expanding the
possible number of users on the internet.
 it is also called IPng or next generation IP.
 It is the latest version of IPV4.
 IPv6 is not backward compatible with IPV4.
However ,It is considered that IPV6 is upgraded
version of IPv4.
The basics of IPv6 is similar to IPv4.
Devices can use IPv6 as source and destination
addresses to pass packets over the network.
 Tool like Ping for network testing, as they do in
IPV4,used in IPv6 with same slight variations.
 IPv4 is designed in early 80’s.
 So far IPv4 has proven itself as robust routable
addressing protocol.
It served human being for decades.
At the time of its birth,Internet was limited only to few
universities for their research and to department of
defense(DOD-US).
 IPv4 is 32 bits long which offers around
4,292,967,296(232) addresses (considered more
than enough that time).
BUT:
 Internet commercialized in 90’s.
 Become popular in developing countries
Shortage of IP address.
Growth of internet can be stopped due to shortage of IP
address. So , experties started to find out the solution of
this problem.
.
net add translation port add translation
Temporary Permanent
 IPv4
 Classless IP address
 Subnetting & VLSM
 NAT/PAT
 IPv6
Version 5 was used while experimenting
with stream protocol for Internet.
 Used internet protocol number 5 to
encapsulate its datagram.
 Though it was never available for public
but it was already used.
Made of !28 bits.
Divided into eight 16 bits blocks.
0010000000000001 0000000000000000
0011001000110100 1101111111100001
0000000001100011 0000000000000000
0000000000000000 1111111011111011
Each Block is then converted in 4 digit
Hexadecimal number separated by (:) symbol..

2001:0000:3238:DFE1:0063:0000:0000:FEFB
 2001:0:3238:DFE1:63:FEFB
The address space of IPv6 has 2128 or approx.
3.4 x 10 28 addresses.
(340 trillion trillion trillion addresses)
Binary Hexadecimal
0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
Binary Hexadecimal
1010 10 A
1011 11 B
1100 12 C
1101 13 D
1110 14 E
1111 15 F
 0010000000000001: 0000000000000000:
0011001000110100: 1101111111100001:
0000000001100011: 0000000000000000:
0000000000000000: 1111111011111011
 0010 0000 0000 0001: 0000 0000 0000 0000:
0011 0010 0011 0100: 1101 1111 1110 0001:
0000 0000 0110 0011: 0000 0000 0000 0000:
0000 0000 0000 0000: 1111 1110 1111 1011
2001:0000:3234:DFE1:0063:0000:0000:FEFB
2001:0:3234:DFE1:63:FEFB
 Uni –cast(one-to-one):
It defines single interface or computer.The
packet
sent to single recepient or host by using IPv6.
 Multi-cast:
These define a group of computers or hosts.In this
each
system of group receives packet.
 Any-cast:
Define group of nodes or computer that all share
a
single address. Packet with any-cast address is
delieverd to
any one member of the group which is the most neariest
one.
Version: IPv6
Traffic Class: Distinguish different payload.
Flow Label: Provide special handling for particular data
flow.
 Payload Length: Length of IP datagram excluding
base
header.
 Next header: Which header is followed by base
header
code number.
2 ICMP
6 TCP
17 UDP
 Hop Limit: Maximum hop through data travel to
destination.
Ipv4 & ipv6
Ipv4 & ipv6

More Related Content

What's hot

What's hot (20)

Internet protocol (ip)
Internet protocol (ip)Internet protocol (ip)
Internet protocol (ip)
 
Ipv4 vs Ipv6 comparison
Ipv4 vs Ipv6 comparisonIpv4 vs Ipv6 comparison
Ipv4 vs Ipv6 comparison
 
A very good introduction to IPv6
A very good introduction to IPv6A very good introduction to IPv6
A very good introduction to IPv6
 
Network Address Translation (NAT)
Network Address Translation (NAT)Network Address Translation (NAT)
Network Address Translation (NAT)
 
Subnet Mask
Subnet MaskSubnet Mask
Subnet Mask
 
IPV6 ADDRESS
IPV6 ADDRESSIPV6 ADDRESS
IPV6 ADDRESS
 
IP Address
IP AddressIP Address
IP Address
 
Internet protocol v6
Internet protocol v6Internet protocol v6
Internet protocol v6
 
IPv4 and IPv6
IPv4 and IPv6IPv4 and IPv6
IPv4 and IPv6
 
Ip address
Ip address Ip address
Ip address
 
CCNA IP Addressing
CCNA IP AddressingCCNA IP Addressing
CCNA IP Addressing
 
Basics of IP Addressing
Basics of IP AddressingBasics of IP Addressing
Basics of IP Addressing
 
Internet Protocol version 6
Internet Protocol version 6Internet Protocol version 6
Internet Protocol version 6
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
CCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPTCCNA SUMMER TRAINNING PPT
CCNA SUMMER TRAINNING PPT
 
IPv4
IPv4IPv4
IPv4
 
Network address translation
Network address translationNetwork address translation
Network address translation
 
Ip Addressing
Ip AddressingIp Addressing
Ip Addressing
 
IPv6
IPv6IPv6
IPv6
 
Ip address presentation
Ip address presentationIp address presentation
Ip address presentation
 

Similar to Ipv4 & ipv6

IPv6 - The Next next generation protocol
IPv6 - The Next next generation protocolIPv6 - The Next next generation protocol
IPv6 - The Next next generation protocolMohit Sharma
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IPHameda Hurmat
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)Jeff Green
 
Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addressesAmandeep Kaur
 
ANALYSIS OF IPV6 TRANSITION TECHNOLOGIES
ANALYSIS OF IPV6 TRANSITION TECHNOLOGIESANALYSIS OF IPV6 TRANSITION TECHNOLOGIES
ANALYSIS OF IPV6 TRANSITION TECHNOLOGIESIJCNCJournal
 
Internet protocols
Internet protocolsInternet protocols
Internet protocolsRohit Saini
 
As robust as the IP protocol is, it does not perform the actual .docx
As robust as the IP protocol is, it does not perform the actual .docxAs robust as the IP protocol is, it does not perform the actual .docx
As robust as the IP protocol is, it does not perform the actual .docxcargillfilberto
 
Ip, subnet, gateway and routers
Ip, subnet, gateway and routersIp, subnet, gateway and routers
Ip, subnet, gateway and routersAdrian Suarez
 
07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.pptssuserf7cd2b
 
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)Vanitha Joshi
 
Exploration network chapter_5_modified
Exploration network chapter_5_modifiedExploration network chapter_5_modified
Exploration network chapter_5_modifiedrajesh531
 

Similar to Ipv4 & ipv6 (20)

IPv6 - The Next next generation protocol
IPv6 - The Next next generation protocolIPv6 - The Next next generation protocol
IPv6 - The Next next generation protocol
 
I.p. protocol
I.p. protocolI.p. protocol
I.p. protocol
 
Hardware9
Hardware9Hardware9
Hardware9
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IP
 
IP Address
IP AddressIP Address
IP Address
 
16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)16.) layer 3 (basic tcp ip routing)
16.) layer 3 (basic tcp ip routing)
 
Internet protocol
Internet protocolInternet protocol
Internet protocol
 
Ip seminar
Ip seminarIp seminar
Ip seminar
 
Report on ip addresses
Report on ip addressesReport on ip addresses
Report on ip addresses
 
ANALYSIS OF IPV6 TRANSITION TECHNOLOGIES
ANALYSIS OF IPV6 TRANSITION TECHNOLOGIESANALYSIS OF IPV6 TRANSITION TECHNOLOGIES
ANALYSIS OF IPV6 TRANSITION TECHNOLOGIES
 
Internet protocols
Internet protocolsInternet protocols
Internet protocols
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
IPv4 Addressing
 IPv4 Addressing   IPv4 Addressing
IPv4 Addressing
 
IPV6
IPV6IPV6
IPV6
 
As robust as the IP protocol is, it does not perform the actual .docx
As robust as the IP protocol is, it does not perform the actual .docxAs robust as the IP protocol is, it does not perform the actual .docx
As robust as the IP protocol is, it does not perform the actual .docx
 
Ip, subnet, gateway and routers
Ip, subnet, gateway and routersIp, subnet, gateway and routers
Ip, subnet, gateway and routers
 
07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt07 - TCP_IP and the DoD Model.ppt
07 - TCP_IP and the DoD Model.ppt
 
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)
Implementation of IPSec VPN on Cisco routers and Configuring it on ISP. (1)
 
Exploration network chapter_5_modified
Exploration network chapter_5_modifiedExploration network chapter_5_modified
Exploration network chapter_5_modified
 

Recently uploaded

Call Girl Service in Karachi +923081633338 Karachi Call Girls
Call Girl Service in Karachi +923081633338 Karachi Call GirlsCall Girl Service in Karachi +923081633338 Karachi Call Girls
Call Girl Service in Karachi +923081633338 Karachi Call GirlsAyesha Khan
 
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Moti Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | DelhiMalviyaNagarCallGirl
 
Khanpur Call Girls : ☎ 8527673949, Low rate Call Girls
Khanpur Call Girls : ☎ 8527673949, Low rate Call GirlsKhanpur Call Girls : ☎ 8527673949, Low rate Call Girls
Khanpur Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
Call Girl in Bur Dubai O5286O4116 Indian Call Girls in Bur Dubai By VIP Bur D...
Call Girl in Bur Dubai O5286O4116 Indian Call Girls in Bur Dubai By VIP Bur D...Call Girl in Bur Dubai O5286O4116 Indian Call Girls in Bur Dubai By VIP Bur D...
Call Girl in Bur Dubai O5286O4116 Indian Call Girls in Bur Dubai By VIP Bur D...dajasot375
 
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call GirlsJagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?kexey39068
 
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Service
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts ServiceRussian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Service
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Servicedoor45step
 
FULL ENJOY - 9953040155 Call Girls in Karol Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Karol Bagh | DelhiFULL ENJOY - 9953040155 Call Girls in Karol Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Karol Bagh | DelhiMalviyaNagarCallGirl
 
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 60009654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000Sapana Sha
 
MinSheng Gaofeng Estate commercial storyboard
MinSheng Gaofeng Estate commercial storyboardMinSheng Gaofeng Estate commercial storyboard
MinSheng Gaofeng Estate commercial storyboardjessica288382
 
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | DelhiFULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | DelhiFULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | DelhiMalviyaNagarCallGirl
 
Burari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call GirlsBurari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | DelhiMalviyaNagarCallGirl
 
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girls
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call GirlsPragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girls
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
8377087607, Door Step Call Girls In Gaur City (NOIDA) 24/7 Available
8377087607, Door Step Call Girls In Gaur City (NOIDA) 24/7 Available8377087607, Door Step Call Girls In Gaur City (NOIDA) 24/7 Available
8377087607, Door Step Call Girls In Gaur City (NOIDA) 24/7 Availabledollysharma2066
 
FULL ENJOY - 9953040155 Call Girls in Noida | Delhi
FULL ENJOY - 9953040155 Call Girls in Noida | DelhiFULL ENJOY - 9953040155 Call Girls in Noida | Delhi
FULL ENJOY - 9953040155 Call Girls in Noida | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | DelhiFULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | DelhiMalviyaNagarCallGirl
 

Recently uploaded (20)

Call Girl Service in Karachi +923081633338 Karachi Call Girls
Call Girl Service in Karachi +923081633338 Karachi Call GirlsCall Girl Service in Karachi +923081633338 Karachi Call Girls
Call Girl Service in Karachi +923081633338 Karachi Call Girls
 
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
 
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Moti Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | Delhi
 
Khanpur Call Girls : ☎ 8527673949, Low rate Call Girls
Khanpur Call Girls : ☎ 8527673949, Low rate Call GirlsKhanpur Call Girls : ☎ 8527673949, Low rate Call Girls
Khanpur Call Girls : ☎ 8527673949, Low rate Call Girls
 
Call Girl in Bur Dubai O5286O4116 Indian Call Girls in Bur Dubai By VIP Bur D...
Call Girl in Bur Dubai O5286O4116 Indian Call Girls in Bur Dubai By VIP Bur D...Call Girl in Bur Dubai O5286O4116 Indian Call Girls in Bur Dubai By VIP Bur D...
Call Girl in Bur Dubai O5286O4116 Indian Call Girls in Bur Dubai By VIP Bur D...
 
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call GirlsJagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
 
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
 
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Service
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts ServiceRussian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Service
Russian⚡ Call Girls In Sector 104 Noida✨8375860717⚡Escorts Service
 
FULL ENJOY - 9953040155 Call Girls in Karol Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Karol Bagh | DelhiFULL ENJOY - 9953040155 Call Girls in Karol Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Karol Bagh | Delhi
 
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 60009654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000
9654467111 Call Girls In Noida Sector 62 Short 1500 Night 6000
 
MinSheng Gaofeng Estate commercial storyboard
MinSheng Gaofeng Estate commercial storyboardMinSheng Gaofeng Estate commercial storyboard
MinSheng Gaofeng Estate commercial storyboard
 
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | DelhiFULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
 
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | DelhiFULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
 
Burari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call GirlsBurari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call Girls
 
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Laxmi Nagar | Delhi
 
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girls
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call GirlsPragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girls
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girls
 
8377087607, Door Step Call Girls In Gaur City (NOIDA) 24/7 Available
8377087607, Door Step Call Girls In Gaur City (NOIDA) 24/7 Available8377087607, Door Step Call Girls In Gaur City (NOIDA) 24/7 Available
8377087607, Door Step Call Girls In Gaur City (NOIDA) 24/7 Available
 
Dxb Call Girls # +971529501107 # Call Girls In Dxb Dubai || (UAE)
Dxb Call Girls # +971529501107 # Call Girls In Dxb Dubai || (UAE)Dxb Call Girls # +971529501107 # Call Girls In Dxb Dubai || (UAE)
Dxb Call Girls # +971529501107 # Call Girls In Dxb Dubai || (UAE)
 
FULL ENJOY - 9953040155 Call Girls in Noida | Delhi
FULL ENJOY - 9953040155 Call Girls in Noida | DelhiFULL ENJOY - 9953040155 Call Girls in Noida | Delhi
FULL ENJOY - 9953040155 Call Girls in Noida | Delhi
 
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | DelhiFULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
 

Ipv4 & ipv6

  • 1.
  • 2. IPv4 is the fourth revision of the Internet Protocol and a widely used protocol in data communication over different kinds of networks.  IPv4 is a connectionless protocol used in packet-switched layer networks, such as Ethernet.  It provides the logical connection between network devices by providing identification for each device.  There are many ways to configure IPv4 with all kinds of devices – including manual and
  • 3.  It is used in the packet-switched link layer in the OSI model.  IPv4 uses 32-bit addresses for Ethernet communication in five classes: A, B, C, D and E.  Classes A, B and C have a different bit length for addressing the network host.  Class D addresses are reserved for multicasting, while class E addresses are reserved for future use. IPv6 presents a standardized solution to overcome IPv4's limitations. Because of its 128-bit address length, it can define up to 2,128 addresses.
  • 4.
  • 5.  Packets in the IPv4 layer are called Datagram.  Datagram consisting of two parts: Header and Data.
  • 6.  The header is 20 to 60 bytes in length and contains information essential to routing.  Version(VER): This 4-bit field defines the version of the IPv4 protocol.  Header Length(HLEN):this 4-bit field defines the total length of the datagram header in 4- bytes words. This field is needed because the length of the header is variable (between 20 to 60 bytes).  Type of Services: The type of service (TOS) bits were included in the IPv4 header to allow different types of IP datagrams to be distinguished from each other.
  • 7. Datagram Length : This is the total length of the IP datagram (header plus data), measured in bytes. Since this filed is 16 bits long, the theoretical maximum size of the IP datagram is 65,535 bytes. However, datagrams are rarely larger than 1,500 bytes.  Identifier, Flags, Fragmentation Offset: These three fields have to do with so-called IP fragmentation, a topic we will consider in depth shortly. Interestingly, the new version of IP, IPv6, does not allow fragmentation at routers.
  • 8. Time-to-live: The time-to-live (TTL) field is included to ensure that datagrams do not circulate forever in the network. This field is decremented by one each time the datagram is processed by a router. If the TTL field reaches 0, the datagram must be dropped.  Protocol: This field is used only when an IP datagram reaches its final destination.  Header Checksum: The header checksum aids a router in detecting bit errors in a received IP datagram.  Options: The options fields allow an IP header to be extended.
  • 9. A subnet mask is a number that defines a range of IP addresses that can be used in a network. Rules:  Convert the Networks into 1’s.  Convert the Hosts into 0’s.  Now Add all the binaries.
  • 10.
  • 11. IP Address = 10.0.0.1/8 SUBNET MASK: 11111111.00000000.00000000.00000000 128+64+32+16+8+4+2+1 =255 So, The Subnet Mask is 255.0.0.0
  • 12. IP Address = 172.168.0.1/16 SUBNET MASK: 11111111.11111111.00000000.00000000 128+64+32+16+8+4+2+1 =255 So, The Subnet Mask is 255.255.0.0
  • 13. IP Address = 192.168.1.0/24 SUBNET MASK: 11111111.11111111.11111111.00000000 128+64+32+16+8+4+2+1 =255 So, The Subnet Mask is 255.255.255.0
  • 14. IP Address = 123.78.45.3/21 SUBNET MASK: 11111111.11111111.11111000.00000000 128+64+32+16+8+0+0+0=248 So, The Subnet Mask is 255.255.248.0
  • 15.  Network identity (network ID) is a portion of the TCP/IP address that is used to identify individuals or devices on a network such as a local area network or the Internet. RULES:  All the Networks are same as in IP address.  All the Hosts are converted into 0’s.
  • 16.  A broadcast address is a special Internet Protocol (IP) address used to transmit messages and data packets to network systems. RULES:  All the Networks are same as in IP address.  All the Hosts are converted into 1’s.
  • 17. RULES:  All the IP’s that lie between the Network ID and Broadcast ID are Assignable IP’s.
  • 18. IP ADDRESS= 12.123.8.0/16  NETWORK ID: 12.123.0.0/16  BROADCAST ID: 12.123.255.255/16  ASSIGNABLE IP: FROM 12.123.0.1/16 TO 12.123.255.254 /16
  • 19. Subnetting is the strategy used to partition a single physical network(smaller broadcast domain)into more than one smaller logical sub-networks (subnets)(firewalls).  Subnetting allows an organization to add sub-networks without the need to acquire a new network.  Subnetting helps to reduce the network traffic and conceals network complexity.
  • 20. Subnetting is essential when a single network number has to be allocated over numerous segments of a local area network (LAN).  Subnets were initially designed for solving the shortage of IP addresses over the Internet.
  • 21. CIDR Stands for Classless inter- domain routing. CIDR is a set of Internet protocol (IP) standards that is used to create unique identifiers for networks and individual devices. 10.0.0.2/19 CIDR
  • 22. CLASS RANGE A 9 To 30 B 17 To 30 C 25 To 30
  • 23. IP Address=10.0.0.0/20 (Borrow Networks According to class A=12)  SUBNET MASK: 255.255.240.0  No. OF Network ID’s: =2n (n=no of borrow networks) =212 =4096
  • 24.  No. of Assignable IP’s(useable IP’s): =2h-2 (h=no. of hosts) =212-2 =4096-2 =4094  Broadcast ID: One Less than the Network ID.  Block Size: 256-240=16
  • 25. NETWORK ID USEABLE ID BROADCASTE ID 10..0.0.0 10.0.0.1 ……10.0.15.254 10.0.15.255 10.0.16.0 10.0.16.1..…..10.0.31.25 4 10.0.31.255 10.0.32.0 10.0.32.1…….10.0.47.25 4 10.0.47.255 10.0.48.0 10.0.48.1…….10.0.63.25 4 10.0.63.255 . . . . . . . . . 10.0.240.0 10.0.240.1…10.0.255.25 4 10.0.255.255 10.1.0.0 10.1.0.1……..10.1.15.25 4 10.1.15.255
  • 26. NETWORK ID USEABLE ID BROADCASTE ID 10.1.32.0 10.1.32.1…10.1.47.254 10.1.47.255 10.1.48.0 10.0.16.1..…..10.0.31.254 10.1.63.255 . . . . . . 10.1.240.0 10.1.240.1…10.0.255.254 10.1.255.255 10.2.0.0 10.2.0.1……...10.2.15.254 10.2.15.255 10.2.16.0 10.2.16.1……..10.2.32.25 4 10.2.31.255 . . . . . . . . .
  • 27. IP Address=172.168.0.0/19 (Borrow Networks According to class B=3)  SUBNET MASK: 255.255.224.0  No. OF Network ID’s: =2n (n=no of borrow networks) =23 =8
  • 28.  No. of Assignable IP’s(useable IP’s): =2h-2 (h=no. of hosts) =213-2 =8192-2 =8190  Broadcast ID: One Less than the Network ID.  Block Size: 256-224=32
  • 29. NETWORK ID USEABLE IP’s BROADCAST ID 172.168.0.0 172.168.0.1................. 172.168.31.254 172.168.31.255 172.168.32.0 172.168.32.1................. 172.168.63.254 172.168.63.255 172.168.64.0 172.168.64.1................. 172.168.95.254 172.168.95.255 172.168.96.0 172.168.96.1................. 172.168.127.254 172.168.127.255 172.168.128.0 172.168.128.1................ . 172.168.159.254 172.168.159.255 172.168.160.0 172.168.160.1................ 172.168.191.254 172.168.191.255 172.168.192.0 172.168.92.1................. 172.168.223.254 172.168.223.255 172.168.224.0 172.168.224.1................ . 172.168.255.254 172.168.255.255
  • 30. IP Address=192.168.1.0/26 (Borrow Networks According to class B=2)  SUBNET MASK: 255.255.255.192  No. OF Network ID’s: =2n (n=no of borrow networks) =22 =4
  • 31.  No. of Assignable IP’s(useable IP’s): =2h-2 (h=no. of hosts) =26-2 =64-2 =62  Broadcast ID: One Less than the Network ID.  Block Size: 256-192=64
  • 32. NETWORK ID USEABLE IP’s BROADCAST ID 192.168.1.0 192.168.1.1................. 172.168.1.62 192.168.1.63 192.168.1.64 192.168.1.65................. 172.168.1.126 192.168.1.127 192.168.1.128 192.168.1.129................ . 172.168.1.190 192.168.1.191 192.168.1.192 192.168.1.193................ . 172.168.1.254 192.168.1.255
  • 33.
  • 34.  IPv4 is the currrent TCP/IP addressing technique used on the internet. The address space for IPv4 is quickly running out due to the rapid growth of internet.  IPv6 is the proposed solution for expanding the possible number of users on the internet.  it is also called IPng or next generation IP.  It is the latest version of IPV4.  IPv6 is not backward compatible with IPV4. However ,It is considered that IPV6 is upgraded version of IPv4. The basics of IPv6 is similar to IPv4.
  • 35. Devices can use IPv6 as source and destination addresses to pass packets over the network.  Tool like Ping for network testing, as they do in IPV4,used in IPv6 with same slight variations.
  • 36.  IPv4 is designed in early 80’s.  So far IPv4 has proven itself as robust routable addressing protocol. It served human being for decades. At the time of its birth,Internet was limited only to few universities for their research and to department of defense(DOD-US).  IPv4 is 32 bits long which offers around 4,292,967,296(232) addresses (considered more than enough that time). BUT:  Internet commercialized in 90’s.
  • 37.  Become popular in developing countries Shortage of IP address. Growth of internet can be stopped due to shortage of IP address. So , experties started to find out the solution of this problem. . net add translation port add translation Temporary Permanent  IPv4  Classless IP address  Subnetting & VLSM  NAT/PAT  IPv6
  • 38. Version 5 was used while experimenting with stream protocol for Internet.  Used internet protocol number 5 to encapsulate its datagram.  Though it was never available for public but it was already used.
  • 39. Made of !28 bits. Divided into eight 16 bits blocks. 0010000000000001 0000000000000000 0011001000110100 1101111111100001 0000000001100011 0000000000000000 0000000000000000 1111111011111011
  • 40. Each Block is then converted in 4 digit Hexadecimal number separated by (:) symbol..  2001:0000:3238:DFE1:0063:0000:0000:FEFB  2001:0:3238:DFE1:63:FEFB The address space of IPv6 has 2128 or approx. 3.4 x 10 28 addresses. (340 trillion trillion trillion addresses)
  • 41. Binary Hexadecimal 0000 0 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1001 9
  • 42. Binary Hexadecimal 1010 10 A 1011 11 B 1100 12 C 1101 13 D 1110 14 E 1111 15 F
  • 43.  0010000000000001: 0000000000000000: 0011001000110100: 1101111111100001: 0000000001100011: 0000000000000000: 0000000000000000: 1111111011111011  0010 0000 0000 0001: 0000 0000 0000 0000: 0011 0010 0011 0100: 1101 1111 1110 0001: 0000 0000 0110 0011: 0000 0000 0000 0000: 0000 0000 0000 0000: 1111 1110 1111 1011 2001:0000:3234:DFE1:0063:0000:0000:FEFB 2001:0:3234:DFE1:63:FEFB
  • 44.  Uni –cast(one-to-one): It defines single interface or computer.The packet sent to single recepient or host by using IPv6.
  • 45.  Multi-cast: These define a group of computers or hosts.In this each system of group receives packet.
  • 46.  Any-cast: Define group of nodes or computer that all share a single address. Packet with any-cast address is delieverd to any one member of the group which is the most neariest one.
  • 47. Version: IPv6 Traffic Class: Distinguish different payload. Flow Label: Provide special handling for particular data flow.
  • 48.  Payload Length: Length of IP datagram excluding base header.  Next header: Which header is followed by base header code number. 2 ICMP 6 TCP 17 UDP  Hop Limit: Maximum hop through data travel to destination.