How To Configure IPv6 Static Route
How To Configure IPv6 Static Route
Search …
Lesson Contents
Course Contents
IPv6
1. Configuration
1.1. Static route for a prefix
Unit 1: Introduction to IPv6
1.1.1. Static route for a prefix – outgoing interface
Unit 2: IPv6 Routing
1.1.2. Static route for a prefix – global unicast next hop
How to configure IPv6 Static Routing
1.1.3. Static route for a prefix – link-local next hop
How to configure IPv6 RIPNG
1.2. Static default route
Troubleshooting IPv6 RIPNG
1.2.1. Static default route – outgoing interface
How to configure IPv6 EIGRP
1.2.2. Static default route – global unicast next hop
OSPFv2 vs OSPFv3
1.2.3. Static default route – link-local next hop
How to configure IPv6 OSPFv3
1.3. Static host route
OSPFv3 Default Route
1.3.1. Static host route – outgoing interface
OSPFv3 Prefix Suppression
1.3.2. Static host route – global unicast next hop
Troubleshooting IPv6 OSPFv3 Neighbor
1.3.3. Static host route – link-local next hop
Adjacencies
1.4. Static floating route
How to configure MP-BGP
1.4.1. Static floating route – outgoing interface
BGP IPv6 Route Filtering on Cisco IOS
1.4.2. Static floating route – global unicast next hop
IPv6 Redistribution between RIPNG and
1.4.3. Static floating route – link-local next hop OSPFv3
2. Conclusion Troubleshooting IPv6 Redistribution
1. Configuration
To demonstrate this topology, I will use the following topology:
R1 and R2 are connected with a serial link. R2 has a loopback interface with IPv6 address 2001:DB8:2:2::2/64. Let’s see if we can
reach this address.
11:16
R1#ping 2001:DB8:2:2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
If you try this with a FastEthernet interface, you’ll see that the router will accept the command, but the ping won’t work.
You can’t use this for multi-access interfaces.
S 2001:DB8:2:2::/64 [1/0]
via 2001:DB8:12:12::2
R1#ping 2001:DB8:2:2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
No problem at all…
Instead of global unicast addresses, you can also use unique local addresses. These are the IPv6 equivalent of IPv4
private addresses.
Let’s use this as the next-hop address. When you use a global unicast address as the next hop, your router can look at the routing
table and figure out what outgoing interface to use to reach this global unicast address. With link-local addresses, the router has no
clue which outgoing interface to use so you will have to specify both the outgoing interface and the link-local address:
S 2001:DB8:2:2::/64 [1/0]
via FE80::21C:F6FF:FE11:41F0, Serial0/0/0
R1#ping 2001:DB8:2:2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
No problems there.
S ::/0 [1/0]
via Serial0/0/0, directly connected
R1#ping 2001:DB8:2:2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
S ::/0 [1/0]
via 2001:DB8:12:12::2
R1#ping 2001:DB8:2:2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
S ::/0 [1/0]
via FE80::21C:F6FF:FE11:41F0, Serial0/0/0
R1#ping 2001:DB8:2:2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
S 2001:DB8:2:2::2/128 [1/0]
Courses Forum Support Tools Login
via Serial0/0/0, directly connected
R1#ping 2001:DB8:2:2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
S 2001:DB8:2:2::2/128 [1/0]
via 2001:DB8:12:12::2
R1#ping 2001:DB8:2:2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
S 2001:DB8:2:2::2/128 [1/0]
via FE80::21C:F6FF:FE11:41F0, Serial0/0/0
R1#ping 2001:DB8:2:2::2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:2:2::2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/1/4 ms
Here’s the static route that is used to use R3 as the primary path: Courses Forum Support Tools Login
Note that at the end of the line above, I specified the administrative distance with a value of 2. With both interfaces up, R1 will send
all traffic to R3:
S 2001:DB8:23:23::/64 [1/0]
via 2001:DB8:13:13::3
Above, you can see that the default administrative distance is 1. Let’s shut the FastEthernet 0/0 interface to test our static floating
route:
S 2001:DB8:2:2::/64 [2/0]
via Serial0/0/0, directly connected
The entry to R2 is now installed. You can also see the administrative distance value of two in the routing table.
S 2001:DB8:2:2::/64 [2/0]
via 2001:DB8:12:12::2
S 2001:DB8:2:2::/64 [2/0]
via FE80::21C:F6FF:FE11:41F0, Serial0/0/0
2. Conclusion
You have now learned how to configure the following IPv6 static routes:
Forum Replies
system
Hello,
for example:
Thank you
ReneMolenaar
Hi,
Using ::/0 for the default route is correct. The :: part means all 0s and the /0 represents the network mask, not the bytes.
Rene
wisamani
Hello Rene,
ReneMolenaar
Hi Wisam,
Everything that starts with FE80::/10 is a link-local address. The remaining part of the address was generated with EUI-64. This article will help:
http://networklessons.com/ipv6/ipv6-eui-64-explained/
Rene
wisamani
Hello Rene,
Thanks alot for your reply.
I still did not get how you get it to write it in your command line below,
Thanks Rene
Wisam
31 more replies! Ask a question or join the discussion by visiting our Community Forum