IPv4 to IPv6 Network Address Translation. Introduction 4 What is the current internet addressing scheme and what limitations does it face. 4 A new addressing.

Slides:



Advertisements
Similar presentations
IP Addressing Higher Computing. TCP/IP TCP/IP is the communication protocol for the internet. TCP/IP is the communication protocol for the internet. TCP/IP.
Advertisements

Ch 20. Internet Protocol (IP) Internetworking PHY and data link layers operate locally.
IP Address Presented by Ravi Namboori. IP Address IP Address is a numerical number assigned to each and every device which is looped in a computer network.
IP address Universally accepted addressing method is required so that all hosts can communicate with each other TCP/IP based network is assigned with unique.
1. Also known as IPng (next generation) Developed to alleviate IPv4 address exhaustion A new version of the Internet Protocol Improve upon IP protocol.
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
CS 457 – Lecture 16 Global Internet - BGP Spring 2012.
1 Internet Protocol Version 6 (IPv6) What the caterpillar calls the end of the world, nature calls a butterfly. - Anonymous.
Network Layer IPv6 Slides were original prepared by Dr. Tatsuya Suda.
IP Addressing and Subnetting
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
Chapter 18. IP: Internet Protocol Addresses
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
Network Layer Packet Forwarding IS250 Spring 2010
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
IP Protocol. The Internet Protocol (IP) is a network-layer (Layer 3) protocol that contains addressing information and some control information that enables.
1 Internet Networking Spring 2004 Tutorial 2 IP Checksum, Fragmentation.
Introduction to TCP/IP
Internet Networking Spring 2003
Oct 19, 2004CS573: Network Protocols and Standards1 IP: Datagram and Addressing Network Protocols and Standards Autumn
7/3/2015 Unit-3 : Network Layer 1 CS 1302 Computer Networks — Unit - 3 — — Network Layer — Text Book Behrouz.A. Forouzan, “Data communication and Networking”,
Protocol Headers Pre DA SA 0800h … version H L 6 TCP Header Data FCS
Types of Addresses in IPv4 Network Range
4: Addressing Working At A Small-to-Medium Business or ISP.
Chap 10 Routing and Addressing Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Network Protocols.
Chapter Three Network Protocols. Agenda Attendance, and Ch.2 Quiz questions TCP/IP Model IP Header (Using Ethereal to analyze the IP header) TCP Header.
Chap 9 TCP/IP Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
The Saigon CTT Semester 1 CHAPTER 10 Le Chi Trung.
UNIT IP Datagram Fragmentation Figure 20.7 IP datagram.
Hour 4 The Internet Layer 1. What You'll Learn in This Hour: IP addresses The IP header ARP ICMP 2.
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
Dr. John P. Abraham Professor UTPA
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
1 Network Layer Lecture 15 Imran Ahmed University of Management & Technology.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Saigon CTT Semester 1 CHAPTER 10 Wael Yousif.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer PART IV.
1 Computer Communication & Networks Lecture 19 Network Layer: IP and Address Mapping Waleed Ejaz.
Network Layer. Overview The network layer is responsible for navigating the data through the network. The function of the network layer is to find the.
CCNA Discovery Semester 3 Addressing in an Enterprise Network Chapter 4 K. Martin.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
UNIT 4 NETWORK LAYER. Position of network layer 7/8/2016 UNIT-3 : NETWORK LAYER 2.
NET 221D:Computer Networks Fundamentals
4.3 Network Layer Logical Addressing
PART IV Network Layer.
IP Packet.
Internet Protocol (IP)
Dr. John P. Abraham Professor UTPA
Network Layer: Logical Addressing
Internetworking Outline Best Effort Service Model
CPEG512 Advanced Computer Networks
Data Communications and Networking
Planning the Addressing Structure
Net 323 D: Networks Protocols
Introduction to Networks
IPv4 Addressing By, Ishivinder Singh( ) Sharan Patil ( )
IP datagram fields cont.
Review of Internet Protocols Network Layer
Presentation transcript:

IPv4 to IPv6 Network Address Translation

Introduction 4 What is the current internet addressing scheme and what limitations does it face. 4 A new addressing scheme that would resolve the limitations, and an interim path towards the new scheme.

What we will cover during this presentation : 4 IPv4 Address structure 4 The IPv4 address resource problem 4 Network Address translation of private address to global addresses for IPv4 address conservation. 4 IPv6 Specifications (rfc1883) 4 IPv6 addressing structure (rfc1884) 4 IPv4 to IPv6 transition and NAT considerations 4 IPv6 to IPv4 address translation at the edge router and higher layer consideration. 4 Need for port number translations in IPv4 to IPv6 NAT(rfc2766)

