CSCI-1680 Network Layer: Wrapup Based partly on lecture notes by Jennifer Rexford, Rob Sherwood, David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.

Slides:



Advertisements
Similar presentations
CSCI-1680 Network Layer: Wrapup Based partly on lecture notes by Jennifer Rexford, Rob Sherwood, David Mazières, Phil Levis, John Jannotti Theophilus Benson.
Advertisements

Introduction to IPv6 Presented by: Minal Mishra. Agenda IP Network Addressing IP Network Addressing Classful IP addressing Classful IP addressing Techniques.
IPv6 The New Internet Protocol Integrated Network Services Almerindo Graziano.
CPSC Network Layer4-1 IP addresses: how to get one? Q: How does a host get IP address? r hard-coded by system admin in a file m Windows: control-panel->network->configuration-
Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_b Subnetting,Supernetting, CIDR IPv6 Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
1 Features of IPv6 Larger Address Extended Address Hierarchy Flexible Header Format Improved Options Provision For Protocol Extension Support for Auto-configuration.
1 May, 2007: American Registry for Internet Numbers (ARIN) “advises the Internet community that migration to IPv6 numbering resources is necessary for.
PRIVATE NETWORK INTERCONNECTION (NAT AND VPN) & IPv6
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
1 IPv6. 2 Problem: 32-bit address space will be completely allocated by Solution: Design a new IP with a larger address space, called the IP version.
IPv6 Victor T. Norman.
Socket Programming with IPv6. Why IPv6? Addressing and routing scalability Address space exhaustion Host autoconfiguration QoS of flow using flowlabel.
Implementing IPv6 Module B 8: Implementing IPv6
IPv6 The Next Generation Presented by Anna La Mura Jens Waldecker.
IPv4 & IPv6 Coexistence & Migration Joe Zhao SW2 Great China R&D Center ZyXEL Communications, Inc.
IPv4 - The Internet Protocol Version 4
IP datagrams Service paradigm, IP datagrams, routing, encapsulation, fragmentation and reassembly.
Chapter 22 IPv6 (Based on material from Markus Hidell, KTH)
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 Version 6 Next generation IP Prof. P Venkataram ECE Dept. IISc.
IPv6 Network Security.
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
2: Comparing IPv4 and IPv6 Rick Graziani Cabrillo College
Transition Mechanisms for Ipv6 Hosts and Routers RFC2893 By Michael Pfeiffer.
IP/ICMP Translation Algorithm (IIT) Xing Li, Congxiao Bao, Fred Baker
CS 6401 IPv6 Outline Background Structure Deployment.
1 IPv6 Address Management Rajiv Kumar. 2 Lecture Overview Introduction to IP Address Management Rationale for IPv6 IPv6 Addressing IPv6 Policies & Procedures.
Introduction to IPv6 © J. Liebeherr, 2012, All rights reserved.
CSCI-1680 Network Layer: Wrapup Based partly on lecture notes by Jennifer Rexford, Rob Sherwood, David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Network Layer4-1 NAT: Network Address Translation local network (e.g., home network) /24 rest of.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public BSCI Module 8 Lessons 1 and 2 1 BSCI Module 8 Lessons 1 and 2 Introducing IPv6 and Defining.
CSCI-1680 Network Layer: Wrap-up Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Chapter 22 Next Generation IP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. © The McGraw-Hill Companies, Inc. IP version 6 Asst. Prof. Chaiporn Jaikaeo,
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
IPv6. Content  History  IPv4 Downfall  IPv6 Features  IPv6 Addresses  Changes from IPv4  IPv6 Headers/Frames/Packets  Autoconfiguration  Commands.
CS 6401 IPv6 Outline Background Structure Deployment.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
1 Network Layer Lecture 16 Imran Ahmed University of Management & Technology.
CSC 600 Internetworking with TCP/IP Unit 7: IPv6 (ch. 33) Dr. Cheer-Sun Yang Spring 2001.
Page 1 Network Addressing CS.457 Network Design And Management.
Transport Layer3-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
4: Network Layer4b-1 IPv6 r Initial motivation: 32-bit address space completely allocated by r Additional motivation: m header format helps speed.
Bjorn Landfeldt, The University of Sydney 1 NETS 3303 IPv6 and migration methods.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Network Layer NAT, IPv6.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
CSE5803 Advanced Internet Protocols and Applications (13) Introduction Existing IP (v4) was developed in late 1970’s, when computer memory was about.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
IP Version 6 (IPv6).
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
IPv6 Outline Background Structure Deployment Fall 2001 CS 640.
Next Generation: Internet Protocol, Version 6 (IPv6) RFC 2460
CSCI-1680 Network Layer: Wrapup
CS 457 – Lecture 10 Internetworking and IP
Lecture#5 IPV6 Addressing
What’s “Inside” a Router?
Lecture#5 :IPV6 Adressing
Chapter 15. Internet Protocol
Internet Protocol, Version 6 (IPv6)
Refs: Chapter 10, Appendix A
Computer Networks Protocols
IPv6 Outline Background Structure Deployment CS 640.
Presentation transcript:

