Docsity

Apuntes de Protocolo IPv6, Apuntes de Ingeniería Telemática

Vista previa parcial del texto

¡Descarga Apuntes de Protocolo IPv6 y más Apuntes en PDF de Ingeniería Telemática solo en Docsity!

IPv6-only Deployment in

Broadband and Cellular

Networks

IPv4 as-a-Service

LACNIC

May, 2019

Punta Cana, DO

@JordiPalet

([email protected])

Transition / Co-Existence Techniques

  • IPv6 has been designed for easing the transition and

coexistence with IPv

  • Several strategies have been designed and implemented

for coexisting with IPv4 hosts, grouped in three

categories:

  • Dual stack: Simultaneous support for both IPv4 and

IPv6 stacks

  • Tunnels: IPv6 packets encapsulated in IPv4 ones
    • This has been the commonest choice
    • Today expect IPv4 packets in IPv6 ones!
  • Translation: Communication of IPv4-only and IPv6-

only. Initially discouraged and only “last resort”

(imperfect). Today no other choice!

  • Expect to use them in combination!

Dual-Stack Approach IPv Application TCP/UDP IPv

TCP/UDP

IPv

TCP/UDP

IPv4 IPv IPv6 IPv IPv6-only stack Dual-stack (IPv4 & IPv6) IPv4-only stack IPv Application IPv Application IPv Application

Tunnels to Get Through IPv6-Ignorant Routers

  • Encapsulate IPv6 packets inside IPv4 packets (or MPLS frames) in order to provide IPv6 connectivity through IPv4-only networks
  • Many methods exist for establishing tunnels:
    • manual configuration
    • “tunnel brokers” (using web-based service to create a tunnel)
    • “6over4” (intra-domain, using IPv4 multicast as virtual LAN)
    • “6to4” (inter-domain, using IPv4 addr as IPv6 site prefix)
  • Can view this as:
    • IPv6 using IPv4 as a virtual link-layer, or
    • an IPv6 VPN (virtual public network), over the IPv4 Internet (becoming “less virtual” over time, we hope)

Translation IPv4/IPv

  • May prefer to use IPv6-IPv4 protocol translation for:
    • new kinds of Internet devices (e.g., cell phones, cars, appliances)
    • benefits of shedding IPv4 stack (e.g., serverless autoconfig)
  • This is a simple extension to NAT techniques, to translate header format as well as addresses - IPv6 nodes behind a translator get full IPv6 functionality when talking to other IPv6 nodes located anywhere - they get the normal (i.e., degraded) NAT functionality when talking to IPv4 devices - methods used to improve NAT functionality (e.g, RSIP) can be used equally to improve IPv6-IPv4 functionality

IPv6 Transition Mechanisms

  • Some transition mechanism based on tunnels and/or

translation:

  • 6in4 [6in4]
  • TB [TB]
  • TSP [TSP]
  • 6to4 [6to4]
  • Teredo [TEREDO], [TEREDOC]
  • Túneles automáticos [TunAut]
  • …
  • ISATAP [ISATAP]
  • 6over4 [6over4]
  • Softwires
  • 6RD
  • NAT
  • DS-Lite
  • lw4o
  • 464XLAT
  • MAP E/T
  • …

CGN breaks …

  • UPnP-IGD (Universal Plug & Play - Internet Gateway Device protocol)
  • NAT-PMP (NAT Port Mapping Protocol)
  • Other NAT Traversal mechs
  • Security
  • AJAX (Asyncronous Javascript And XML)
  • FTP (big files)
  • BitTorrent/Limewire (seeding – uploading)
  • On-line gaming
  • Video streaming (Netflix, Hulu, …)
  • IP cameras
  • Tunnels, VPN, IPsec, ...
  • VoIP
  • Port forwarding
  • ...
  • Most of the can be solved with extra work, ALGs, etc., but means extra resources, more overload of the CGN, so less throughput/performance: Need more CGNs for the same user-base

Dual Stack Lite (DS-Lite)

  • To cope with the IPv4 exhaustion problem.
  • Sharing (same) IPv4 addresses among customers by combining: - Tunneling - NAT
  • No need for multiple levels of NAT.
  • Two elements:
    • DS-Lite Basic Bridging BroadBand (B4)
    • DS-Lite Address Family Transition Router (AFTR)
      • Also called CGN (Carrier Grade NAT) or LSN (Large Scale NAT)

DS-Lite CPE (B4) Internet IPv ISP network AFTR 10.0.0.x/ AFTR CPE (B4) 10.0.0.x/ v4 v4 (^) v v4/v Internet IPv “plain” IPv IPv6-only access IPv4-in-IPv tunnel NAT44 Level 1 Public IPv

lw4o CPE (lwB4) Internet IPv ISP network lwAFTR 10.0.0.x/ lwAFTR CPE (lwB4) 10.0.0.x/ v4 v4 (^) v v4/v Internet IPv “plain” IPv IPv6-only access IPv4-in-IPv tunnel NAT44 Level 1 Public IPv

NAT64 (1)

  • When ISPs only provide IPv6 connectivity, or devices

are IPv6-only (cellular phones)

  • But still some IPv4-only boxes are on the Internet
  • Similar idea as NAT-PT, but working correctly
  • Optional element, but decoupled, DNS
  • Good solution if IPv4 is not required at the client
    • Client is IPv6-only
  • Some apps don’t work (Skype …)
    • Peer-to-peer using IPv4 “references”
    • Literal addresses
    • Socket APIs

NAT64 (3)

  • It’s known that there are things that doesn’t work:
    • Everything out of TCP,UDP, or ICMP: Multicast,

Stream Control Transmission Protocol (SCTP), the

Datagram Congestion Control Protocol (DCCP), and

IPSEC

  • Applications that carry layer 3 information in the

application layer: FTP [RFC6384], SIP/H

  • Some apps: online gaming, skype, etc.
    • Peer-to-peer using IPv4 “references”
  • Literal addresses
  • Socket APIs

NAT64 (4) CPE Internet IPv ISP network NAT 10.0.0.x/ NAT CPE v4 v4 (^) v v4/v Internet IPv ”plain” IPv IPv6-only access Public IPv AAAA synthesis NAT