Internet Protocol v6
October 25, 2016
Internet Protocol v6 October 25, 2016 v6@nkn.in Table of Content - - PowerPoint PPT Presentation
Internet Protocol v6 October 25, 2016 v6@nkn.in Table of Content Why IPv6? Why IPv6? IPv6 Address Space IPv6 Address Space Customer LAN Migration Customer LAN Migration Why IPv6? Why IPv6? IPv6 Address Space IPv6
October 25, 2016
was exhausted on 3 February, 2011.
last /8 IPv4 block.
Microsoft has managed to purchase 666,624 IP addresses from the bankrupt Canadian company Nortel for $7.5m . This works out to $11.25/IP. An exact list of blocks isn't available.
I ETF I ANA RI R I SP End User
Regional Internet Registries (RIRs) distribute IPv4, IPv6, and AS numbers to the Internet community
http: / / [ 2001: 4408: : C1C0: 0000: ABCD: 786] / index.html http: / / [ 2001: 4408: : C1C0: 0000: ABCD: 786] : 8080/ index.html
gggg: gggg: gggg: ssss: xxxx: xxxx: xxxx: xxxx
Global Unicast Identifier
Network Portion Interface ID
Global Routing Prefix n <= 48 bits Subnet ID 64 – n bits Host
2405: 8a00: 0000: 0001: 0000: 0000: 0000: A100 2405: 8a00: 0: 1 : : A100
Example (Full Format) Abbreviated format
Link Local Unique Local Global
A unicast address identifies a single network interface.
Address of a set of interfaces. One-to-many delivery to all interfaces in the set
An anycast address is assigned to a group of interfaces, usually belonging to different nodes.
Link Local
A unicast address identifies a single network interface.
Address of a set of interfaces. One-to-many delivery to all interfaces in the set
An anycast address is assigned to a group of interfaces, usually belonging to different nodes.
NKN-SP-LAN#show ipv6 int Vlan196 is up, line protocol is up IPv6 is enabled, link-local address is FE80::6E20:56FF:FEC5:47DF No Virtual link-local address(es): Description: "LAN SAGEMENT 2 10.1.196.1 " Global unicast address(es): 2001:4408:5205:196::1, subnet is 2001:4408:5205:196::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:2 FF02::1:FF00:1 FF02::1:FFC5:47DF NKN-SP-LAN#show ipv6 int Vlan196 is up, line protocol is up IPv6 is enabled, link-local address is FE80::6E20:56FF:FEC5:47DF No Virtual link-local address(es): Description: "LAN SAGEMENT 2 10.1.196.1 " Global unicast address(es): 2001:4408:5205:196::1, subnet is 2001:4408:5205:196::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:2 FF02::1:FF00:1 FF02::1:FFC5:47DF
All nodes All routers Global Link-Local
FF02::1:FFC5:47DF MTU is 1500 bytes ICMP error messages limited to one every 100 milliseconds ICMP redirects are enabled ICMP unreachable are sent ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds (using 30000) ND advertised reachable time is 0 (unspecified) ND advertised retransmit interval is 0 (unspecified) ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds ND advertised default router preference is High Hosts use DHCP to obtain routable addresses. FF02::1:FFC5:47DF MTU is 1500 bytes ICMP error messages limited to one every 100 milliseconds ICMP redirects are enabled ICMP unreachable are sent ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds (using 30000) ND advertised reachable time is 0 (unspecified) ND advertised retransmit interval is 0 (unspecified) ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds ND advertised default router preference is High Hosts use DHCP to obtain routable addresses.
All routers Solicit node multicast Address
FE8 0 :0 0 0 0 :0 0 0 0 :0 0 0 0 : xxxx:xxxx:xxxx:xxxx
FC0 0 :gggg:gggg:
xxxx:xxxx:xxxx:xxxx ssss:
2 0 0 0 :gggg:gggg:
xxxx:xxxx:xxxx:xxxx ssss:
FF00:
XXXX:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX
Address Type IPv6 Binary Prefix IPv6 Prefix IPv4 Prefix Unspecified 000……0 (128 bits) ::/128 0.0.0.0/0 Loopback 000…..01 (128 bits) ::1/128 127.0.0.1 Unique Local Address 1111 110 FC00::/7 RFC 1918 {10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16} RFC 1918 {10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16} Link-local Unicast 1111 1110 10 FE80::/10
1111 1111 FF00::/8
224.0.0.0-239.255.255.255
Global Unicast 001 2000::/3 Class A, B & C
Version IHL Type of Service Total Length Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source Address Version Traffic Class Flow Label Payload Length Next Header Hop Limit Source Address
IPv4 Header IPv4 Header IPv6 Header Header
Destination Address Source Address Destination Address
Legend
14th field is optional (red background in table) and aptly named: options.
– The second field (4 bits) is the Internet Header Length (IHL), which is the number of 32-bit words in the header. – The minimum value for this field is 5 (RFC 791), which is a length of 5× 32 = 160 bits = 20
bytes.
(IPv6 Next Header Value 58) Must be fully implemented and supported
(IPv6 Next Header Value 58) Must be fully implemented and supported
solicited-node multicast addresses
– Globally-assigned prefix FF02::1:FF00:0/104 low-order 24 bits of a node address
Example: a node 2405:8A00:100:200::A101:3258 joins the multicast group FF02::1:FF01:3258 FF02:0:0:0:0:1:FF01:3258 (expanded form) IPv6 node MUST support Multicast All node with “similar” addresses share the same solicited-node multicast addresses Solicited-node multicast address format:
– Globally-assigned prefix FF02::1:FF00:0/104 – low-order 24 bits of a node address
Example: a node 2405:8A00:100:200::A101:3258 joins the multicast group FF02::1:FF01:3258 FF02:0:0:0:0:1:FF01:3258 (expanded form)
Address Scope Use
FF01::1 Node-local All Nodes FF01::2 Node-local All Routers FF02::1 Link-local All Nodes FF02::2 Link-local All Routers FF02::2 Link-local All Routers FF05::2 Site-local All Routers FF02::1:FFxx:xxxx Link-local Solicited-Node
MTU is the maximum size of IP packet that can be transmitted without fragmentation. In IPv6, MTU must be of at least 1280 bytes while in IPv4 it was only 68 bytes. IPv6 uses Path MTU discovery protocol to find the smallest MTU and works on that MTU there on.
PATH MTU DISCOVERY PATH MTU DISCOVERY 4000 1300 9000 1500
Settle down at 1300 Bytes Path MTU discovery is mandatory in IPv6 because Routers doesn’t perform fragmentation in IPv6. IPv6:- Fragmentation is handled by the Source through Path MTU discovery.
a00: : / 32 dress Block
2405:8a00:8000::/35 2405:8a00:8000::/35 2405:8a00:6000::/35 2405:8a00:6000::/35
2405:8a00:8000::/48 2405:8a00:8001::/48 2405:8a00:8002::/48 2405:8a00:9fff::/48 2405:8a00:6002::/48 2405:8a00:6001::/48 2405:8a00:6000::/48 2405:8a00:7fff::/48
MUMBAI NKN POP
. . . .
APNIC.
Infrastructure use. Rest Seven /35 block is assigned to NKN seven super core POPs. Every Super core will aggregating multiple institute. We have assigned /48 block of IPv6 to every Institute from respected super core block of /35.
BANGLURU NKN POP
2405: 8a00 NKN IPv6 Addre
2405:8a00:6000::/35 2405:8a00:6000::/35 2405:8a00:4000::/35 2405:8a00:4000::/35 2405:8a00:2000::/35 2405:8a00:2000::/35
2405:8a00:4002::/48 2405:8a00:4001::/48 2405:8a00:4000::/48 2405:8a00:7fff::/48 2405:8a00:5fff::/48 2405:8a00:2000::/48 2405:8a00:2001::/48 2405:8a00:2002::/48 2405:8a00:3fff::/48
DELHI NKN POP
. . . . NKN has got a 2405:8a00::/32 IPv6 block from APNIC. We divide this /32 block into Eight /35 blocks. First /35 block, is used for NKN Network Infrastructure use.
super core POPs.
institute.
Institute from respected super core block of /35.
NKN allocates / 48 to every Institute.
For Example:
Consider a case of Delhi : Block 2405: 8a00: 2000: : / 35 is allocated to Delhi NKN POP . From the given blocks, we will use multiples
2405:8a00:2000::/35
2405: 8a00: 2000: : / 48 2405: 8a00: 2001: : / 48 2405: 8a00: 2002: : / 48
to Delhi Super Core NKN POP .
2405:8a00:2000::/35
2405: 8a00: 2002: : / 48
/ 48 Blocks
is allocated to Institute 1.
is allocated to Institute 2.
2405: 8a00: 3fff: : / 48
Similar to IPv4 Similar to IPv4 New in IPv6 New in IPv6
Manually configured Stateless configuration
Router Solicitation Router Announcement
2 1
(/64 prefix, timers, etc…)
Assigned via DHCP
DHCPv6 Request DHCPv6 Reply RS RA 2 1 4 3
(/64 prefix, timers, etc…)
IPv6 Address = /64 prefix + EUI-64 (e.g. MAC address)
Auto-generated pseudo-random number (rfc3041)
Router Solicitation Router Announcement
2 IPv6 Address = /64 prefix + Random 64 bits (rfc3041) 1
RA Message Sends Network-Type Information At boot time, an IPv6 host build a Link-Local address, then its global IPv6 address(es) from RA
Subnet Prefix + Interface-ID Subnet Prefix + Interface-ID
At boot time, an IPv6 host build a Link-Local address, then its global IPv6 address(es) from RA
1. Router Advertisement (RA) sent with “A-Flag” = ON (Default behavior) 1. Router Advertisement (RA) sent with “A-Flag” = ON (Default behavior)
ICMP type = 134 Src = Router link layer address Dst = All node multicast address (ff02::1) Data = link-layer address of Router Prefix = 2405:8a00:1::/64
Auto-configuration with “no collisions” Offers “plug and play”
Extended Unique Identifier
00 26 B9 FF FE 9B 95 49 FF FE 00 26 B9 9B 95 49 00 26 B9 9B 95 49
configured
MAC address to 64 bits by inserting FFFE into the middle 16 bits U bit is inverted when using EUI- 64 format
000000U0 Where U= 1 = Unique 0 = Not Unique 02 26 B9 FF FE 9B 95 49 U = 1
EUI-64 Format
Interface-ID can be manually configured
This format expands the 48 bit MAC address to 64 bits by inserting FFFE into the middle 16 bits
64 format
based on SAC but other information like DNS will be received via DHCPv6
preconfigured with other configuration like DNS.
server and host must be preconfigured as relay router Host will receive:
List of DHCPv6 Servers Network address (using SAC) List of DNS etc (using DHCPv6) Domain search list option (using DHCPv6)
DHCPv6 Server Edge Router(R1) Edge Router(R2)
Host is configured an address based on SAC but other information like DNS will be received via DHCPv6 DHCP server must be preconfigured with other configuration like DNS.
server and host must be preconfigured as relay router
– List of DHCPv6 Servers – Network address (using SAC) – List of DNS etc (using DHCPv6) – Domain search list option (using DHCPv6)
L3 Switch L2 Switch L2 Switch
DHCPv6-Serv-1 DHCPv6-Relay-3 Core Router 1. Router Advertisement (RA) sent, containing link prefix, with “A-Flag” = ON (Default behavior) also with “O-Flag” = ON 1. Router Advertisement (RA) sent, containing link prefix, with “A-Flag” = ON (Default behavior) also with “O-Flag” = ON
DHCPv6-Client-1 DHCPv6-Relay-3
DHCPv6 Server Edge Router (R1) Edge Router (R2)
L3 Switch Edge Router (R1) L2 Switch L2 Switch Edge Router (R2)
RA’s can be used to control DHCPv6 Client Behavior
DHCPv6-Serv-1 Core Router 1. Router Advertisement (RA) sent with “M-Flag” = ON with “A-Flag” = OFF 1. Router Advertisement (RA) sent with “M-Flag” = ON with “A-Flag” = OFF DHCPv6-Client-1 DHCPv6-Relay-3 DHCPv6-Relay-1
DHCPv6 Server Edge Router(R1) L2 Switch Pool of /64 prefixes from 2405:8a00::/32 DHCPv6 Address Assignment 2405:8a00:1000:1::2/64 2405:8a00:1000:1::/64 2405:8a00:1000:2::/64 L2 Switch 2405:8a00:1000:1::1/64 2405:8a00:1000:2::1/64 2405:8a00:1000:1::2/64 L3 Switch Proxy
Edge router
for a DHCP server) will act as a DHCP server for Host same as in stateful/ stateless DHCPv6.
prefix address to be delegated to Edge router.
server must be preconfigured as relay router Intermediary routers/L3 between end system and edge routers must be preconfigured as relay router. Host will receive:
List of DHCPv6 Servers Network address List of DNS etc Domain search list option
DHCPv6 Server PE Edge Router (R2) PE Edge Router (R1)
DHCP server will delegate prefix addresses to Edge router Edge router (which act as a delegation client for a DHCP server) will act as a DHCP server for Host same as in stateful/ stateless DHCPv6. DHCP server must be preconfigured with prefix address to be delegated to Edge router.
server must be preconfigured as relay router
and edge routers must be preconfigured as relay router.
– List of DHCPv6 Servers – Network address – List of DNS etc – Domain search list option
L3 Switch L2 Switch L2 Switch
DHCPv6 Server Edge Router acting as DHCP Server L2 Switch Pool of /64 prefixes from 2405:8a00::/32 DHCPv6 Address Assignment 2405:8a00:1000:0001::2/64 2405:8a00:1000:1::/56 2405:8a00:1000:256::/56
DHCPv6 Address Delegation 2405:8a00:1000:0001::/56 L2 Switch 2405:8a00:1000:0001::1/64 2405:8a00:1000:0002::1/64 2405:8a00:1000:0001::2/64 DHCPv6 Address Assignment 2405:8a00:1000:0001::2/64 Proxy L3 Switch
Auto Installation Link Management Lease Management
Auto Installation Policy Management Lease Management Client Management Failover Management
ZEN)
IPv4 Vulnerabilities IPv6 Vulnerabilities