Getting started with IPv6 on Linux

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

IPv6.marceln.org.

IPv6 Fundamentals: A Straightforward Approach

Vicenza.linux.it\LinuxCafe 1

About the Technical Reviewers

IP Address: the per-network unique identifier used to find you on a network

About Me. Work at Jumping Bean. Developer & Trainer Contact Info: mark@jumpingbean.co.za

IPv6 Network Security.

Introduction to IP v6

IPv4 and IPv6 Integration. Formation IPv6 Workshop Location, Date

Basic IPv6 WAN and LAN Configuration

IPv6 in Axis Video Products

TCP/IP Network Essentials. Linux System Administration and IP Services

Implementing DHCPv6 on an IPv6 network

Recent advances in IPv6 insecurities Marc van Hauser Heuse Deepsec 2010, Vienna Marc Heuse

CIRA s experience in deploying IPv6

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

Firewalls und IPv6 worauf Sie achten müssen!

Tomás P. de Miguel DIT-UPM. dit UPM

Chapter 3 Configuring Basic IPv6 Connectivity

Joe Davies. Principal Writer Windows Server Information Experience. Presented at: Seattle Windows Networking User Group June 1, 2011

Linux as an IPv6 dual stack Firewall

Host Configuration (Linux)

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

ICS 351: Today's plan. IP addresses Network Address Translation Dynamic Host Configuration Protocol Small Office / Home Office configuration

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

Network Security TCP/IP Refresher

IPv6 for SMB s: Easy or Hard?

IP address format: Dotted decimal notation:

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

INLICHTINGEN DIENSTEN INLICHTINGEN DIENSTEN

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

Technology Brief IPv6 White Paper.

Internet Protocol: IP packet headers. vendredi 18 octobre 13

The Myth of Twelve More Bytes. Security on the Post- Scarcity Internet

Technical Support Information Belkin internal use only

Step-by-Step Guide for Setting Up IPv6 in a Test Lab

IPv6 Hardening Guide for Windows Servers

Moonv6 Test Suite DRAFT

Firewall Testing. Cameron Kerr Telecommunications Programme University of Otago. May 16, 2005

Discovering IPv6 with Wireshark. presented by Rolf Leutert

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

IPv6 SECURITY. May The Government of the Hong Kong Special Administrative Region

Aculab digital network access cards

IPv6 Protocols & Standards. ISP/IXP Workshops

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

Solution of Exercise Sheet 5

Types of IPv4 addresses in Internet

Deploying Samba in IPv6 Networks

IPv6 Security Best Practices. Eric Vyncke Distinguished System Engineer

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

Deploying IPv6 for Service Providers. Benoit Lourdelet IPv6 Product Manager, NSSTG

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

OLD VULNERABILITIES IN NEW PROTOCOLS? HEADACHES ABOUT IPV6 FRAGMENTS

IPv6 Security from point of view firewalls

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

ProCurve Networking IPv6 The Next Generation of Networking

Security of IPv6 and DNSSEC for penetration testers

LESSON Networking Fundamentals. Understand TCP/IP

SECURITY IN AN IPv6 WORLD MYTH & REALITY. SANOG XXIII Thimphu, Bhutan 14 January 2014 Chris Grundemann

IPv6 Addressing and Subnetting

Exam 1 Review Questions

8.2 The Internet Protocol

Industry Automation White Paper Januar 2013 IPv6 in automation technology

Protocols. Packets. What's in an IP packet

Internet Firewall CSIS Internet Firewall. Spring 2012 CSIS net13 1. Firewalls. Stateless Packet Filtering

Deploying IPv6, Now. Christian Huitema. Architect Windows Networking & Communications Microsoft Corporation

How To Connect Ipv4 To Ipv6 On A Ipv2 (Ipv4) On A Network With A Pnet 2.5 (Ipvin4) Or Ipv3 (Ip V6) On An Ipv5

IPv6 Advantages. Yanick Pouffary.

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

Introduction to IPv6 Firewalls With Linux and iptables

ERserver. iseries. Networking TCP/IP setup

Campus IPv6 connection Campus IPv6 deployment

Learn About Differences in Addressing Between IPv4 and IPv6

Network layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "

How do I get to

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

Neighbour Discovery in IPv6

Mobility Support in IPv6

Workshop on Scientific Applications for the Internet of Things (IoT) March

Why SSL is better than IPsec for Fully Transparent Mobile Network Access

21.4 Network Address Translation (NAT) NAT concept

IPv6 Infrastructure Security

Personal Firewall Default Rules and Components

PowerLink Bandwidth Aggregation Redundant WAN Link and VPN Fail-Over Solutions

Securing IPv6. What Students Will Learn:

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

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

Transport and Network Layer

Outline. CSc 466/566. Computer Security. 18 : Network Security Introduction. Network Topology. Network Topology. Christian Collberg

Mobility Management in DECT/IPv6 Networks

Introduction to IPv6 and Benefits of IPv6

APNIC IPv6 Deployment

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Unix System Administration

New Products and New Features May, 2015

IPv6 Functionality. Jeff Doyle IPv6 Solutions Manager

Компјутерски Мрежи NAT & ICMP

Implementation IPV6 in Mikrotik RouterOS. by Teddy Yuliswar

Transcription:

Getting started with IPv6 on Linux Jake Edge LWN.net jake@lwn.net LinuxCon North America 19 August 2011

