© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
1
• IPv6 Routing Concepts in CCNA R&S
• IPv6 Host Routing Table
• IPv6 Routing Table
• Connected Routes
• Local Routes
• Static Routing
• Default Route
“The rest of this is exactly like IPv4 only different”
- Rick Graziani at Academy Conference 2013 right after he finishes
talking about IPv6 address types
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
2
Chapter 6: Static Routing
• 6.2.3 Configure IPv6 Static Routes
• 6.2.4 Configure IPv6 Default Routes
• 6.4.2 Configure IPv6 Summary Routes
Chapter 7: Routing Dynamically
• 7.3.2 Configuring the RIPng Protocol
• 7.5.4 Analyze an IPv6 Routing Table
Chapter 8: Single-Area OSPF
• 8.3 Configuring Single-area OSPFv3
Note: EIGRP for IPv6 covered in Scaling Networks
© 2013 Cisco and/or its affiliates. All rights reserved.
Draft
Cisco Public
3
•
•
•
•
•
•
•
•
•
•
6.2.4.4 Packet Tracer – Configuring IPv6 Static and Default Routes
6.2.4.5 Lab – Configuring IPv6 Static and Default Routes
6.4.2.4 Packet Tracer – Configuring IPv6 Route Summarization
6.4.2.5 Lab – Calculating Summary Routes with IPv4 and IPv6
6.5.2.5 Lab – Troubleshooting IPv4 and IPv6 Static Routes
7.3.2.3 Packet Tracer - Configuring RIPng
7.3.2.4 Lab – Configuring RIPv2 and RIPng
7.5.4.4 Activity – Identify Parts of an IPv6 Routing Table Entry
8.3.3.5 Packet Tracer – Configuring Basic OSPFv3 in a Single Area
8.3.3.6 Lab – Configuring Basic Single-Area OSPFv3
Draft
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
4
• Introduction to Networks 6.2.1.6
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
5
Router(config)# ipv6 unicast-routing
•
•
•
A router’s interfaces can be enabled (configured with an
IPv6 address) for IPv6 like any other device on the network
For the router to “act” as an IPv6 router it must be enabled
with the ipv6-unicast routing command
This enables the router to:
•
•
•
•
Send ICMPv6 Router Advertisement messages
Enable the forwarding of IPv6 packets
Configure static routing and participate in IPv6 routing
protocols (EIGRP for IPv6, OSPFv3)
Similar to “old” ip routing command for IPv4 which is
enabled by default
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
6
R1# show ip route
C
172.17.0.0/16 is directly connected, Loopback3
172.16.0.0/24 is subnetted, 1 subnets
C
172.16.1.0 is directly connected, FastEthernet0/1
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C
10.2.0.0/16 is directly connected, Loopback1
C
10.1.1.0/24 is directly connected, FastEthernet0/0
C
192.168.3.0/24 is directly connected, Loopback0
• IPv4 Routing table lists the classful network first and subnets below the
respective classful network
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
7
R1# show ipv6 route
IPv6 Routing Table - 8 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C
2001:DB8:CAFE:1::/64 [0/0]
via ::, FastEthernet0/0
L
2001:DB8:CAFE:1::1/128 [0/0]
via ::, FastEthernet0/0
C
2001:DB8:CAFE:1111::1/128 [0/0]
via ::, Loopback0
C
2001:DB8:CAFE:A001::/64 [0/0]
via ::, Serial0/0/0
L
2001:DB8:CAFE:A001::1/128 [0/0]
via ::, Serial0/0/0
C
2001:DB8:CAFE:A002::/64 [0/0]
via ::, Serial0/0/1
L
2001:DB8:CAFE:A002::1/128 [0/0]
via ::, Serial0/0/1
L
FF00::/8 [0/0]
via ::, Null0
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
8
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
9
Syntax
• show ipv6 route [ipv6-address | ipv6-prefix/prefix-length [longer-
prefixes] | [protocol] [updated [boot-up] [day
month] [time]] | interface interface-type interface-number
| nsf | table table-id |watch]
Useful Options*:
• show ipv6 route connected
• show ipv6 route local
• Show ipv6 route static
*These options not supported by Cisco Packet Tracer
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
10
• R1 has four interfaces on which a global IPv6 unicast address has been
configured
• Interfaces that are [up/up] are added to the routing table identified with a C in the
IPv6 routing table
R1# show ipv6 interface brief
FastEthernet0/0
[up/up]
FE80::1
2001:DB8:CAFE:1::1
FastEthernet0/1
[administratively down/down]
Serial0/0/0
[up/up]
FE80::1
2001:DB8:CAFE:A001::1
Serial0/0/1
[up/up]
FE80::1
2001:DB8:CAFE:A002::1
Loopback0
[up/up]
FE80::202:16FF:FE73:1889
2001:DB8:CAFE:1111::1
© 2013 Cisco and/or its affiliates. All rights reserved.
R1# show ipv6 route
C
C
C
C
2001:DB8:CAFE:1::/64 [0/0]
via ::, FastEthernet0/0
2001:DB8:CAFE:1111::1/128 [0/0]
via ::, Loopback0
2001:DB8:CAFE:A001::/64 [0/0]
via ::, Serial0/0/0
2001:DB8:CAFE:A002::/64 [0/0]
via ::, Serial0/0/1
*Only connected shown
Cisco Public
11
R1# show ipv6 route
IPv6 Routing Table - 8 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route, M - MIPv6
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
D - EIGRP, EX - EIGRP external
C
2001:DB8:CAFE:1::/64 [0/0]
via ::, FastEthernet0/0
L
2001:DB8:CAFE:1::1/128 [0/0]
via ::, FastEthernet0/0
C
2001:DB8:CAFE:1111::1/128 [0/0]
via ::, Loopback0
L Routes
C
2001:DB8:CAFE:A001::/64 [0/0]
via ::, Serial0/0/0
L
2001:DB8:CAFE:A001::1/128 [0/0]
via ::, Serial0/0/0
C
2001:DB8:CAFE:A002::/64 [0/0]
via ::, Serial0/0/1
L
2001:DB8:CAFE:A002::1/128 [0/0]
via ::, Serial0/0/1
L
FF00::/8 [0/0]
via ::, Null0
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
12
• Not routable
• Local route = similar to what we called a host route in IPv4
• Host routes point to the router’s IPv6 global unicast addresses
• The router uses these routes when the packets are addressed to one of
its own interfaces
• Router can more efficiently process packet to itself
• Host routes in IPv6 will have /128 prefix
L
L
L
L
L
© 2013 Cisco and/or its affiliates. All rights reserved.
2001:DB8:CAFE:1::1/128 [0/0]
via ::, FastEthernet0/0
2001:DB8:CAFE:A001::1/128 [0/0]
via ::, Serial0/0/0
2001:DB8:CAFE:A002::1/128 [0/0]
via ::, Serial0/0/1
FF00::/8 [0/0]
via ::, Null0
FF80::/10 [0/0]
via ::, Null0
Cisco Public
13
Multicast
• Multicast addresses are not routed
• FF00/8 is the route to the entire multicast range
• The router will drop all multicast packets directed towards multicast groups which are not
in the routing table
• If a host joins a multicast group then that multicast group address will be added to the
routing table
Link-Local
• FE80/10 is the link-local address
• If a router receives a packet destined to link-local address it will drop it
• L FE80::/10 [0/0] does not appear in the output of show ipv6 route in Packet Tracer
© 2013 Cisco and/or its affiliates. All rights reserved.
Multicast
L
Link-local
L
FF00::/8 [0/0]
via ::, Null0
FF80::/10 [0/0]
via ::, Null0
Cisco Public
14
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
15
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
16
Static Routing is configured using ipv6 route command
Next Hop Interface (recommended due to CEF forwarding)
• ipv6 route 2001:db8:cafe:3333/64 2001:db8:cafe:A003
Outgoing Interface
• ipv6 route 2001:db8:cafe:3333/64 s0/0/1
Link-local as Next Hop*
• ipv6 route 2001:db8:cafe:3333/64 fe80::3 s0/0/1
Need to specify which interface with a fully specified static route as the link-local
address can be the same on multiple interfaces
Summary route
• ipv6 route 2001:db8:cafe::/48 2001:db8:feed::1
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
17
Exterior
Gateway
Protocols
Interior Gateway Protocols
IPv4
IPv6
Path Vector
Distance Vector
Link State
Distance Vector
Routing Protocols
Link State Routing
Protocols
Path
Vector
RIPv2
EIGRP
OSPFv2
IS-IS
BGP-4
RIPng
EIGRP
for IPv6
OSPFv3
IS-IS for
IPv6
BGP-4 for
IPv6
Most IPv6 routing protocol commands are identical to their IPv4 counterpart
Just need to substitute “ipv6” for “ip”
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
18
1) Enable ipv6 unicast-routing
2) Configure static routes
3) Configure default routes
4) Configure floating static route
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
19
Configuring Static and Default IPv6 Routes
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
20
© 2013 Cisco and/or its affiliates. All rights reserved.
Cisco Public
21
Thank you.