An Introduction To IPv6
An Introduction To IPv6
TECRST-1301
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Agenda
Why IPv6?
IPv6 Technology
IPv6 Configuration
IPv4/IPv6 Transition & Co-existence
IPv6 Routing
IPv6 Services
Conclusion
The Global Internet Challenges
There are arguably two intertwined problems
Depletion
p of Global and Private IPv4 address space
p
Addressed by IPv6 and stop gap measures such as NAT, CIDR
Available AS number pool also shrinking (hence 32 bit AS numbers)
Private RFC1918 space is not big enough for many SPs
Growing size of the Internet routing table
As IPv6 grows aggregation is desirable (PI vs PA)
The available IPv4 resource pool has now been reduced to the point that
ARIN is compelled to advise the Internet community that migration to IPv6
is necessary for any applications that require ongoing availability from
ARIN of contiguous IP number resources.”
Agenda
Why IPv6?
IPv6 Technology
IPv6 Configuration
IPv4/IPv6 Transition & Co-existence
IPv6 Routing
IPv6 Services
Conclusion
Why IPv6?
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 9
Agenda
Why IPv6?
IPv6 Technology
IPv6 Configuration
IPv4/IPv6 Transition & Co-existence
IPv6 Routing
IPv6 Services
Conclusion
IPv6 Technology
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 15
Source Address
Destination Address
Options Padding Source Address
Legend
Base header
Next Header = 0
IPv6 Base Header
(40 octets)
1st Extension
E t i
Header 0 or more
…
Next Header = 43 IPv6
Extension Headers Packet
Last Extension
Header
Next Header = 17 Data
N tH
Next Header
d = 17 E t Hdr
Ext Hd Length
L th
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 23
IPv6 Addressing
IPv6 Addressing
Addressing Format
Representation
16-bit hexadecimal numbers
Numbers are separated by (:)
Hex numbers are not case sensitive
Abbreviations are possible
Leading zeros in contiguous block could be represented by (::)
Example:
2001:0db8:0000:130F:0000:0000:087C:140B
2001:0db8:0:130F::87C:140B
Double colon only appears once in the address
Addressing
Prefix Representation
Representation of prefix is just like CIDR
In this representation you attach the prefix length
Like v4 address:
198.10.0.0/16
Addressing
Some Special Addresses
Aggregatable Global
001 2 or 3
Unicast Address
Link Local Unicast
1111 1110 10 FE80::/10
Address
FC00::/7
Unique Local Unicast 1111 1100
FC00::/8(registry)
Address 1111 1101
FD00::/8 (no registry)
Unicast
Address of a single interface. One-to-one
One to one delivery to
single interface
Multicast
Address of a set of interfaces. One-to-many delivery to all
interfaces in the set
Anycast
Address of a set of interfaces. One-to-one-of-many delivery to
a single interface in the set that is closest
001
128 Bits
Global ID 40 Bits Interface ID
7 Bits
Link-Local
128 Bits
Remaining 54 Bits Interface ID
1111 1110 10
FE80::/10
10 Bits
Link-Local Addresses Used for:
Mandatory Address for Communication between two IPv6 device
(like ARP but at Layer 3)
Automatically assigned by Router as soon as IPv6 is enabled
Also used for Next-Hop calculation in Routing Protocols
Only Link Specific scope
Remaining 54 bits could be Zero or any manual configured value
IPv6 Multicast Address
IP multicast address has a prefix FF00::/8
(1111 1111); the second octet defines the lifetime
and scope of the multicast address
Lifetime Scope
0 If Permanent
1 Node
2 Link
1 If Temporary
5 Site
8 Organization
E Global
Corresponding
33 33 FF 17 FC 0F
Ethernet Address
Multicast Prefix
for Ethernet
Multicast
Anycast
Anycast Address Assignment
Prefix 00000
Anycast ID
Syntactical the same 0 If EUI-64 Format
as a Unicast address X= 7 bits
1 If Non-EUI-64 Format
Is one-to-nearest
type of address
Use Example: Mobile IPv6
Has a current limited use Home-Agent Anycast Address
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 45
ICMP Router
Router Discovery RS, RA
Discovery
Neighbor Discovery
1 RS
1. 2 RA
2.
Neighbor Solicitation
ICMP type = 135
Src = A
Dst = Solicited-node multicast of B
Data = link-layer address of A
Query = what is your link address?
Neighbor Advertisement
ICMP type = 136
Src = B
Dst = A
Data = link-layer address of B
L2 Destination:
L2 multicast address
corresponding to target
IPv6 Solicited Node Address
L3 Source:
IPv6 Link-Local Address of source
L3 Destination:
Solicited Node Address
corresponding to target
IPv6 address of destination
Contents of NA
L3 Source:
IPv6 Link-Local Address of source
L3 Destination:
IPv6 Link-Local Address
of destination
Ethernet Header
• Dest MAC is 3333-33-FF-52-F9-D8
33 FF 52 F9 D8
IPv6 Header
• Source Address is ::
• Destination Address is FF02::1:FF52:F9D8
• Hop limit is 255
Neighbor Solicitation Header
Host A
• Target Address is
Tentative IP: FE80::2:260:8FF:FE52:F9D8
FE80::2:260:8FF:FE52:F9D8
Ethernet Header
• Destination MAC is 33-33-00-00-00-01
IP 6 Header
IPv6 H d
• Source Address is FE80::2:260:8FF:FE52:F9D8
• Destination Address is FF02::1
• Hop limit is 255
Neighbor Advertisement Header
• Target Address is FE80::2:260:8FF:FE52:F9D8
Host A
Neighbor Discovery Option
Tentative IP: FE80::2:260:8FF:FE52:F9D8
• Target Link-Layer Address is 00-60-08-52-F9-D8
N i hb Advertisement
Neighbor Ad ti t
MAC: 00-60-08-52-F9-D8
IP: FE80::2:260:8FF:FE52:F9D8
R2
Src = A
R1 Dst IP = 2001:db8:C18:2::1
Dst Ethernet = R2 (default router)
Redirect:
Src = R2
Dst = A
2001:db8:C18:2::/64 Data = good router = R1
Autoconfiguration
Mac Address:
00:2c:04:00:FE:56
Mac Address:
00:2c:04:00:FE:56
Renumbering (Cont.)
Router Configuration after Renumbering:
interface Ethernet0
ipv6 nd prefix 2001:db8:c18:1::/64 43200 0
i 6 nd
ipv6 d prefix
fi 2001
2001:db8:c18:2::/64
db8 18 2 /64 43200 43200
or:
interface Ethernet0
ipv6 nd prefix 2001:db8:c18:1::/64 at Jul 31 2008 23:59 Jul 20 2008 23:59
ipv6 nd prefix 2001:db8:c18:2::/64 43200 43200
Router Advertisements
Host Configuration:
deprecated address 2001:db8:c18:1:260:8ff:fede:8fbe
Autoconfiguring preferred address 2001:db8:c18:2:260:8ff:fede:8fbe
IPv6 Hosts
DHCP and DNS for IPv6
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 61
DNS Basics
DNS is a database managing Resource Records (RR)
Stoc k ag e of RR from v ariou s ty pes— IPV 4 and IPV 6:
Start of Au thority (S oA)
NameS erv er
Address— A and AAAA
Pointer— PTR
DNS is an IP application
It u ses either UDP or TCP on top of IPv 4 or IPv 6
References
RFC3596: DNS Extensions toS upport IPV ersion 6
RFC3363: Representing Internet Protoc olV ersion 6 Addresses in Domain Name
sy stem (DNS )
RFC3364: Tradeoffs in Domain NameS ystem (DNS )S upport for Internet
Protoc ol v ersion 6 (IPv 6)
IPv6 and DNS
IPv4 IPv6
Core
Router
DHCPv6-Relay-3
DHCPv6-Relay-1
DHCPv6-Client-1
Core
Router
DHCPv6-Relay-3
DHCPv6-Relay-1
DHCPv6-Client-1
Router Advertisement
Host
PE CPE
IS P E1 E0
CPE DoS
Do S tateless Address Use Dhc pv 6 for Other Config .
Host 1 01
Rou ter Assig nment (i.e.,S tateless Dhc pv 6)
Stateless (RFC2462)
RS Are Sent by Booting Nodes to Request RAs for
Configuring the Interfaces; Host Autonomously
Configures Its Own Link-Local Address
Prefix/Options Assignment
Host
PE CPE
IS P E1 E0
DHCPv6 Operation
Client Relay Server
Solicit
Relay-Fwd
w/Solicit
/S li i
Relay-Reply
w/Advertise
Advertise
Request
Relay-Fwd
w/Request
Relay-Reply
w/Reply
Reply
Why IPv6?
IPv6 Technology
IPv6 Configuration
IPv4/IPv6 Transition & Co-existence
IPv6 Routing
IPv6 Services
Conclusion
IPv6 Configurations
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 72
IOS IPv6 Addressing Examples (1)
Manual Interface Identifier
Fast0/0
ipv6 unicast-routing
!
interface FastEthernet0/0
ip address 10.151.1.1 255.255.255.0
ip pim sparse-mode
d l
duplex auto
speed auto
ipv6 address 2006:1::1/64
ipv6 enable
ipv6 nd ra-interval 30
ipv6 nd prefix 2006:1::/64 300 300
!
Fast0/0
ipv6 unicast-routing
!
interface FastEthernet0/0
ip address 10.151.1.1 255.255.255.0
ip pim sparse-mode
duplex auto
speed auto
ipv6 address 2006:1::/64 eui-64
ipv6 enable
ipv6 nd ra-interval 30
ipv6 nd prefix 2006:1::/64 300 300
!
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 77
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 80
HSRP for IPv6
Many similarities with HSRP for IPv4
Changes occur in Neighbor
Advertisement, Router Advertisement, HSRP HSRP
and
d ICMP
ICMPv66 redirects
di t A ti
Active Standb
Standby
No need to configure GW on hosts (RAs
are sent from HSRP Active router)
Virtual MAC derived from HSRP
group number and virtual IPv6 interface FastEthernet0/1
Link-local address ipv6 address 2001:DB8:66:67::2/64
IPv6 Virtual MAC range: ipv6 cef
0005.73A0.0000 - 0005.73A0.0FFF standby version 2
(4096 addresses) standby 1 ipv6 autoconfig
HSRP IPv6 UDP Port Number 2029 standby
sta dby 1 t
timers
e s msec
sec 250
50 msec
sec 800
(IANA Assigned) standby 1 preempt
No HSRP IPv6 secondary address standby 1 preempt delay minimum 180
standby 1 authentication md5 key-string cisco
No HSRP IPv6 specific debug
standby 1 track FastEthernet0/0
Host with GW of Virtual IP
#route -A inet6 | grep ::/0 | grep eth2
::/0 fe80::5:73ff:fea0:1 UGDA 1024 0 0 eth2
First-Hop Redundancy
When HS RP,GLBP andV RRP for IPv 6 are not av ailable
NUD c an be u sed for ru dimentary HA at the first-hop (today this only applies
to the Campu s/DC…H
s/DC HS RP is av ailable on rou ters)
(config-if)#ipv6 nd reachable-time 5000
Hosts u se NUD “reac hable time” to c ycle to next k nown defau lt g ateway
(30 sec onds by defau lt)
Why IPv6?
IPv6 Technology
IPv6 Configuration
IPv4/IPv6 Transition & Co-existence
IPv6 Routing
IPv6 Services
Conclusion
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 84
IPv4-IPv6 Transition/Coexistence
Dual-Stack Techniques
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 86
IPv6 Using Dual Stack Backbone
IPv6 + IPv4
Dual Stack App IPv4 + IPv6 Edge IPv4 and/or IPv4 edge
Core
CE PE P P PE CE
IPv
4
IPv
6 IPv4/IPv6 IPv4 configured interface
IPv Core
4 IPv
6
CE PE P P PE CE
IPv
4
IPv
6 IPv4/IPv6
IPv Core
4 IPv
6
ipv6 unicast-routing
interface Ethernet0
ip address 192
192.168.99.1
168 99 1 255
255.255.255.0
255 255 0
ipv6 address 2001:db8:213:1::1/64
Dual Stack Approach
IPv6-Enabled Application
Application
Preferred
TCP UDP TCP UDP Method on
Application’s
Servers
IPv4 IPv6 IPv4 IPv6
Frame
0x0800 0x86dd 0x0800 0x86dd
Protocol ID
Data Link (Ethernet) Data Link (Ethernet)
192.168.0.3
www.example.org = * ?
IPv
4
DNS IPv4
Server IPv6
IPv
6
www IN A 192.168.0.3
www IN AAAA 2001:db8:1::1 2001:db8:1::1
Resp=“2001:db8:1::1” Type=“AAAA”
Router A OR
DNS
B server
Resp=“NONE”
Query=“www.example.org” TYPE=“A”
Resp=“192.168.0.3” Type=“A”
Tunneling Techniques
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 92
Tunneling Techniques
GRE
Manual
6to4
DMVPN
ISATAP
MPLS Manual
MPLS 6PE
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 94
Manually Configured GRE Tunnel
Dual-Stack Dual-Stack
Router1 Router2
IP 4
IPv4
IPv6 IPv6
Network Network
router1# router2#
Dual-Stack Dual-Stack
Router1 Router2
IP 4
IPv4 IPv6
IPv6
network network
router1# router2#
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 97
2002:c80b:0b01:0100
0100: 0000:0000:0000:0001 Server Address
6 to 4 Configuration
IPv6 IPv6 IPv4 IPv6
Packet Packet Header Packet
200.15.15.1 (e0/0)
IPv4 192.88.99.1 (lo0)
Backbone Network
IPv6 PE PE 2002:c058:6301::1 (lo0)
2002:c80f:0f01 6 to 4 Tunnel IPv6 Relay
CE
P P
PE IPv6 Internet
2002:c80f:0f01:100::1
2000::/3
192.88.99.1 (lo0)
2002:c058:6301::1 (lo0) IPv6 Relay
6 to 4 Relay Configuration
IPv6 IPv6 IPv4
Packet Packet Header
200.15.15.1 (e0/0)
IPv4 192.88.99.1 (lo0)
Backbone Network
IPv6 PE PE 2002:c058:6301::1 (lo0)
2002:c80f:0f01 6 to 4 Tunnel
CE
P P
PE IPv6 Internet
2002:c80f:0f01:100::1
2000::/3
192.88.99.1 (lo2)
2002:c058:6301::1 (lo2)
interface tunnel 2002 interface Loopback2
ipv6 address 2002:c80f:0f01::1/128 ip address 192.88.99.1 255.255.255.0
tunnel source ethernet0/0 ipv6 address 2002:C058:6301::1/128
tunnel mode ipv6ip 6to4 !
interface Tunnel2002
interface ethernet 0/0 ipv6 unnumbered Loopback2
ip address 200.15.15.1 255.255.255.0 tunnel source Loopback2
tunnel mode ipv6ip 6to4
interface ethernet 1/0 !
ipv6 address 2002:c80f:0f01:100::2/64 ipv6 route 2002::/16 Tunnel2002
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 103
IPv4
IPv6 Public Network IPv6
2001:db8:0:1::/64 PE PE 2001:db8:0:2::/64
Dynamic Spoke to Spoke Tunnel
Static Spoke to Hub Tunnel Static Spoke to Hub Tunnel
CE P P CE
SPOKE PE SPOKE
NHRP IPv6
Database 2002:db8::/64
CE
HUB
For your
reference
IPv6 Phase 1 ‘Show ipv6 nhrp’
2001:DB8:0:100::B/128
2001 DB8 0 100 B/128 via
i 2001
2001:DB8:0:100::B
DB8 0 100 B
Hub Tunnel0 created 1d16h, expire 00:04:58
Type: dynamic, Flags: unique registered used
NBMA address: 172.16.1.1
FE80::A8BB:CCFF:FE00:C800/128 via 2001:DB8:0:100::B
Tunnel0 created 1d16h, expire 00:04:58
Type: dynamic, Flags: unique registered
NBMA address: 172.16.1.1
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 109
RFC 4214
This is for enterprise networks such as corporate and
academic networks
Scalable approach for incremental deployment
ISATAP makes your IPv4 infrastructure as transport
(NBMA) network
ISATAP Address Format
ISATAP hosts use a special IPV6 address format
Interface ID carries information
Rightmost 32 bits contains the host IPv4 address
Leftmost 32 bits contains “0000:5EFE”
Global prefix provided by ISATAP router
Interface ID portion remain static for all packets
Link-Local addresses used for solicitation of global address
192 168 1 1
192.168.1.1
Host Address
Interface ID
192 168 2 1
192.168.2.1 192.168.4.1
192 168 4 1
IPv4 Corporate 2001:db8:face:2::5efe:c0a8:0401
Network
PE PE IPv6
ISATAP Tunnel Networ
DNS k
ISATAP P P ISATAP
Query “ISATAP” Router
Host
Reply “192.168.4.1”
Router Solicitation Encaps in IPv4
IPv4 192.168.2.1
Source: 192.168.4.1
IPv4 Dest: fe80::5efe:c0a8:0201
IPv6 fe80::5efe:c0a8:0401
Source:
IPv6 Dest:
Encaps in ISATAP
Request: IPv4 Prefix? Router Advertisement
IPv4 192.168.2.1
Source: 192.168.4.1
IPv4 Dest: fe80::5efe:c0a8:0201
IPv6 fe80::5efe:c0a8:0401
Source:
IPv6 Dest:
Reply: 2001:db8:face:2/64
ISATAP Nodes Use 3 Addresses
IPv6 IPv4 IPv6 IPv4 IPv6
Packet Header Packet Header Packet
192 168 2 1
192.168.2.1 192.168.4.1
192 168 4 1
IPv4 Corporate 2001:db8:face:2::5efe:c0a8:040
Network 1
PE PE IPv6
ISATAP Tunnel Networ
k
ISATAP P P ISATAP
Host Router
192 168 2 1
192.168.2.1 192.168.4.1
192 168 4 1
IPv4 Corporate 2001:db8:face:2::5efe:c0a8:0401
Network
XP PE PE IPv6
ISATAP ISATAP Tunnel Networ
Host k
P P ISATAP
Router
ipv6 install
netsh interface ipv6 isatap set router 192.168.4.1
interface Ethernet0
PC config does not use DNS !
ip address 192.168.4.1 255.255.255.0
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 115
CE PE P P PE CE
IPv6 Manual Tunnel over LSP
IPv6
IPv4
MPLS
IPv6 Manual Tunnel over LSP IPv6
CE PE P P PE CE
Uses manu al tu nnel c onfig u ration as prev iou sly discu ssed
Tu nnel in Tu nnel Method (P2P tu nnels)
Manual Tunnel running over Label Switch Path (protocol=41)
Double encapsulation, first IPv4 then into MPLS frame (tunnel overhead)
Tunnels terminate on PE
CE rou ters sing le stac k , PE mu st be du al stac k
MP-BGP c an be ru n ov er tu nnel to distribu te IPv 6 rou tes between PE rou ters
Good for interc onnec ting disc rete cu stomer islands
Manual Tunnels Over MPLS Configuration
IPv6 IPv6 IPv4 LDP IPv6
Packet Packet Hdr Label Packet
IPv6 Network MPLS IPv4 Backbone IPv6 Network
CE PE P P PE CE
IPv6 MP-BGP
IPv6
MPLS 6PE
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 118
IPv6 Transit Using MPLS 6PE (RFC 4798)
IPv6 IPv6 BGP LDP IPv6
Packet Packet Label Label Packet
IPv6 Network MPLS IPv4 Backbone IPv6 Network
CE 6PE3 P P 6PE4 CE
IPv6 IPv6
6PE Notes
LDP Label
Ou ter label that prov ides c onnec tiv ity to the destination 6PE
MP BGP Label
MP-BGP
Inner label u sed by eg ress 6PE for IPv 6 forwarding
Older IOS u se pool of 16 labels shared among st all IPv 6 prefixes
P rou ters hash this label if pay load is not IPv 4 for load balanc ing
IOS that su pport MFI [12.4(20)T & XR] u se per prefix labels
Some c ode also allows IPv 4 P rou ters to hash IPv 6 addresses
This label needed to av oid PHP dropping IPv 6 pac k et
BGP Label also referred to as “Aggregate
gg g IPv6 Label”
Ag g reg ate labels execu te “pop label + IPv 6 looku p” at eg ress 6PE
BGP NH is a “Special Use” IPv4 to IPv6 Mapped Address
6PE Configuration
IPv6 IPv6 BGP LDP IPv6
Packet Packet Label Label Packet
IPv6 Network MPLS IPv4 Backbone IPv6 Network
Translation Techniques
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 126
Translation Scenarios and Context
There is an ongoing demand for devices from the IPv4 to access
IPv6 devices and vice versa
Devices can be a single IPv4 or IPv6 protocol stack
Devices can be dual stack, but
Maybe the network infrastructure does not exist for either IPv4 or IPv6?
Maybe there is IPv(x) capability, but is routing not enabled?
Maybe the device is dual stack, but has no allocated IPv(x) address?
Maybe the device has a IPv(x) address but the network does not
supportt the
th protocol
t l IPv(x)?
IP ( )?
Maybe no more unique IPv(x) addresses are available anymore?
IP translation technology take these variables into account for
either generic or focused translational solutions
Deprecation of NAT-PT
Documented in RFC4966, July 2007 – “Reasons to Move the Network
Address Translator - Protocol Translator (NAT-PT) to Historic Status”
Goal is to have IPv6 technology take benefit of its full capabilities without
restrictions imposed by Address Translation
General limitations due to translation:
Protoc ols that embed IP addresses prov ide c omplic ations
Inability to redirec t traffic for protoc ols that lac k demu ltiplexing c apabilities
(i.e. IPsec , RS V P, etc …)
keepaliv e mec hanisms for state-maintenanc e
Loss of information du e to IPv 4
4vv s IPv 6 header semantic s (next-headers
(next headers, flow
flow-label)
label)
Frag mentation
Mu ltic ast
Scalability
Slide 129
NAT-PT
Agenda
Why IPv6?
IPv6 Technology
IPv6 Configuration
IPv4/IPv6 Transition & Co-existence
IPv6 Routing
IPv6 Services
Conclusion
IPv6 Routing
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 133
Routing In IPv6
As in IPv4, IPv6 has 2 families of routing protocols: IGP and EGP,
and still uses the longest-prefix match routing algorithm
IGP
RIPng (RFC 2080)
Cisco EIGRP for IPv6
Integrated IS-ISv6 (draft-ietf-isis-ipv6-07)
OSPFv3 (RFC 5340)
EGP: MP-BGP4 ((RFC 2858 and RFC 2545))
Cisco IOS supports all of them
Pick one that meets your objectives
IPv6 Default and Static Routing
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 135
IPv6 Internet
R1 S3/0
S2/0 R2 s0/0
2001:DB8:23:0:A8BB:CCFF:FE00:300
R2#sh run | b ipv6 route
ipv6 route ::/0 2001:DB8:12:0:A8BB:CCFF:FE00:300
R2#ping 2001:DB8:23:0:A8BB:CCFF:FE00:300
RIPng (RFC2080)
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 138
Enhanced Routing Protocol Support
RIPng Overview RFC 2080
command version must be zero command version must be zero
Subnet Mask
Next Hop
LAN1: 2001:db8:c18:1::/64
Ethernet0 Router2#
ipv6 router rip RT0
Router 1
interface Ethernet0
Ethernet1 ipv6 address 2001:db8:c18:1::/64 eui-64
ipv6 rip RT0 enable
ipv6 rip RT0 default-information originate
LAN2: 2001:db8:c18:2::/64
Router1#
oute # Router2#
oute # debug ipv6
p 6 rip
p
ipv6 router rip RT0 RIPng: Sending multicast update on Ethernet0 for RT0
src=FE80::260:3eff:fe47:1530
interface Ethernet0 dst=FF02::9 (Ethernet0)
ipv6 address 2001:db8:c18:1::/64 eui-64 sport=521, dport=521, length=32
ipv6 rip RT0 enable command=2, version=1, mbz=0, #rte=1
Interface Ethernet1 tag=0, metric=1, prefix=::/0
ipv6 address 2001:db8:c18:2::/64 eui-64
ipv6 rip RT0 enable
Multicast All Link-Local
RIP-Routers src Address
RIPng – Configuration and Display
e0/0
S2/0
R1
S3/0
e0/0
R2 R3
e0/0
S2/0
R1
S3/0
e0/0
R2 R3
Note the Multicast destination address FF02::9 for updates and the UDP port number 521
RIPng – Show ipv6 Route
e0/0
S2/0
R1
S3/0
e0/0
R2 R3
interface Ethernet0
Router 1
ipv6 address 2001:db8:c18:1::/64 eui-64
Ethernet1 ipv6 enable
ipv6 eigrp 100
LAN2: 2001:db8:c18:2::/64
Router1#show ipv6 eigrp neighbor
IPv6-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 FE80::260:3eff:fe47:1530 E0 14 00:01:43 1 4500 0 1
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 147
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 151
Router-LSA 1 0x2001
Network-LSA 2 0x2002
Inter-Area-Prefix-LSA 3 0x2003
Inter-Area-Router-LSA 4 0x2004
AS-External-LSA 5 0x4005
Group-membership-LSA 6 0x2006
T
Type-7-LSA
7 LSA 7 0 2007
0x2007
Link-LSA NEW 8 0x0008
Intra-Area-Prefix-LSA 9 0x2009
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 157
TCP Interaction
BGP-4
BGP 4 runs on top of TCP
This connection could be setup either over IPv4 or IPv6
irrespective of what NLRI BGP is carrying
Router ID
When no IPv4 is configured, an explicit BGP router-id needs to
be configured in a 32 bit ipv4 type format.
The RID d
Th does nott h
have tto b
be iin valid
lid IP
IPv4
4 fformat.
t FFor e.g.
0.0.0.1 could be a valid RID
The sole purpose of RID is for identification
In BGP, it is used as a tie breaker, and is send within the
OPEN message
C 192.10.0.0/24 150.1.1.3
150.1.1.1 150.10.0.0/16 150.10.1.1
192.10.0.0/24 150.10.1.1
3rd Party EBGP
IBGP next-hop unmodified
150.1.1.3
150.1.1.2
B A
AS 301 AS 201
192.10.0.0/24
Next Hop In BGP for IPv6
Next hop reac hability isV ERY important in BGP
If the Next Hop is inac c essible, the rou tes learned v ia BGP will not be installed in
the rou ting table (In some
somecc ase the rou tes will be rejec ted by BGP)
Link loc al address as a next-hop is only set if the BGP peer is also on a link
loc al address
IPv 6 NLRI in IPv 6(Global Unic ast) work s lik e IPv 4(3rd party NH not su pported yet)
Variou s next-hop behav iou r in IPv 6 (next few slides..)
F
AS 200
D E AS 300
C
B A
AS 301 AS 201
IPv6 NLRI in
In IPv4 – Problem
Router A AS 200
150.10.0.0/16 D
router bgp 201
bgp router-id 192.168.30.1
neighbor
g 150.1.1.2 remote-as 301 C
! 150.1.1.1
address-family ipv6
neighbor 150.1.1.2 activate
network 2192:10::/48 150.1.1.3
! 150.1.1.2
2150:1:1::2 2150:1:1::3
B A
AS 301 AS 201
2192:10::/48
R t A
Router A:
BGP(1): 150.1.1.2 send UPDATE (format) 2192:10::/48, next ::FFFF:150.1.1.3, metric 0, path Local
Router B:
BGP(1): 150.1.1.3 rcvd UPDATE w/ attr: nexthop ::FFFF:150.1.1.3, origin i, localpref 100, metric 0
BGP(1): 150.1.1.3 rcvd 2192:10::/48
BGP(1): no valid path for 2192:10::/48
IPv6 NLRI In IPv4 – Solution
Router A AS 200
150.10.0.0/16 D
router bgp 201
bgp router-id 192.168.30.1
neighbor
g 150.1.1.2 remote-as 301 C
! 150.1.1.1
address-family ipv6
neighbor 150.1.1.2 activate
neighbor 150.1.1.2 route-map SETNH out 150.1.1.3
network 2192:10::/48 150.1.1.2
! 2150:1:1::2 2150:1:1::3
route-map SETNH permit 10
set ipv6 next-hop 2150:1:1::3 B A
AS 301 AS 201
2192:10::/48
R t A
Router A:
BGP(1): 150.1.1.2 send UPDATE (prepend, chgflags: 0x820) 2192:10::/48, next 2150:1:1::3, metric
0, path Local
Router B:
BGP(1): 2150:1:1::3 rcvd UPDATE w/ attr: nexthop 2150:1:1::3, origin i, localpref 100, metric 0
BGP(1): 2150:1:1::3 rcvd 2192:10::/48
BGP(1): Revise route installing 2192:10::/48 -> 2150:1:1::3 (::) to main IPv6 table
AS 301 AS 201
192.10.0.0/24
Router A:
BGP(0): 2150:1:1::2 send UPDATE (format) 192.10.0.0/24, next 33.80.0.1, metric 0, path Local
Router B:
BGP(0): 2150:1:1::3 rcvd UPDATE w/ attr: nexthop 33.80.0.1, origin i, localpref 100, metric 0
BGP(0): 2150:1:1::3 rcvd 192.10.0.0/24
BGP(0): no valid path for 192.10.0.0/24
IPv4 NLRI In IPv6(Global)
– Solution
Router A AS 200
150.10.0.0/16 D
router bgp 201
bgp router-id 192.168.30.1
neighbor 2150:1:1::2 remote-as 301
! C
address-family ipv4 150.1.1.1
neighbor 2150:1:1::2 activate
neighbor 2150:1:1::2 route-map SETNH out
network 192.10.0.0
! 150.1.1.2 150.1.1.3
route-map SETNH permit 10
set ip next-hop 150.1.1.3 2150:1:1::2 2150:1:1::3
B A
AS 301 AS 201
192.10.0.0/24
Router A:
BGP(0): 2150:1:1::2 send UPDATE (prepend, chgflags: 0x0) 192.10.0.0/24, next 150.1.1.3, metric 0,
path Local
Router B:
BGP(0): 2150:1:1::3 rcvd UPDATE w/ attr: nexthop 150.1.1.3, origin i, metric 0, path 10
BGP(0): 2150:1:1::3 rcvd 192.10.0.0/24
BGP(0): Revise route installing 1 of 1 routes for 192.10.0.0/24 -> 150.1.1.3(main) to main IP table
AS 301 AS 201
192.10.0.0/24
Router A:
BGP(0): Can't advertise 192.10.0.0/24 to FE80::A8BB:CCFF:FE00:300 with NEXT_HOP 254.128.0.0
BGP(0): FE80::A8BB:CCFF:FE00:300 send UPDATE (format) 192.10.0.0/24, next 254.128.0.0, metric
0, path Local
Router B:
BGP(0): FE80::A8BB:CCFF:FE00:200 rcv UPDATE w/ attr: nexthop 254.128.0.0, origin i, metric 0,
originator 0.0.0.0, path 10, community , extended community
BGP(0): FE80::A8BB:CCFF:FE00:200 rcv UPDATE about 192.10.0.0/24 -- DENIED due to: martian
NEXTHOP;
IPv4 NLRI In IPv6(Link Local)
– Solution
Router A AS 200
150.10.0.0/16 D
router bgp 201
bgp router-id 192.168.30.1
neighbor FE80::A8BB:CCFF:FE00:300%E0 remote-as 301
!
address-family
address family ipv4 C
neighbor FE80::A8BB:CCFF:FE00:300%E0 activate
neighbor FE80::A8BB:CCFF:FE00:300 route-map SETNH out
150.1.1.1
network 192.10.0.0
!
route-map SETNH permit 10
set ip next-hop 150.1.1.3 150.1.1.2 150.1.1.3
2150:1:1::2 2150:1:1::3
B A
AS 301 AS 201
192.10.0.0/24
Router A:
BGP(0): FE80::A8BB:CCFF:FE00:300 send UPDATE (format) 192.10.0.0/24, next 150.1.1.2, metric
0, path Local
Router B:
BGP(0): FE80::A8BB:CCFF:FE00:200 rcvd UPDATE w/ attr: nexthop 150.1.1.3, origin i, metric 0, path 10
BGP(0): FE80::A8BB:CCFF:FE00:200 rcvd 192.10.0.0/24
BGP(0): Revise route installing 1 of 1 routes for 192.10.0.0/24 -> 150.1.1.3(main) to main IP table
AS 301 AS 201
E 2192:10::/48
Router A:
BGP(1): Can't advertise 2192:10::/64 to FE80::A8BB:CCFF:FE00:200%Ethernet0/0 session 1
with NEXT_HOP FE80::A8BB:CCFF:FE00:100
BGP(1): FE80::A8BB:CCFF:FE00:200%Ethernet0/0 send UPDATE (format) 2192:10::/64, next ::,
metric 0, path Local
Router B:
BGP(1): FE80::A8BB:CCFF:FE00:100%Ethernet0/0 rcvd UPDATE w/ attr: nexthop
FE80::A8BB:CCFF:FE00:100 (FE80::A8BB:CCFF:FE00:100), origin i, metric 0, path 201
BGP(1): FE80::A8BB:CCFF:FE00:100%Ethernet0/0 rcvd 2192:10::/64
BGP(1): Revise route installing 2192:10::/64 -> FE80::A8BB:CCFF:FE00:100
(FE80::A8BB:CCFF:FE00:100) to main IPv6 table
IPv6 NLRI In IPv6(Link Local) & iBGP
Between Router B & E Using
AS 200
Global Unicast 150.10.0.0/16 D
Router B
router bgp 301
C
bgp router-id 192.168.30.2
neighbor FE80::A8BB:CCFF:FE00:100%E0 remote-as 201
neighbor 2151:1:1::5 remote-as 301
!
address-family ipv4
150.1.1.2 150.1.1.3
neighbor FE80::A8BB:CCFF:FE00:300%E0 activate
neighbor 2151:1:1::5 activate
2150:1:1::2 2150:1:1::3
!
FE80::A8BB:CCFF:FE00:200 B A
2151:1:1::5
AS 301 AS 201
E 2192:10::/48
Router B:
BGP(1): Can't advertise 2192:10::/64 to 2151:1:1::5 with NEXT_HOP FE80::A8BB:CCFF:FE00:200
BGP(1): 2151:1:1::5 send UPDATE (format) 2192:10::/64, next 2151:1:1::2, metric 0, path 10
Router E:
BGP(1): 2151:1:1::2 rcvd UPDATE w/ attr: nexthop 2151:1:1::2, origin i, localpref 100, metric 0, path
10
BGP(1): 2151:1:1::2 rcvd 2192:10::/64
BGP(1): Revise route installing 2192:10::/64 -> 2151:1:1::2 (::) to main IPv6 table
FE80::A8BB:CCFF:FE01:F600
B
New CLI per
AS 200
RFC 4007
BGP-4 for IPv6 « Show Command »
Agenda
Why IPv6?
IPv6 Technology
IPv6 Configuration
IPv4/IPv6 Transition & Co-existence
IPv6 Routing
IPv6 Services
Conclusion
IPv6 Services
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 177
Mobile IPv6
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 178
Mobile IPv6 Benefits
IPv6 address space enables Mobile IP deployment in any kind of
large environment
No foreign agent needed in MIPv6
Infrastructure does not need an upgrade to accept
Mobile IPv6 Nodes
IPv6 auto-configuration simplifies MN CoA assignment
MIPv6 takes advantage of IPv6 protocol itself
E.g., option headers, neighbor discovery
Optimized routing—avoids triangular routing
Scale easier but network management challenges
MN's work transparently even with other nodes that do not
support mobility
Albeit without route optimization
Correspondent
Node (CN)
Destination IP Host inS ession
Internet with a Mobile Node
CN
MN
Packet Forwarding
Route Optimization Mode
Home Ag ent
MN
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 185
IPv6 Security
RFC “mandates” privacy and encryption
Same IPSec you already know
Two security extension headers defined; all implementations required to
support (IPSec)
Au thentic ation Header (AH)
Enc apsu lating S ecu rity Payload (ES P)
Key distribu tion protoc ols are u nder dev elopment
Support for manu al k ey c onfig u ration requ ired
IPv6 Security is MORE THAN IPSec!
New concept of privacy addressing
On by defau lt in Mic rosoft XPS P1+
Randomly g enerated address
Nearly impossible to perform successful network scans
IPv6 Protocol Challenges
Presentation_ID © 2009 Cisco Systems, Inc. All rights reserved. Cisco Public 189
Why IPv6?
IPv6 Technology
IPv6 Configuration
IPv4/IPv6 Transition & Co-existence
IPv6 Routing
IPv6 Services
Conclusion
Conclusion
Start now rather than later
Purchase for the future and test, test and then test some more
Start moving legacy application towards IPv6 support
Thing s we did not talk abou t, bu t they are v ery important to c onsider
ISP multihoming solutions (Multi6 WG)—“Goals for IPv6 Site-Multihoming Architectures”
(RFC 3582)—http://www.ietf.org/html.charters/multi6-charter.html
IPv6 Addressing Considerations (RFC 5375)
IPv4-IPv6 and IPv6-IPv6 Interworking: draft-mrw-behave-nat66, draft-arkko-townsley-
coexistence, draft-wing-nat-pt-replacement-comparison, draft-durand-softwire-dual-stack-lite
IETF WG Activities: v6ops, 6man, shim6 and Behave and Softwires
Thi g s to c onsider:
Thin id
Don’t assume your favorite vendor/app/gear has an IPv6 plan
Full parity between IPv4 and IPv6 is still a ways off
SP deploymentsS cenarios
ISP IPv6 Deployment Scenarios in Broadband Access Networks (RFC 4779)
Scenarios and Analysis for Introducing IPv6 into ISP Networks (RFC 4029)
Procedures for Renumbering an IPv6 Network without a Flag Day (RFC 4192)
Please Visit the Cisco Booth in the
World of Solutions
See the technology in action
Network Infrastructure and Systems
NS1 – Cisco Catalyst Series: Optimize
and Virtualize
NS2 – Cisco Catalyst Series: Fueling
Collaboration
NS3 – Cisco ISR: Application
Integration at Branch
NS4 – Enhance Collaboration with Cisco
WebEx Node
NS5 – Optimize the WAN with Cisco ASR
1000 Series
NS6 – Pedal Power for the Cisco
Catalyst 4500
Reference Materials
“Deploying IPv 6 Broadband Network s” Adeel Ahmed,S alman Asadu llah –
I BN0470193387, John Wiley &S ons Pu blic ations®
S
“Deployin
Deploying IPv 6 Network s”
s Ciprian Popov ic u
i , Patric k Grossetete
Grossetete, Eric Lev y-
Abeg noli, IS BN1587052105 - Cisc o Press®
“IPv 6S ecu rity”S cott Hog g , Eric V ync k e, IS BN1587055945 – Cisc o Press®
“Understanding IPv 6” by Joseph Dav ies - Mic rosoft Press
“IPv 6 Essentials” byS ilv ia Hag en - O’Reilly & Assoc iates Press
www.c isc o.c om/g o/ipv 6 - CCO IPv 6 main pag e
www.c isc o.c om/g o/srnd - CIS CO NETWORK DES IGN CENTRAL
www.c is
i c o.c om//g o/fn
/f
www.ietf.org
www.ipv 6foru m.c om
www.ipv 6.org
www.nav 6tf.org /
www.6net.org
Complete Your Online
Session Evaluation
Give us your feedback and you
could win fabulous prizes.
Winners announced daily.
Receive 20 Passport points for
each session evaluation you
complete.
Complete your session evaluation
online now (open a browser
through our wireless network to
access our portal) or visit one of
the Internet stations throughout
the Convention Center.
Don’t forg et to ac tiv ate you r
Cisc o Liv eV irtu al ac c ou nt for ac c ess to
all session material, c ommu nities, and
on-demand and liv e ac tiv ities throu g hou t
the year. Ac tiv ate you r ac c ou nt at the
Cisc o booth in the World ofS olu tions or v isit
www.c isc oliv e.c om.