Overview. Lecture 16: IP variations: IPv6, multicast, anycast. I think we have a problem. IPv6. IPv6 Key Features



Similar documents
Introduction to IP v6

Internet Protocol Version 6 (IPv6)

Chapter 9. IP Secure

IPv6 Trace Analysis using Wireshark Nalini Elkins, CEO Inside Products, Inc.

IPv6 Fundamentals Ch t ap 1 er I : ntroducti ti t on I o P IPv6 Copyright Cisco Academy Yannis Xydas

ProCurve Networking IPv6 The Next Generation of Networking

IPv6 Advantages. Yanick Pouffary.

6LoWPAN Technical Overview

CS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Final for ECE374 05/06/13 Solution!!

Introduction to IPv6 and Benefits of IPv6

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Telematics. 9th Tutorial - IP Model, IPv6, Routing

IP Multicasting. Applications with multiple receivers

IP Address Classes (Some are Obsolete) Computer Networking. Important Concepts. Subnetting Lecture 8 IP Addressing & Packets

RARP: Reverse Address Resolution Protocol

OLD VULNERABILITIES IN NEW PROTOCOLS? HEADACHES ABOUT IPV6 FRAGMENTS

8.2 The Internet Protocol

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

Introduction to TCP/IP

Internet Control Protocols Reading: Chapter 3

IPv6 Fundamentals: A Straightforward Approach

Internetworking. Problem: There is more than one network (heterogeneity & scale)

IP - The Internet Protocol

Lecture Computer Networks

How will the Migration from IPv4 to IPv6 Impact Voice and Visual Communication?

Classful IP Addressing. Classless Addressing: CIDR. Routing & Forwarding: Logical View of a Router. IP Addressing: Basics

Review: Lecture 1 - Internet History

IP Next Generation (IPv6)

Learn About Differences in Addressing Between IPv4 and IPv6

13 Virtual Private Networks 13.1 Point-to-Point Protocol (PPP) 13.2 Layer 2/3/4 VPNs 13.3 Multi-Protocol Label Switching 13.4 IPsec Transport Mode

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Network Security TCP/IP Refresher

ERserver. iseries. Networking TCP/IP setup

Internet Architecture and Philosophy

Ethernet. Ethernet. Network Devices

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

6LoWPAN: An Open IoT Networking Protocol

Answers to Sample Questions on Network Layer

Definition. A Historical Example

6LoWPAN Tutorial IP on IEEE Low-Power Wireless Networks

IP Next Generation (IPv6)

Personal Firewall Default Rules and Components

How do I get to

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Internet Packets. Forwarding Datagrams

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

IP Anycast: Point to (Any) Point Communications. Draft 0.3. Chris Metz, Introduction

DHCP, ICMP, IPv6. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley DHCP. DHCP UDP IP Eth Phy

Using IPv6 and 6LoWPAN for Home Automation Networks

Future Internet Technologies

Dedication Preface 1. The Age of IPv6 1.1 INTRODUCTION 1.2 PROTOCOL STACK 1.3 CONCLUSIONS 2. Protocol Architecture 2.1 INTRODUCTION 2.

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

We Are HERE! Subne\ng

Technical Support Information Belkin internal use only

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

IP address format: Dotted decimal notation:

Lecture 28: Internet Protocols

Internet Peering, IPv6, and NATs. Mike Freedman V Networks

Technology Brief IPv6 White Paper.

Mobility on IPv6 Networks

Network Layer: Network Layer and IP Protocol

Firewalls und IPv6 worauf Sie achten müssen!

IPv6 Associated Protocols

Lecture 8. IP Fundamentals

Network layer: Overview. Network layer functions IP Routing and forwarding

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

Overview of TCP/IP. TCP/IP and Internet

Objectives of Lecture. Network Architecture. Protocols. Contents

Connecting IPv6 capable Bluetooth Low Energy sensors with the Internet of Things

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

Chapter 3 Configuring Basic IPv6 Connectivity

This tutorial will help you in understanding IPv6 and its associated terminologies along with appropriate references and examples.

IP and Mobility. Requirements to a Mobile IP. Terminology in Mobile IP

Mobile Routing. When a host moves, its point of attachment in the network changes. This is called a handoff.

CS335 Sample Questions for Exam #2

Note! The problem set consists of two parts: Part I: The problem specifications pages Part II: The answer pages

IP addressing and forwarding Network layer

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

The internetworking solution of the Internet. Single networks. The Internet approach to internetworking. Protocol stacks in the Internet

CHAPTER 10 IP MULTICAST

Types of IPv4 addresses in Internet