IPv4 Address Scheme : –IP Packet Format 4 An IP packet contains several types of information, as illustrated.

4 Version---Indicates the version of IP currently used.  IP Header Length (IHL)---Indicates the datagram header length in 32-bit words.  Type-of-Service---Assigns datagrams various levels of importance.  Total Length---Specifies the length, in bytes, of the entire IP packet.  Identification---Contains an integer that identifies the current datagram.  Flags---The two low-order (least-significant) bits control fragmentation. The low-order bit specifies whether the packet can be fragmented. The middle bit specifies whether the packet is the last fragment in a series of fragmented packets. The third or high-order bit is not used.  Fragment Offset---Indicates the position of the fragment's data relative to the beginning of the data in the original datagram.  Time-to-Live---Maintains a counter that gradually decrements down to zero, at which point the datagram is discarded. This keeps packets from looping endlessly.  Protocol---Indicates which upper-layer protocol receives incoming packets after IP processing is complete.  Header Checksum---Helps ensure IP header integrity.  Source Address---Specifies the sending node.  Destination Address---Specifies the receiving node.  Options---Allows IP to support various options, such as security.  Data---Contains upper-layer information.

IPv4 Addressing 4 As with any other network-layer protocol, the IP addressing scheme is integral to the process of routing IP datagrams through an internetwork. Each IP address has specific components and follows a basic format. These IP addresses can be subdivided and used to create addresses for subnetworks, as discussed in more detail later. 4 Each host on a TCP/IP network is assigned a unique 32-bit logical address that is divided into two main parts: the network number and the host number. The network number identifies a network and must be assigned by the Internet Network Information Center (InterNIC) if the network is to be part of the Internet. An Internet Service Provider (ISP) can obtain blocks of network addresses from the InterNIC and can itself assign address space as necessary. The host number identifies a host on a network and is assigned by the local network administrator. 4 The 32-bit IP address is grouped eight bits at a time, separated by dots, and represented in decimal format (known as dotted decimal notation). Each bit in the octet has a binary weight (128, 64, 32, 16, 8, 4, 2, 1). The minimum value for an octet is 0, and the maximum value for an octet is 255.The figure below illustrates the basic format of an IP address.

Private addresses to assign within a network (Not globally routable) / / / So in order to resolve the shortage of IPv4 addresses so far the solution has been Network Address Translation as follows. With the following scheme a network can have almost infinite IP addresses yet never contribute to the finite globally routable IP addresses shortage. In its simplest configuration, the Network Address Translator (NAT) operates on a router connecting two networks together; one of these networks (designated as inside) is addressed with either private or obsolete addresses that need to be converted into legal addresses before packets are forwarded onto the other network (designated as outside). The translation operates in conjunction with routing, so that NAT can simply be enabled on an Internet access router when translation is desired. 4 Use of a NAT device provides RFC 1631-style network address translation on the router platform. The goal of NAT is to provide functionality as if the private network had globally unique addresses and the NAT device was not present.RFC 1631-style network address translation

Schema diagram:

4 The above method is useful yet lacks a viable solution to globally routable IP address problem. Since for every private IP address a globally routable IP address is needed for direct translation. Well in most cases it is not very profitable or at all possible to contain many IP addresses. 4 Dynamic Network address translation: One way to resolve this issue would be through Port Address Translation (PAT) as follows:

–PAT (Port Address Translation)  PAT does not work with H.323 applications, multimedia applications, and caching nameservers.  PAT works with DNS, FTP and passive FTP, HTTP, mail, RPC, rshell, Telnet, URL filtering, and outbound traceroute.  Finally when we have completely exhausted all available IPv4 resources we need to explore the new version of Ipng

NAT Enroute to translate Host-A NAT router Host-X <Outer IP header, with src=Addr-A, Dest=Addr-X>, embedding <End-to-end packet, with src=Addr-k, Dest=Addr-X> > <Outer IP header, with src=Addr-k, Dest=Addr-X>, embedding <End-to-end packet, with src=Addr-k, Dest=Addr-X> > <Outer IP header, with src=Addr-X, Dest=Addr-k>, embedding <End-to-end packet, with src=Addr-X, Dest=Addr-k> <

NAPT router enroute to translate: Host-A NAPT router Host-X <Outer TCP/UDP packet, with src=Addr-A, Src Port=T-Na, Dest=Addr-X>, embedding <End-to-end packet, with src=Addr-Nx, Src Port=T-Nx, Dest=Addr-X> > <Outer TCP/UDP packet, with src=Addr-Nx, Src Port=T-Nxa, Dest=Addr-X>, embedding <End-to-end packet, with src=Addr-Nx, Src Port=T-Nx, Dest=Addr-X> > <Outer TCP/UDP packet with src=Addr-X, Dest=Addr-Nx, Dest Port=T-Nxa>, embedding <End-to-end packet, with src=Addr-X, Dest=Addr-Nx, Dest Port=T-Nx> <