CSCI-1680 Network Layer: Wrapup Based partly on lecture notes by Jennifer Rexford, Rob Sherwood, David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca

Administrivia Homework 2 is due tomorrow –So we can post solutions before the midterm! Exam on Tuesday –All content up to today –Questions similar to the homework –Book has some exercises, samples on the course web page (from previous years)

Today: IP Wrap-up IP Service models –Unicast, Broadcast, Anycast, Multicast IPv6 –Tunnels

Different IP Service Models Broadcast: send a packet to all nodes in some subnet. “One to all” – : all hosts within a subnet, never forwarded by a router –“All ones host part”: broadcast address Host address | ( & ~subnet mask) E.g.: mask ~mask = => Bcast = Example use: DHCP Not present in IPv6 –Use multicast to link local all nodes group

Anycast Multiple hosts may share the same IP address “One to one of many” routing Example uses: load balancing, nearby servers –DNS Root Servers (e.g. f.root-servers.net) –Google Public DNS ( ) –IPv6 6-to-4 Gateway ( )

Anycast Implementation Anycast addresses are /32s At the BGP level –Multiple ASs can advertise the same prefixes –Normal BGP rules choose one route At the Router level –Router can have multiple entries for the same prefix –Can choose among many Each packet can go to a different server –Best for services that are fine with that (connectionless, stateless)

Multicast Send messages to many nodes: “one to many” Why do that? –Snowcast, Internet Radio, IPTV –Stock quote information –Multi-way chat / video conferencing –Multi-player games What’s wrong with sending data to each recipient? –Link stress –Have to know address of all destinations

Multicast Service Model Receivers join a multicast group G Senders send packets to address G Network routes and delivers packets to all members of G Multicast addresses: class D (start 1110) 224.x.x.x to 229.x.x.x –28 bits left for group address

LAN Multicast Easy on a shared medium Ethernet multicast address range: –01:00:5E:00:00:00 to 01:00:5E:7f:ff:ff Set low 23 bits of Ethernet address to low bits of IP address –(Small problem: 28-bit group address -> 23 bits) How about on the Internet?

Use Distribution Trees Source-specific trees: –Spanning tree over recipients, rooted at each source –Best for each source Shared trees: –Single spanning tree among all sources and recipients –Hard to find one shared tree that’s best for many senders State in routers much larger for source- specific

Source vs Shared Trees

Building the Tree: Host to Router Nodes tell their local routers about groups they want to join –IGMP, Internet Group Management Protocol (IPv4) –MLD, Multicast Listener Discovery (IPv6) Router periodically polls LAN to determine memberships –Hosts are not required to leave, can stop responding

Building the Tree across networks Routers maintain multicast routing tables –Multicast address -> set of interfaces, or – -> set of interfaces Critical: only include interfaces where there are downstream recipients

Practical Considerations Multicast protocols end up being quite complex Introduce a lot of router state Turned off on most routers Mostly used within domains –In the department: Ganglia monitoring infrastructure –IPTV on campus Alternative: do multicast in higher layers