History and Motivation IPng project July 1994 IPv6 - RFC 2460 December 1998 IPv5 - Internet Stream Protocol used version 5 in packet header v4 uses 4, v6 uses 6 Recognized IPv4 address exhaustion, but also wanted to solve other network issues

Advantages of IPv6 2 128 addresses (plenty) Easier routing QoS support using Flow Label IPsec required Mobility support Minimum MTU increase (1280 vs. 576)

Addresses 128 bits (4x IPv4 32 bit addresses) Represented as 8 groups of 4 hex digits: 2001:0DB8:AC10:FE01:0000:0000:0000:0001 Normally written: 2001:DB8:AC10:FE01::1 (leading zeros, consecutive zeros eliminated) 64-bit network prefix, 64-bit host address Usually 48-bit routing prefix, 16-bit subnet 2001:470:bac3::/48 represents a routed network

Special Addresses Loopback ::1 (127.0.0.1 for IPv4) Unspecified :: (0.0.0.0 for IPv4 INADDR_ANY) Link local FE80:: - host address based on MAC MAC: 00:1D:BA:06:37:64 becomes FE80::021D:BAFF:FE06:3764 (FFFE inserted in middle and bit 1 in first byte turned on Modified EUI-64) Privacy concerns

Ipv6 Packet Format Much simpler than Ipv4 Fixed 40-byte length (IPv4 20-60 bytes) Moved options into additional headers (Graphic shamelessly poached from Wikipedia: http://en.wikipedia.org/wiki/ipv6 )

Ipv6 Headers Next Header is type of any following header 6 for TCP, 17 for UDP, 59 for no next header Other options (fragmentation, routing,...) No header checksum (eliminates recalculation), uses lower (CRC on ethernet) and higher (checksum for UDP and TCP headers) layers Flags (SYN, ACK, etc. in TCP header) Network layer devices only need to see the mandatory header information

Stateless Autoconfiguration (SAC) One way to get an initial address Host sends router solicitation using link local address (FE80::modified-EUI) to FF02::2 Routers reply with router advertisement to FF02::1 Advertisements contain network prefix information and router lifetime Multiple routers may reply with different subnets Duplicate address detection is used

DHCPv6 SAC doesn't provide DNS hostnames Either have to run IPv4 DNS, statically define, or use DHCPv6 DHCPv6 can also assign addresses (or those can also be statically configured) Managed flag in router advertisement notes the presence of DHCPv6 server in subnet Stateless does DNS, while stateful does address assignment

Routing Many IPv6 hosts will have multiple addresses one for each router they can talk to (at least) IPv6 is supposed to easily enable renumbering networks by just changing network prefix Mobile routing is done by having a home address, and a care-of address, that is routed by the home agent via tunneling When devices roam to a new network (e.g. WiFi to cell data) it informs the home agent of care-of addr Keeps old IPv6 address to maintain connections

DNS Uses the same basic DNS structure as IPv4 Instead of A records, uses AAAA records $ dig aaaa ipv6.google.com... ;; ANSWER SECTION: ipv6.google.com. ipv6.l.google.com. 604800 IN CNAME ipv6.l.google.com. 300 IN AAAA 2001:4860:b006::68 MX and CNAME records use hostnames

Firewall Many IPv4 hosts live behind NAT so they can't be connected to from the internet That is not true with IPv6, by default all hosts will be reachable from the internet Stateful firewalling will be required

Ipv6 Commands Some standard commands have a 6 added: ping6: $ ping6 ::1 $ ping6 I eth0 ff02::1 traceroute6: $ traceroute6 i wlan0 fe80... iptables6 ifconfig and ip used to configure IPv6

Applications Some still need changes to handle IPv6: http://www.deepspace6.net/docs/ipv6_status_page_apps.html Some changes to user interfaces is required: https://[2001:db8:85a3:8d3:1319:8a2e:370:7348]:443/ Without routing set up, the interface is needed: ssh user@fe80::021d:baff:fe06:3764%eth0 Router uses radvd configuration file: /etc/radvd.conf responds to solicitations with router advertisements

IPv6 and IPv4 coexistence Hard to predict when (or if) IPv6 completely replaces IPv4 Currently the vast majority of the internet is IPv4-only IPv6 hosts can talk to IPv4 via tunneling Encapsulate IPv6 packets inside IPv4 packet data Tunnel endpoints pack/unpack IPv6 packets Several tunnel types: 6to4, Teredo, 6in4,... Teredo can work behind NAT (IPv4)

Tunnel brokers Various free (beer) services exist Hurricane Electric - http://tunnelbroker.net/ SixXS - http://www.sixxs.net/ Freenet6 - http://gogonet.gogo6.com/ Other regional brokers exist Set up router to send IPv6 traffic via the tunnel

World IPv6 Day Was held on June 8 Tested the readiness of IPv6 world-wide Major websites, including the top four, offered content over IPv6 Went pretty smoothly, no major issues reported IPv6 traffic increased still a blip against IPv4

More Information Can test your readiness and what needs to be done locally and at ISP, etc.: http://test-ipv6.com/ Books no real recent ones focused on Linux IPv6 in Practice Benedikt Stockebrand Debian sarge (2.6.8 kernel a bit outdated) Running IPv6 Iljitsch van Beijnum RH 9 and RHEL 4

Web Sites http://ipv6.com - lots of IPv6 information http://tldp.org/howto/linux+ipv6-howto/ has some holes, blank topics, but lots of good info http://www.deepspace6.net/docs/ipv6_status_page_apps.html status of application support for IPv6 Two Linux.com IPv6 crash course articles lots of good information in those Wikipedia Lots more