LESSON Networking Fundamentals. Understand TCP/IP

CloudEngine Series Switches. IPv6 Technical White Paper. Issue 01 Date HUAWEI TECHNOLOGIES CO., LTD.

Faculty of Engineering Computer Engineering Department Islamic University of Gaza Network Chapter# 19 INTERNETWORK OPERATION

PART IV. Network Layer

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Networking Test 4 Study Guide

3URMHFW1XPEHU /DERUDWRULHV2YHU1H[W *HQHUDWLRQ1HWZRUNV 3URMHFW7LWOH IST / PTIN /WP2.1/DS/P/1/01 &(&'HOLYHUDEOH1XPEHU

Vicenza.linux.it\LinuxCafe 1

IPv6 Functionality. Jeff Doyle IPv6 Solutions Manager

Implementing DHCPv6 on an IPv6 network

Transcription:

Overview Lecture 16: IP variations: IPv6, multicast, anycast Next generation IP: IPv6 6lowpan and the Internet of Things IP multicast IP anycast Practical considerations throughout I think we have a problem IPv6 Work started in 1994 asic protocol published in 1998 (RFC 2460) rief lull, the progress in 2003-6 Hard push within IETF today for adoption - Projected use of /8 blocks - From Pragmatic Report on IPv4 ddress Space Consumption, Tony Main, Cisco Systems. 128 bit addresses - utoconfiguration IPv6 Key Features Simplifies basic packet format through extension headers - 40 byte base header - Make uncommonly used fields optional Security and authentication

IPv6 Header Ver Class Flow Length Next Hdr. Hop limit Source (16 octets, 128 bits) Destination (16 octets, 128 bits) IPv6 Header Fields Version, 4 bits: 6 for IPv6 Class: 8 bits: like TOSS in IPv4 Flow, 20 bits: identifies a flow Length, 16 bits: datagram length Next header, 8 bits: more later Hop limit, 8 bits: like TTL in IPv4 ddresses: 128 bits IPv6 ddresses Simplify DHCP and autoconfiguration reak 128 bits into 80-bit network and 48-bit interface - Many link layers have unique interface addresses (more on this later in quarter) - E.g., Ethernet is 48 bits - Use of 48-bit ID ensures no address collisions, makes DHCP stateless v4 Interoperability RFC 4291 Every IPv4 address has an associated IPv6 address Simply prefix 32-bit IPv4 address with 96 bits of 0 0000 x 12 IPv4 address v4 Interoperability, continued Two IPv6 endpoints must both have IPv6 stacks 6-4-6 Example What about transit network? v6 - v6 - v6 (no problem) v4 - v4 - v4 (no problem) v4 - v6 - v4 (no problem) IPv4 D 1 D 2 6 4 4 6 v6 - v4 - v6 (uh-oh)

IP Tunneling Encapsulate an IP packet inside another IP packet Makes an end-to-end path look like a single IP hop 6-4-6 Example, Revisited IPv6 Packet IPv4 Header IPv6 Packet IPv4 D 1 D 2 6 4 4 6 Other Tunneling Use: VPN Virtual Private Networks Use case: two distance corporate offices - Want to access each other s internal networks - Make it looks like they re the actually one network Set up an encrypted TCP stream between one host at each network Route packets to other office through this host If addresses are all private, network is private Extension Headers Two types: destination and hop-by-hop oth have a next header byte Destination headers: intended for IP endpoint - Fragment header - Routing header (loose source routing) Hop-by-hop headers: processed by each node - Jumbogram: packet is up to 2 32 bytes long Example Next Header Values 0: Hop-by-hop header 1: ICMPv4 4: IPv4 6: TCP 17: UDP 41: IPv6 43: Routing header 44: Fragmentation header 58: ICMPv6 MTU Requirement IPv4 requires a 576-byte link MTU IPv6 requires 1280-byte MTU If link MTU is smaller, then it MUST support sub-ip fragmentation and assembly to provide a 1280-byte MTU It SHOULD provide a 1500-byte MTU; nodes MUST receive 1500 byte packets

Fragmentation Revisited High-loss links (e.g., wireless) can be a problem 10-hop route, each link has a 10% drop rate (90% success rate) - Probability one fragment arrives is0.9 10 35% - Each fragment is transmitted 1+0.9+0.9 2 +0.9 3...0.9 9 6.5 times along the route - 100% chance on first hop, 90% on second hop, 81% on third hop, etc. Fragmentation Revisited, Continued If a packet has four fragments, delivery probability is 0.35 4 1.4% Total transmissions/delivery = 1 0.014 9 i=0 0.9 i Total transmissions/delivery =65 6.5 = 423 Fragmentation header in IPv6 is a destination header - Fragmentation is possible, but must be done at the source Link-layer reliability High-loss link layers usually have single-hop acks and retransmissions - End-to-end argument: when can layer 2 reliability fail end-to-end? 10-hop route, each link has a 10% drop rate 1 - Expect 0.9 1.1 transmissions/link - 10 links, 11 transmissions - 44 transmissions/delivery Practical Considerations IPv6 is only partially deployed No killer app It s really expensive to replace everything! No switch day: IPv4 will always live on Multihoming and address fragmentation is causing routing tables to grow very large - IPv6 will make this much, much worse... RIRs IPv4 Status

Flaw in the rgument Original IPv6 motivation was IPv4 addresses will run out ddresses are a resource; they have a value (you don t run out of land) NTs allow multiple nodes to share an IPv4 address IPv6 will become the default when IPv4 addresses are so expensive that it s cheaper to deploy IPv6 IETF T-shirt: 32+16 > 128 Market in ddresses market won t solve the problem, though IPv4 addresses can t be legally owned in some regions Trading will further fragment the address space Internet of Things 6lowpan and the Internet of Things Increasing connectivity: wireless controllers, light switches, etc. Home area networks, personal area networks Today: vertically integrated, separate technologies Goal: connect them with IP Imagine every light has an IP address... 6lowpan IETF working group on IPv6 for low-power personal area networks (PNs) Tiny, energy constrained, wireless devices: smart homes, ubiquitous computing Link layers have tiny MTUs: (802.15.4 is 127 bytes) RFC 4944 6lowpan Header Compression 6lowpan tries to compress common cases: TCP, UDP, etc. Example: address compression - 6lowpan must allow full 128-bit addresses - ddress fields alone are 32 bytes! - ut often they can be shortened...

6lowpan Compression Flags 6lowpan Header Compression draft-ietf-6lowpan-hc-13 (updates RFC 4944) 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ 0 1 1 TF NH HLIM CID SC SM M DC DM +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ SC: Source address (stateful?) DC: Destination address (stateful?) SM/DM: compression scheme used, for stateless: - 00: Full 128 bit address - 01: 64-bit address, other 64 are link-local prefix padded with zeros - 10: 16-bit address, other 112 are as above - 00: 0-bit address, 64-bit link local prefix + 64-bit link layer address 2-minute stretch Multicast Problem: want to send a packet to many nodes - Examples: IP-TV, large audio stream Usingnunicast packets means the same packet can traverse a single link many times src Internet gw a a a a a Multicast pproach Nodes can join a multicast group Denoted by a multicast IP address Routers build a routing topology - Link state vs. distance vector IGMP: Internet Group Management Protocol - Protocol for hosts to manage membership in multicast groups - Hosts talk to local multicast routers Example: Link State Tree Routers exchange link state Node advertise presence in group Routers compute shortest-path multicast tree Very expensive!

Network Topology Tree for as Multicast Source R1 R2 R1 R2 R3 R4 R5 R3 R4 R5 C R6 R7 C R6 R7 Tree for as Multicast Source Practical considerations R1 R2 Multicast protocols end up being very complex Introduce a lot of router state R3 R4 R5 Turned off on most routers C R6 R7 Used within a domain, not between domains How does one handle congestion control? nycast Communicate with any one of a set of nodes We ve seen this with DNS IP nycast \$ dig www.google.com... ;; NSWER SECTION: www.google.com. 604799 IN CNME www.l.google.com. www.l.google.com. 300 IN 74.125.19.103 www.l.google.com. 300 IN 74.125.19.104 www.l.google.com. 300 IN 74.125.19.147 www.l.google.com. 300 IN 74.125.19.99

nycast at IP layer DNS allows anycast through name address mappings Sometimes we need it at layer 3 itself - Single IP address refers to multiple hosts - Need to talk to any one of them Example: DNS root servers - Would like to scale number of root servers with Internet - Can t use DNS (remember root servers hard-coded) - Want to query closest root server nycast in Forwarding Tablse Remember, forwarding is longest-prefix-match n anycast address is a /32 address single router may have multiple entries for the address nycast best used in services where separate packets might go to different destinations Further dvantages /32 routing entry! The Cost Multiple /32 routing entries! Geographic scoping Distributed Denial of Service (DDoS) - Since anycast is at IP layer, load from DDoS is distributed across many anycast nodes F root server made anycast in 2002, now 12 locations Overview Next generation IP: IPv6 6lowpan and the Internet of Things IP multicast IP anycast Practical considerations throughout