IPv6 Specification (rfc1883) 4 IP version 6 (IPv6) is a new version of the Internet Protocol, designed as a successor to IP version 4 (IPv4) [RFC-791]. The changes from IPv4 to IPv6 fall primarily into the following categories: 4 Expanded Addressing Capabilities IPv6 increases the IP address size from 32 bits to 128 bits, to support more levels of addressing hierarchy, a much greater number of addressable nodes, and simpler auto- configuration of addresses. 4 The scalability of multicast routing is improved by adding a "scope" field to multicast addresses. 4 And a new type of address called an "anycast address" is defined, used to send a packet to any one of a group of nodes. 4 Header Format Simplification Some IPv4 header fields have been dropped or made optional, to reduce the common-case processing cost of packet handling and to limit the bandwidth cost of the IPv6 header. 4 Improved Support for Extensions and Options Changes in the way IP header options are encoded allows for more efficient forwarding, less stringent limits on the length of options, and greater flexibility for introducing new options in the future. 4 Flow Labeling Capability A new capability is added to enable the labeling of packets belonging to particular traffic "flows" for which the sender requests special handling, such as non-default quality of service or "real-time" service. 4 Authentication and Privacy Capabilities Extensions to support authentication, data integrity, and (optional) data confidentiality are specified for IPv6.

4 IPv6 Addressing scheme overview 4 IPv6 addresses are 128-bit identifiers for interfaces and sets of interfaces. There are three types of addresses: 4 Unicast: An identifier for a single interface. A packet sent to a unicast address is delivered to the interface identified by that address. 4 Anycast: An identifier for a set of interfaces (typically belonging to different nodes). A packet sent to an anycast address is delivered to one of the interfaces identified by that address (the "nearest" one, according to the routing protocols' measure of distance). 4 Multicast: An identifier for a set of interfaces (typically belonging to different nodes). A packet sent to a multicast address is delivered to all interfaces identified by that address. 4 There are no broadcast addresses in IPv6, their function being superseded by multicast addresses.

4 An example of a Unicast address format which will likely be common on LANs and other environments where IEEE 802 MAC addresses are available is: | n bits | 80-n bits | 48 bits | | subscriber prefix | subnet ID | interface ID | Where the 48-bit Interface ID is an IEEE-802 MAC address. The use of IEEE 802 MAC addresses as a interface ID is expected to be very common in environments where nodes have an IEEE 802 MAC address. In other environments, where IEEE 802 MAC addresses are not available, other types of link layer addresses can be used, such as E.164 addresses, for the interface ID.

4 Traditional-NAT-PT Operation (V6 to V4) NAT-PT offers a straight forward solution based on transparent routing [NAT-TERM] and address/protocol translation, allowing a large number of applications in V6 and V4 realms to inter-operate without requiring any changes to these applications. In the following paragraphs we describe the operation of traditional-NAT-PT and the way that connections can be initiated from a host in IPv6 domain to a host in IPv4 domain through a traditional-NAT-PT 4 Basic-NAT-PT Operation [IPv6-B]-+ | +==============+ [IPv6-A]-+-[NAT-PT] | IPv4 network |--[IPv4-C] | +==============+ (pool of v4 addresses) Figure 1: IPv6 to IPv4 communication Node IPv6-A has an IPv6 address -> FEDC:BA98::7654:3210 Node IPv6-B has an IPv6 address -> FEDC:BA98::7654:3211 Node IPv4-C has an IPv4 address -> NAT-PT has a pool of addresses including the IPv4 subnet /24

The V4 addresses in the address pool could be allocated one-to-one to the V6 addresses of the V6 end nodes in which case one needs as many V4 addresses as V6 end points. In this document we assume that the V6 network has less V4 addresses than V6 end nodes and thus dynamic address allocation is required for at least some of them. Say the IPv6 Node A wants to communicate with the IPv4 Node C. Node A creates a packet with: Source Address, SA=FEDC:BA98::7654:3210 and Destination Address, DA = PREFIX:: NOTE: The prefix PREFIX::/96 is advertised in the stub domain by the NAT-PT, and packets addressed to this PREFIX will be routed to the NAT-PT. The pre-configured PREFIX only needs to be routable within the IPv6 stub domain and as such it can be any routable prefix that the network administrator chooses. The packet is routed via the NAT-PT gateway, where it is translated to IPv4.

Close 4 Even with 20 years of TCP networks UUCP still exists 4 IPv6 to IPv4 NAT is just an iterim solution, will not work with all protocols. 4 Yet as a knowledgeable network professional we need to know about IPv6 issues.