IPv6 Main motivation: IPv4 address exhaustion Initial idea: larger address space Need new packet format: –REALLY expensive to upgrade all infrastructure! –While at it, why don’t we fix a bunch of things in IPv4? Work started in 1994, basic protocol published in 1998

The original expected plan From:

The plan in 2011

What is really happening

Source: potaroo.net/tools/ipv4

Current Adoption (as seen by Google) Source:

IPv6 Key Features 128-bit addresses –Autoconfiguration Simplifies basic packet format through extension headers –40-byte base header (fixed) –Make less common fields optional Security and Authentication

IPv6 Address Representation Groups of 16 bits in hex notation 47cd:1244:3422:0000:0000:fef4:43ea:000 1 Two rules: –Leading 0’s in each 16-bit group can be omitted 47cd:1244:3422:0:0:fef4:43ea:1 –One contiguous group of 0’s can be compacted 47cd:1244:3422::fef4:43ea:1

IPv6 Addresses Break 128 bits into 64-bit network and 64- bit interface –Makes autoconfiguration easy: interface part can be derived from Ethernet address, for example Types of addresses –All 0’s: unspecified –000…1: loopback –ff/8: multicast –fe8/10: link local unicast –fec/10: site local unicast –All else: global unicast

IPv6 Header

IPv6 Header Fields Version: 4 bits, 6 Class: 8 bits, like TOS in IPv4 Flow: 20 bits, identifies a flow Length: 16 bits, datagram length Next Header, 8 bits: … Hop Limit: 8 bits, like TTL in IPv4 Addresses: 128 bits What’s missing? –No options, no fragmentation flags, no checksum

Design Philosophy Simplify handling –New option mechanism (fixed size header) –No more header length field Do less work at the network (why?) –No fragmentation –No checksum General flow label –No semantics specified –Allows for more flexibility Still no accountability With some content from Scott Shenker

Interoperability RFC 4038 –Every IPv4 address has an associated IPv6 address (mapped) –Networking stack translates appropriately depending on other end –Simply prefix 32-bit IPv4 address with 80 bits of 0 and 16 bits of 1: –E.g., ::FFFF: Two IPv6 endpoints must have IPv6 stacks Transit network: –v6 – v6 – v6 : ✔ –v4 – v4 – v4 : ✔ –v4 – v6 – v4 : ✔ –v6 – v4 – v6 : ✗ !!

IP Tunneling Encapsulate an IP packet inside another IP packet Makes an end-to-end path look like a single IP hop

IPv6 in IPv4 Tunneling Key issues: configuring the tunnels –Determining addresses –Determining routes –Deploying relays to encapsulate/forward/decapsulate Several proposals, not very successful –6to4, Teredo, ISATAP –E.g., 6to4 Deterministic address generation Anycast to find gateway into IPv6 network Drawbacks: voluntary relays, requires public endpoint address

Other uses for tunneling Virtual Private Networks Use case: access CS network from the outside –Set up an encrypted TCP connection between your computer and Brown’s OpenVPN server –Configure routes to Brown’s internal addresses to go through this connection Can connect two remote sites securely

Extension Headers Two types: hop-by-hop and end-to-end Both have a next header byte Last next header also denotes transport protocol Destination header: intended for IP endpoint –Fragment header –Routing header (loose source routing) Hop-by-hop headers: processed at each hop –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

Fragmentation and MTU Fragmentation is supported only on end hosts! Hosts should do MTU discovery Routers will not fragment: just send ICMP saying packet was too big Minimum MTU is 1280-bytes –If some link layer has smaller MTU, must interpose fragmentation reassembly underneath

Current State IPv6 Deployment has been slow Most end hosts have dual stacks today (Windows, Mac OSX, Linux, *BSD, Solaris) 2008 Google study: –Less than 1% of traffic globally Requires all parties to work! –Servers, Clients, DNS, ISPs, all routers IPv4 and IPv6 will coexist for a long time

Next time: Midterm After that, transport layer and above! –UDP, TCP, Congestion Control –Application protocols –…