Configuration — IPv6 Routing Avaya Ethernet Routing Switch ...
IPv6 Routing
description
Transcript of IPv6 Routing
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 1
IPv6 Routing
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 2
AgendaIPv6 Routing Table
Connected Routes
Local Routes
Static Routing
Default Route
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Very Very Important IPv6 routing is turned off by default on Cisco IOS
So please issue the command
ipv6 unicast-routing in global configuration mode to enable IPv6 Routing
For Eg: R1(config)#ipv6 unicast-routing
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Topology
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
IPv4 Routing TableR1#sh 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 6
IPv6 Routing TableThere are no classes in IPv6 IPv6 Routing Table lists the routes as individual networks
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Topology
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
R1’s Routing TableLet’s see the routing table of R1
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
“Connected Routes”What are this “C” Routes?
R1 has 3 interfaces on which Global IPv6 Unicast Address have been configured
These interfaces are in up and up state.
So the IPv6 Prefix and Prefix length of these interfaces are added as Directly Connected Routes “C” in the IPv6 Routing Table.
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Connected RoutesTask- List the connected routes based on the output of “show ipv6 interface brief”( R2)
Assume the prefix length to be 64
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
R1’s Routing Table RevisitedLet’s revisit R1’s IPv6 Routing table
What are these “L” Routes?
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Local Routes“L” means Local Routes Host routes to the router’s IPv6 Global Unicast addresses
The router uses these routes when the packets are addressed to one of its interfaces
Host route in IPv6 will have /128 prefix
Please note: They are “NOT” routes to link local IPv6 Addresses
Let’s issue “show ipv6 interface brief” on R1 and then issue
“Show ipv6 route” to identify Local Routes
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Local Routes
What are these 2 routes?
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Local RoutesFF00/8 is the route to 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.
FE80/10 is the link local address.
So 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. Cisco Public 15
Local RoutesTask- List the connected routes based on the output of “show ipv6 interface brief”( R3)
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Static RoutingStatic Routing is configured using ipv6 route command
Let’s take an example
ipv6 route 2001:db8:cafe:3333 /64 s0/0/1
Prefix Prefix Length Outgoing Interface
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Static Routing In point to point networks next hop is not required
For eg
ipv6 route 2001:db8:cafe:3333 /64 s0/0/1
We can also have global unicast address as the next hop
ipv6 route 2001:db8:cafe:3333 /64 2001:db8:cafe:A003
We can also have link local address as the next hop but we need to mention the outgoing interface as the link local address can be same on different interfaces
ipv6 route 2001:db8:cafe:3333 /64 fe80::3 s0/0/0
Let’s configure some static routes
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Static Routing Configure a static route from R1 to reach R3’s L0 interface or 2001:db8:cafe:3333::3/128
Do not use any next hop ipv6 address (Global Unicast or Link Local)
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
PT ActivityOpen Routing_IPv6_Static_Route_Exit_interface in the PT folder
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Static Routing Step 1:
Enable ipv6 unicast-routing on R1
R1(config)#ipv6 unicast-routing
Step 2:
Configure the static route
R1(config)#ipv6 route 2001:db8:cafe:3333::/64 s0/0/0
Step 3 :
Enable ipv6 unicast-routing on R3
R3(config)#ipv6 unicast-routing
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Static Routing Step 4 : Issue show ipv6 route command
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Static RoutingStep 5:
Verify the connectivity from R1 using Ping
R1#ping 2001:db8:cafe:3333::3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:cafe:3333::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 5/7/11 ms
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Static Routing Configure a static route from R1 to reach R3’s L0 interface or 2001:db8:cafe:3333::3/128
Use Global IPv6 address as the next hop
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
PT ActivityOpen Routing_IPv6_Static_Route_Global_Unicast_as_Next_Hop in the PT folder
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Static Routing Step 1:
Enable ipv6 unicast-routing on R1
R1(config)#ipv6 unicast-routing
Step 2:
Configure the static route
R1(config)#ipv6 route 2001:db8:cafe:3333::/64 2001:db8:cafe:A001::3
Step 3 :
Enable ipv6 unicast-routing on R3
R3(config)#ipv6 unicast-routing
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
Static Routing Step 4:Issue the show ipv6 route command on R1
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Static RoutingStep 5:
Verify the connectivity from R1 using Ping
R1#ping 2001:db8:cafe:3333::3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:cafe:3333::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 5/7/11 ms
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Static Routing Configure a static route from R1 to reach R2’s L0 interface or 2001:db8:cafe:2222::2/128
Use link local address of R2 as the next hop
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
PT ActivityOpen Routing_IPv6_Static_Route_Link_Local_as_Next_Hop in the PT folder
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Static Routing Step 1:
Enable ipv6 unicast-routing on R1
R1(config)#ipv6 unicast-routing
Step 2:
Configure the static route
R1(config)#ipv6 route 2001:db8:cafe:2222::/64 s0/0/1 fe80::2
Step 3 :
Enable ipv6 unicast-routing on R2
R2(config)#ipv6 unicast-routing
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Static Routing Step 4:Issue the show ipv6 route command
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Static RoutingStep 5:
Verify the connectivity from R1 using Ping
R1#ping 2001:db8:cafe:2222::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:cafe:2222::2 timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 5/7/11 ms
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Static Routing :Floating Static IPv6 Route Configure a static route from R3 to reach R2’s L0 interface or 2001:db8:cafe:2222::2/128
Use global unicast address as the next hop. Let the AD be 1
Configure a static route from R3 to reach R2’s L0 interface or 2001:db8:cafe:2222::2/128
Use link local address of R2 as the next hop.Let the AD be 5
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Static Routing
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
PT ActivityPlease open Routing_IPv6_Static_Route_Floating_Static_Route in the PT folder.
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Static Routing Step 1:
Enable ipv6 unicast-routing on R3
R3(config)#ipv6 unicast-routing
Step 2:
Configure the static routes
R3(config)# ipv6 route 2001:DB8:CAFE:2222::/64 2001:DB8:CAFE:A003::2
R3(config)# ipv6 route 2001:DB8:CAFE:2222::/64 Serial0/0/1 FE80::2 5
Step 3 :
Enable ipv6 unicast-routing on R2
R2(config)#ipv6 unicast-routing
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Static Routing Step 4:Issue the show ipv6 route command on R3
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Static RoutingStep 5:
Verify the connectivity from R3 using Ping
R3#ping 2001:db8:cafe:2222::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:cafe:2222::2 timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 5/7/11 ms
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Static RoutingStep 6:
Let us the remove the static route
R3(config)# no ipv6 route 2001:DB8:CAFE:2222::/64 2001:DB8:CAFE:A003::2
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Static RoutingStep 7:
Issue show ipv6 route on R3
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Static RoutingStep 8:
Verify the connectivity from R3 using Ping
R3#ping 2001:db8:cafe:2222::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:cafe:2222::2 timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 5/7/11 ms
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Default RouteConfigure a Default route on R1 pointing towards 2001:db8:cafe:A001::3
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
PT ActivityPlease open Routing_IPv6_Default_Route in the PT folder.
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Static Routing Step 1:
Enable ipv6 unicast-routing on R1
R1(config)#ipv6 unicast-routing
Step 2:
Configure the default route
R1(config)#ipv6 route ::/0 2001:db8:cafe:A001::3
Step 3 :
Enable ipv6 unicast-routing on R3
R3(config)#ipv6 unicast-routing
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Static Routing Step 4:Issue the show ipv6 route command
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Static RoutingStep 5:
Verify the connectivity from R1 using Ping
R1#ping 2001:db8:cafe:3333::3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:db8:cafe:3333::3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 5/7/11 ms
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Other Routing ProtocolsSingle Area OSPF v3 : Next Session
EIGRP v3 : We will cover it in Teach the Trainer session for ICND2
© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Question and Answers
Thank you.Thank you.