ipv6 and gns3(draft v 1.4)

Upload: fredericsnyers

Post on 01-Jun-2018

233 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    1/33

    IPv6 network in GNS3

    OLT KBO SNYERS Frdric

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    2/33

    Outline

    Introduction IPv6

    IPv6 Addressing

    Neighbor Discovery Protocol (NDP) GNS3 Setup

    GNS3 Connectivity

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    3/33

    Introduction to IPv6

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    4/33

    Introduction IPv6 Shortcomings IPv4:

    Limited address space (IPv4 32-bit -> IPv6 128-bit) Forces using of NAT | Private and public addresses

    Address configuration issues Need for DHCP

    IPsec was later addition to IP

    Large routing tables

    QOS is limited

    Advantages IPv6 Larger address space

    Stateless and stateful address Autoconfiguration is possible (NO DHCP needed)

    Built-in security of IPsec

    Better QOS support (more fields reserved)

    Improved Host and Router Discovery (NDP)

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    5/33

    Conclusion

    Easier management of networks

    Auto configuration (no DHCP required)

    End-to-end connective integrity

    Direct addressing (no NAT required)

    Unconstrained address abundance

    128 bit addresses

    Security Features

    Built in IPsec

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    6/33

    IPv6 Addressing

    128-bit addresses

    Auto configuration requires 64bit (interface

    ID) -> based on MAC-address (48bit)

    ! Privacy concern (no NAT) ! -> privacy

    extension added

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    7/33

    IPv6 Addressing

    3 Types of addressing:

    Unicast (one to one)

    Anycast (one to nearest of group)

    Think of DNS-servers

    Manually group configuration

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    8/33

    IPv6 Addressing Multicast:

    FF ::

    Group ID=1 : Nodes

    Group ID=2 : Routers

    Group ID=5 : OSPFv3 Routers

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    9/33

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    10/33

    IPv6 Addressing

    Solicited-node multicast address (SNMA) Type of anycast

    Used for L2 address resolution -> Neighbor solicitation

    Duplicate Address Detection Send to proposed SNMA

    If no answer -> address is free.

    FF02::1:FFXX:XXXX

    Multicast Scope-ID Solicited-node Last 24-bits of IPv6 address

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    11/33

    IPv6 Addressing

    Interface-ID:

    Automatically (EUI-64) -> based on MAC (GUA)

    DHCPv6 -> attributed

    Random (private)

    Manually (statefull)

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    12/33

    Neighbor Discovery Protocol (NDP)

    Functionalities

    Router and subnet discovery

    Address auto-configuration

    L2 L3 Address resolution => NO ARP

    Neighbor unreachability detection

    Duplicate address detection

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    13/33

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    14/33

    Router Solicitation message

    Every node can request all routers on local link by

    sending RS messages. Need of network information

    Source: LLA

    Destination: Router Multicast (ff02::2)

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    15/33

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    16/33

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    17/33

    Router Advertisement message

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    18/33

    Router Advertisement

    S: LLA

    D: Node Multicast

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    19/33

    Neighbor Solicitation | Advertisement message:

    L2L3 address resolution (ARP replacement)

    Duplicate Address Detection

    Host availability check

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    20/33

    Neighbor Solicitation message:

    Source: LLA (L2L3) or unspecified (stateless

    conf)

    Destination: unicast or SNMA

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    21/33

    Neighbor Solicitation

    S: not applicable

    D: SNMA

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    22/33

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    23/33

    Neighbor Advertisement

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    24/33

    Neighbor Redirect Message

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    25/33

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    26/33

    GNS3 Setup

    Topology

    3 cisco c7200 routers (3 fe interfaces), 2 Ethernet

    switches and 2 Ubuntu 14.04 clients

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    27/33

    GNS3 Setup

    Subnetting:

    Addressing Automatic eui-64 addressing on all nodes and

    interfaces.

    f0/0 f0/1 f1/0 Router-ID

    R1 2014:1:1:1221/64 2014:1:1:1331/64 2014:2:2:A/64 1.1.1.1

    R2 2014:1:1:1221/64 2014:1:1:2332/64 2014:2:2:A/64 2.2.2.2

    R3 2014:1:1:1331/64 2014:1:1:2332/64 2014:2:2:B/64 3.3.3.3

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    28/33

    GNS3 Setup

    Host configuration

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    29/33

    GNS3 Setup

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    30/33

    GNS3 Setup

    Routing:

    OSPFv3 (IPv6 based) with router-id (Ipv4)

    Only 1 area is considered (small network)

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    31/33

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    32/33

    GNS3 Connectivity

    Ping:

    Host B

    Host A

  • 8/9/2019 IPv6 and GNS3(Draft v 1.4)

    33/33

    References

    Cisco 7200 Series Port Adapter Hardware ConfigurationGuidelines, Bandwidth Points Documentation

    IPv6 Configuration Guide, Cisco IOS Release 15.2MT

    IPv6 Neighbor Discovery Problems, Joel Jaeggli

    What are the limitations of IPv4, What is IPv6, BoscoEduardo Fernandes

    RFC 4861: Neighbor Discovery for IPv6

    IPv6 Neighbor Discovery Messages, Lawrence Hughes

    Types and Categories of IPv6 Addresses, TCP/IP UsersGuide, SC24-6127-04