• No results found

1731310054 SLAAC Presentation

N/A
N/A
Protected

Academic year: 2020

Share "1731310054 SLAAC Presentation"

Copied!
42
0
0

Loading.... (view fulltext now)

Full text

(1)

IPV6

STATELESS AUTOCONFIGURATION

(2)

AUTOCONFIGURATION

IPv6 Stateless

Autoconfiguration: the router and the host create an IPv6

address and a default route

IPv6 Stateful Autoconfiguration:

(3)

CONFIGURATION

 stateless address autoconfiguration

1) duplicate address detection (link-local addr.) 2) host sends router solicitation packet

3) router sends router advertisment packet

4) host builds address from interface identifier

(known) and prefix (sent by router with 3)

5) duplicate address detection again

 stateful address autoconfiguration

(4)

IPV6 ADDRESSING

 IPv6 Addressing rules are covered by multiples

RFC’s

Architecture defined by RFC 2373

 Address Types are :

Unicast : One to One (Global, Link local, Site local,

Compatible)

Anycast : One to Nearest (Allocated from Unicast)

Multicast : One to Many

Reserved

 A single interface may be assigned multiple IPv6

addresses of any type (unicast, anycast, multicast)

(5)
(6)

ANYCAST

 IPv4 has unicast, broadcast, multicast

 IPv6 has no broadcast (uses multicast)

 But there’s the new anycast

 Sends a packet to the nearest of a set of hosts

(7)

iMac

iMac

iMac

Unicast

Anycast

(8)

IPV6 ADDRESSING MODEL

 Addresses are assigned to interfaces

 No change from IPv4 Model

 Interface can have multiple addresses

 -64 bits of 128

 Addresses have scope

Link Local

Site Local

Global

 Addresses have lifetime

 Valid and Preferred lifetime

Link-Local

(9)

NEIGHBOR DISCOVERY (RFC 2461)

 Protocol built on top of ICMPv6 (RFC 2463)

 combination of IPv4 protocols (ARP, ICMP,…)

Neighbour Discovery:

Determines the link-layer address of a neighbour on

the same link, Duplicate Address Detection

Finds neighbour routers, Keeps track of neighbours

 defines ICMPv6 packet types including

Router Solicitation / Router Advertisements

(10)

STATELESS AUTOCONFIGURATION

Prefix Advertisement

 Advertises prefixes & parameters on a local link.

This information is used by IPv6 nodes to configure their IPv6 addresses

DAD

 Ensures that each IPv6 address configured on an

interface using stateless auto configuration is unique

IPv6 Stateless Autoconfiguration

(11)

1. IPV6 INTERFACE ID

 Cisco uses the extended universal

identifier (EUI)-64 format to do stateless autoconfiguration.

 This format expands the 48-bit MAC address

to 64 bits by inserting “FFFE” into the middle 16 bits.

 To make sure that the chosen address is from

a unique Ethernet MAC address, the

(12)
(13)

STATELESS AUTOCONFIGURATION PROCESS

IPv6 Stateless Autoconfiguration

13

Generate a link local address

Verify this tentative address Is ok. Use a neighbor solicitation

with the tentative address as the target. ICMP type 135

If the address is in use a neighbor advertisement

Message will be returned. ICMP type 136

If no response

Assign the address to the Interface. At this point the

Node can communicate On-link.

(14)

STATELESS AUTOCONFIGURATION PROCESS

IPv6 Stateless Autoconfiguration

14

Assign address to Interface.

Node joins the All Routers Multicast group. FF02::1

Sends out a router

Solicitation message to That group. ICMP type 133

Router responds with a Router advertisement.

(15)

2. STATELESS AUTOCONFIGURATION

(16)

 Stage 2: The router replies with a router advertisement.

(17)

3. DUPLICATE ADDRESS DETECTION

Duplicate Address Detection (DAD) uses neighbor

solicitation to verify the existence of an address to be configured.

ICMP type = 135

Src = 0 (::) Dst = Solicited-node multicast of A

Data = link-layer address of A Query = what is your link address?

(18)

ADDRESS AUTOCONFIGURATION

 Stateful:

 Problem w stateless: Anyone can connect

 Routers ask the new system to go DHCP server

(by setting managed configuration bit)

 System multicasts to "All DHCP servers"

(19)
(20)
(21)
(22)

IOS COMMANDS

config# ipv6 unicast-routing  #int fa0/0

 config-if#ipv6 en

 #do sh ipv6 int ***this gives the router a link-local address

 #ipv6 address FEC0:0:0:123::/64 eui-64 ***giving the router site-local add  ***u can do the same for all other routers with the same command as MAC

addresses are unique

 #ipv6 address 2001:0:0:123::1/64 ***giving router global address  ****u can assign ::2 to the next router

 #no shut

 #sh ipv6 int br ***show interfaces

 config-if #do ping “remote IP address e.g. FE80::20D…”  ***Output Interface is “Fastethernet0/0” in full

 #ping <IPV6 address>

(23)

ENABLE IPV6

(24)

STATELESS AUTOCONFIGURATION

Link Local, Site-Local

(25)

STATELESS AUTOCONFIGURATION

Ping other configured

router or host

State Interface

(26)

STATELESS AUTOCONFIGURATION

Link Local address IP address

(27)

STATELESS AUTOCONFIGURATION

IP address assigned Set to

(28)

STATELESS AUTOCONFIGURATION

IP address assigned Set to

(29)

STATELESS AUTOCONFIGURATION

(30)

STATELESS AUTOCONFIGURATION

(31)

MULTICAST LISTENER DISCOVERY: SOLICITED NODE MULTICAST GROUP

(32)
(33)
(34)
(35)
(36)

STATELESS AUTOCONFIGURATION

Advertising that they have

joined Multicast group with the

(37)
(38)

ANONYMOUS ADDRESSING

Anonymo us, Public

(39)

ANONYMOUS ADDRESSING

Anonymous IP was set because

(40)
(41)
(42)
http://standards.ieee.org/develop/regauth/tut/eui64.pdf http://www.crhc.illinois.edu/wireless/bill/IP%20Address%20Autoconfiguration%2 http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipv6/configuration/15-2s/ip6-1 http://www.6diss.org/tutorials/autoconfiguration.pdf http://www.youtube.com/watch?v=n97ObJG5RbM http://www.youtube.com/watch?v=_cVYVAmsTWE http://www.youtube.com/watch?v=sKC8uvNiisw

References

Related documents

If Router A sends an update to Router B with a higher metric than what is currently in Router B’s routing table, that route will be placed in a hold-down state.. IGRP

- IP router forwards packet to port 2 to reach Host C (based on IP level routing data using destination IP address of host C) - IP router needs Ethernet address of Host C to send

Consulting Project Lifecycle & Roles: Ideal Project Partner 1 Initial Client Relationship.. c Victor Cheng, All

MACFF notes the associated router entry (cont. from previous page) Host Z sends ARP request for X MACFF replies with MAC address of Z’s router Z receives ARP reply

1)   Host-A sends an ARP for Host-B. 2)   Router-A looks up the VNI association for Host-B. 3)   There is no entry and the ARP is VXLAN encapsulated and sent out to the IP

Health care advocates are using a photo exhibit to lobby Connecticut state lawmakers on a measure regulating insurance rules for pain medication. Pain Foundation will start a

Although^BMfchas her Masters Degree, she recalled that, &#34;Back in the 1980's hospitals offered one year certificate programs for RNs to become NPs&#34; (S. Metro Hospital paid

Case management is usually characterized by its basic functions: assessment, planning, linking, monitoring and advocacy (SAMHSA, 2002). Despite the lack of a common definition