• No results found

IPv4 vs IPv6

N/A
N/A
Protected

Academic year: 2021

Share "IPv4 vs IPv6"

Copied!
19
0
0

Loading.... (view fulltext now)

Full text

(1)

Comparative Study of

IPv4 and IPv6 Network Protocol

Mr. Sudhakar R. Mishra

M Tech ,WCE Sangli

Under Guidance of

Prof. S.P. Sonavane Mr. Anil Kumar Gupta WCE Sangli CDAC Pune

(2)

IP Protocol

● Primary network protocol used on the Internet

● Data on an Internet Protocol network is organized into

packets

(3)

IPv4 Overview

● 32 bit Addressing scheme

– Host address, e.g., 192.168.1.1

– Network address, e.g., 192.168.1.0/24 or 192.168.1.0

255.255.255.0

– Host address is the first address in subnetwork, e.g. 192.168.1.0 – Broadcast address is the last address in the subnetwork, e.g.,

(4)

IPv4 Delivery Model

Best effort service

– Network will do its best to get packet to destination

● Does NOT guarantee:

– Any maximum latency or even ultimate success – Sender will be informed if packet doesn’t make it – Packets will arrive in same order sent

– Just one copy of packet will arrive

● Implications

– Scales very well

– Higher level protocols must make up for shortcomings

● Reliably delivering ordered sequence of bytes  TCP

– Some services not feasible

(5)

Network Address Translation

Source Computer Source Computer's IP Address Source Computer's Port NAT Router's IP Address NAT Router's Assigned Port Number A 10.0.0.1 400 24.2.249.4 1 B 10.0.0.2 50 24.2.249.4 2 C 10.0.0.3 3750 24.2.249.4 3 D 10.0.0.4 206 24.2.249.4 4 10.0.0.4 10.0.0.1

B

C

(6)

IP Fragmentation

IP Fragmentation

If IP packet is longer than the MTU, the

router breaks packet into smaller packets

– Called IP fragments

– Fragments are still IP packets

– Earlier in Mod A, fragmentation in TCP

IP Packet 2 1

IP Packets Fragmentation

MTU

(7)

IP De-fragmentation

Internet layer process on destination host

defragments, restoring the original packet

IP Defragmentation only occurs once

Destination Host Internet Process De fragmentation Source Host Internet Process

(8)

IPv4 Limitation's

● Exhaustion of the IPv4 address space

● Simpler configuration

● Security at the Internet layer

(9)

IPv6 over IPv4

● Larger Address Space

● Efficient and Extensible IP datagram

● Efficient Route Computation and

● Aggregation

● Improved Host and Router Discovery

● New Stateless and State full Address

● Auto configuration

● Required Security for IP datagrams

(10)

IPv4 & IPv6 Header Comparison

Version IHL Type of Service Total Length

Identification Flags Fragment Offset

Time to Live Protocol Header Checksum

Source Address Destination Address

Options Padding

Version Traffic Class Flow Label

Payload Length HeaderNext Hop Limit

Source Address

Destination Address

IPv4 Header

IPv4 Header IPv6 HeaderHeader

- field’s name kept from IPv4 to IPv6 - fields not kept in IPv6

en

(11)

128-bit IPv6 Address

128-bit IPv6 Address

3FFE:085B:1F1F:0000:0000:0000:00A9:1234

8 groups of 16-bit hexadecimal numbers separated by “:”

3FFE:85B:1F1F::A9:1234

:: = all zeros in one or more group of 16-bit hexadecimal numbers

Leading zeros can be

removed

(12)

Types of IPv6 Addresses

● Unicast

– Address of a single interface

– Delivery to single interface

● Multicast

– Address of a set of interfaces

– Delivery to all interfaces in the set

● Anycast

(13)

IPv6 Addressing Rules

128 bits (or 16 bytes) long: four times as long as its

predecessor.

2128 : about 340 billion billion billion billion different addresses ● Colon hexadecimal notation:

– addresses are written using 32 hexadecimal digits.

– digits are arranged into 8 groups of four to improve the readability. – Groups are separated by colons

(14)

IPv6 Address Notation: Example

128.91.45.157.220.40.0.0.0.0.252.87.212.200.31.255

(15)

Neighbor Discovery (RFC 2461)

● Protocol built on top of ICMPv6 (RFC 2463)

Combination of IPv4 protocols (ARP, ICMP,…)

● Neighbor Discovery:

Determines the link-layer address of a neighbor on the same link, Duplicate Address Detection

Finds neighbor routers, Keeps track of neighbors

● Defines 5 ICMPv6 packet types

Router Solicitation / Router Advertisements

Neighbor Solicitation / Neighbor Advertisements Redirect

(16)

At boot time, an IPv6 host build a Link-Local address, then its global IPv6 address(es) from RA

RA indicates SUBNET PREFIX

IPv6 Auto-Configuration

● Stateless (RFC2462)Stateless

Host autonomously configures its own Link-Local address Router solicitation are sent by booting nodes to request RAs for configuring the interfaces.

● StatefulStateful

DHCPv6 (under definition at IETF)

● RenumberingRenumbering

Hosts renumbering is done by modifying the RA to

announce the old prefix with a short lifetime and the new prefix.

Router renumbering protocol (RFC 2894), to allow domain-interior routers to learn of prefix introduction / withdrawal

SUBNET PREFIX + MAC ADDRESS SUBNET PREFIX + MAC ADDRESS SUBNET PREFIX + MAC ADDRESS SUBNET PREFIX + MAC ADDRESS

(17)

Major Improvements of

IPv6 Header

No option field

: Replaced by extension

header. Result in a fixed length, 40-byte IP

header.

No header checksum

: Result in fast

processing.

No fragmentation at intermediate nodes

:

(18)

Differences in IPv4 and IPv6

Feature IPv4 IPv6

Source and destination address

32 bits 128 bits

IPSec Optional required

Payload ID for QoS in the

header No identification Using Flow label field Fragmentation Both router and the

sending hosts

Only supported at the sending hosts

Header checksum included Not included

Resolve IP address to a link layer address

broadcast ARP request Multicast Neighbor Solicitation message

Determine the address of

the best default gateway Discovery(optional)ICMP Router ICMPv6 Router Solicitation and Router Advertisement (required)

Send traffic to all nodes on a subnet

Broadcast Link-local scope all-nodes multicast address

(19)

Challenges for IPv6

Deployment Cost

Security Issues

No Customer Demand

Lack of IPv6 security training/education

References

Related documents

The requirement prioritization is useful for developer to take decisions about the implementation of requirements on the basis of many characteristics of requirements; such

Affermative Negative Domande Risposta breve,. “sì” Risposta breve, “no” I/You/He/She/ It/We/They can

IPv6 options IPv6 over Ethernet, dual stack, IPv6 over IPv4 network with Intra-Site Automatic Tunnel Addressing Protocol (ISATAP) tunnel, IPv6 neighbor discovery, stateless

IPv6 options IPv6 over Ethernet, dual stack, IPv6 over IPv4 network with Intra-Site Automatic Tunnel Addressing Protocol (ISATAP) tunnel, IPv6 neighbor discovery, stateless

Specifies the IPv4 or IPv6 address family type and enters address family configuration mode. Step 8 neighbor

• The Toronto District School Board ’s policies embed the principles of fairness, equity, and inclusive education and include comprehensive guidelines for religious

Configuring an IPv6 Multiprotocol BGP Peer Using a Link-Local Address Configuring IPv6 multiprotocol BGP between two IPv6 routers (peers) using link-local addresses requires that

– All IPv6 LANs / Subnets are IPv6 Mobile Ready All IPv6 LANs / Subnets are IPv6 Mobile Ready. u IPv6 Neighbor Discovery and Address IPv6 Neighbor Discovery