Book location

IP Routing: Protocol-Independent configuration Guide, bromheads.tv IOS XE release 3S

Chapter location

IPv6 Routing: revolution Routing




You are watching: What address and prefix length is used when configuring an ipv6 default static route?

print
*

Information about IPv6 Routing: static RoutingHow come Configure IPv6 revolution RoutingConfiguration instances for IPv6 static Routing nearby
IPv6 Routing: static Routing

This function provides revolution routing for IPv6. Static courses are manually configured and also define an clearly path between two networking devices.

Finding attribute Information

Your software program release might not support all the features recorded in this module. For the latest caveats and also feature information, see pest Search Tool and also the release notes for your platform and software release. To discover information around the features documented in this module, and to see a perform of the release in i beg your pardon each feature is supported, watch the attribute information table.

Use bromheads.tv feature Navigator to uncover information about platform support and bromheads.tv software image support. To accessibility bromheads.tv attribute Navigator, walk to https://cfnng.bromheads.tv/. One account ~ above bromheads.tv is no required.

Prerequisites because that IPv6 Routing: static Routing

before configuring the an equipment with a revolution IPv6 route, friend must allow the forwarding that IPv6 packets utilizing the ipv6 unicast-routing an international configuration command, enable IPv6 ~ above at the very least one interface, and configure an IPv6 address on the interface.

Restrictions because that IPv6 Routing: revolution Routing

IPv6 static routes perform not support the tag and permanent keywords the the IPv4 ip route command.

IPv6 go not support inserting static routes into virtual routing and forwarding (VRF) tables.

You have to not configure revolution configurations over dynamic interfaces, due to the fact that static configurations will be lost throughout reboot or once the user disconnects and also reconnects the device.

Information around IPv6 Routing: revolution Routing

Static Routes

Networking gadgets forward packets using route info that is one of two people manually configured or dynamically learned utilizing a routing protocol. Static courses are manually configured and also define an clear path between two networking devices. Unequal a dynamic routing protocol, static routes are not instantly updated and must it is in manually reconfigured if the network topology changes. The services of making use of static routes include security and resource efficiency. Static paths use less bandwidth than dynamic routing protocols and also no CPU cycles are supplied to calculate and also communicate routes. The key disadvantage to utilizing static courses is the absence of automatic reconfiguration if the network topology changes.

revolution routes deserve to be redistributed into dynamic routing protocols however routes produced by dynamic routing protocols can not be redistributed right into the revolution routing table. No algorithm exists to protect against the configuration of routing loops that usage static routes.

Static paths are useful for smaller networks with just one path to an external network and to provide security because that a bigger network for certain species of traffic or links to other networks the need more control. In general, many networks use dynamic routing protocols to communicate between networking devices but may have actually one or 2 static paths configured for distinct cases.

Directly Attached static Routes

In straight attached revolution routes, just the output user interface is specified. The location is assumed to be straight attached to this interface, so the packet location is used as the next-hop address. This instance shows such a definition:

ipv6 path 2001:DB8::/32 gigabitethernet1/0/0 The instance specifies that all destinations with attend to prefix 2001:DB8::/32 are directly reachable through interface GigabitEthernet1/0/0.

straight attached static paths are candidates for insertion in the IPv6 routing table only if they describe a valid IPv6 interface; the is, an interface that is both up and also has IPv6 enabled on it.

Recursive revolution Routes

In a recursive static route, just the next hop is specified. The output interface is acquired from the following hop. This instance shows such a definition:

ipv6 path 2001:DB8::/32 2001:DB8:3000:1 This instance specifies the all destinations with attend to prefix 2001:DB8::/32 space reachable via the host with resolve 2001:DB8:3000:1.

A recursive static course is precious (that is, the is a candidate because that insertion in the IPv6 routing table) only as soon as the specified next hop resolves, either directly or indirectly, to a valid IPv6 output interface, provided the path does not self-recurse, and the recursion depth does no exceed the maximum IPv6 forwarding recursion depth.

A route self-recurses if that is itself supplied to deal with its own following hop. For example, intend we have the adhering to routes in the IPv6 routing table:

IPv6 Routing Table - 9 entriesCodes: C - Connected, l - Local, S - Static, R - RIP, B - BGP U - Per-user Static course I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2R 2001:DB8::/32 <130/0> via ::, Serial2/0B 2001:DB8:3000:0/16 <200/45> Via 2001:DB8::0104 The adhering to examples specifies a recursive IPv6 static route:

ipv6 path 2001:DB8::/32 2001:0BD8:3000:1 This static route will not be placed into the IPv6 routing table because it is self-recursive. The next hop of the static route, 2001:DB8:3000:1, resolves via the BGP path 2001:DB8:3000:0/16, which is chin a recursive course (that is, it just specifies a following hop). The following hop of the BGP route, 2001:DB8::0104, resolves via the static route. Therefore, the static route would be supplied to fix its own next hop.

it is not normally helpful to manually configure a self-recursive revolution route, although it is not prohibited. However, a recursive static course that has been inserted in the IPv6 routing table may end up being self-recursive as a result of some transient adjust in the network learned v a dynamic routing protocol. If this occurs, the truth that the static route has come to be self-recursive will certainly be detected and it will certainly be removed from the IPv6 routing table, although not from the configuration. A subsequent network change may cause the static route to no longer be self-recursive, in which situation it will certainly be reinserted in the IPv6 routing table.

Fully specified Static Routes

In a totally specified revolution route, both the output interface and also the following hop space specified. This type of static course is provided when the output user interface is a multi-access one and also it is crucial to explicitly identify the next hop. The next hop need to be directly attached come the specified output interface. The following example shows a definition of a totally specified static route:

ipv6 path 2001:DB8:/32 gigabitethernet1/0/0 2001:DB8:3000:1 A fully specified path is valid (that is, a candidate for insertion into the IPv6 routing table) as soon as the stated IPv6 interface is IPv6-enabled and up.

Floating static Routes

Floating static paths are static routes that are offered to back up dynamic paths learned through configured routing protocols. A floating static route is configured v a higher administrative distance than the dynamic routing protocol it is backing up. As a result, the dynamic path learned through the routing protocol is always used in preference to the floating static route. If the dynamic path learned v the routing protocol is lost, the floating static route will be provided in the place. The adhering to example specifies a floating revolution route:

ipv6 route 2001:DB8:/32 gigabitethernet1/0/0 2001:DB8:3000:1 210 any type of of the three species of IPv6 revolution routes deserve to be offered as a floating revolution route. A floating revolution route should be configured with an administrative distance that is higher than the bureaucratic distance the the dynamic routing protocol, since routes v smaller governmental distances are preferred.

*
Note

through default, static routes have smaller bureaucratic distances than dynamic routes, for this reason static paths will be supplied in preference to dynamic routes.

How to Configure IPv6 static Routing

Configuring a static IPv6 Route

SUMMARY STEPS

allow configure terminal ipv6 course ipv6-prefix / prefix-length ipv6-address | interface-type interface-number ipv6-address >}

DETAILED STEPS

Command or action Purpose
Step1

allow

Example:

Device> permit

enables privileged EXEC mode.

get in your password if prompted.

Step2

configure terminal

Example:

Device# configure terminal

Enters worldwide configuration mode.

Step3

ipv6 course ipv6-prefix / prefix-length ipv6-address | interface-type interface-number ipv6-address >}

Example:

Device(config)# ipv6 route ::/0 serial 2/0

Configures a static IPv6 route.

A revolution default IPv6 route is being configured ~ above a serial interface.

check out the syntax instances that automatically follow this table for details uses that the ipv6 course command because that configuring revolution routes.

Configuring a Recursive IPv6 Static course to use a Default IPv6 revolution Route

through default, a recursive IPv6 static route will not solve using the default route (::/0). Perform this task to restore legacy habits and permit resolution using the default route.

SUMMARY STEPS

enable configure terminal ipv6 route static settle default

DETAILED STEPS

Command or action Purpose
Step1

permit

Example:

Device> allow

enables privileged EXEC mode.

go into your password if prompted.

Step2

configure terminal

Example:

Device# configure terminal

Enters worldwide configuration mode.

Step3

ipv6 course static resolve default

Example:

Device(config)# ipv6 course static settle default

enables a recursive IPv6 static route to deal with using the default IPv6 revolution route.

Configuring a Floating static IPv6 Route

SUMMARY STEPS

enable configure terminal ipv6 course ipv6-prefix / prefix-length interface-type interface-number ipv6-address >

DETAILED STEPS

Command or activity Purpose
Step1

allow

Example:

Device> allow

allows privileged EXEC mode.

enter your password if prompted.

Step2

configure terminal

Example:

Device# configure terminal

Enters global configuration mode.

Step3

ipv6 route ipv6-prefix / prefix-length interface-type interface-number ipv6-address >

Example:

Device(config)# ipv6 path 2001:DB8::/32 serial 2/0 201

Configures a static IPv6 route.

In this example, a floating static IPv6 course is being configured.

Default governmental distances space as follows: linked interface--0 revolution route--1 magnified Interior Gateway Routing Protocol (EIGRP) review route--5 outside Border Gateway Protocol (eBGP)--20 Internal magnified IGRP--90 IGRP--100 open up Shortest course First--110 intermediary System-to-Intermediate mechanism (IS-IS)--115 Routing info Protocol (RIP)--120 Exterior Gateway Protocol (EGP)--140 EIGRP exterior route--170 interior BGP--200 Unknown--255

Verifying revolution IPv6 course Configuration and Operation

SUMMARY STEPS

permit Do among the following: display ipv6 static present ipv6 route debug ipv6 routing

DETAILED STEPS

Command or action Purpose
Step1

allow

Example:

Device> permit

permits privileged EXEC mode.

get in your password if prompted.

Step2

Do one of the following:

display ipv6 revolution display ipv6 path Example:

Device# show ipv6 revolution Example: Device# show ipv6 path static

screens the current contents of the IPv6 routing table.

this examples present two different ways that displaying IPv6 revolution routes.

Step3

debug ipv6 routing

Example:

Device# debug ipv6 routing

screens debugging messages because that IPv6 routing table updates and route cache updates.

Configuration examples for IPv6 revolution Routing

Static routes may be used for a selection of purposes. Usual usages include the following:

Manual summarization

Traffic discard

Fixed default path

Backup path

In countless cases, alternative mechanisms exist within bromheads.tv software to attain the very same objective. Even if it is to usage static courses or one of the different mechanisms depends on neighborhood circumstances.

Example Configuring hand-operated Summarization

The following example shows a static course being used to summarize local user interface prefixes advertised right into RIP. The revolution route additionally serves as a discard route, discarding any type of packets got by the router come a 2001:DB8:1::/48 location not extended by a much more specific user interface prefix.

Router> enableRouter# configure terminalEnter construction commands, one per line. Finish with CNTL/Z.Router(config)# interface gigabitethernet0/0/0Router(config-if)# ipv6 resolve 2001:DB8:2:1234/64Router(config-if)# exitRouter(config)# Router(config)# interface gigabitethernet1/0/0Router(config-if)# ipv6 attend to 2001:DB8:3:1234/64Router(config-if)# exitRouter(config)#Router(config)# interface gigabitethernet2/0/0Router(config-if)# ipv6 address 2001:DB8:4:1234/64Router(config-if)# exitRouter(config)#Router(config)# interface gigabitethernet3/0/0Router(config-if)# ipv6 deal with 2001:DB8::1234/64Router(config-if)# ipv6 rip one enableRouter(config-if)# exitRouter(config)#Router(config)# ipv6 router rip oneRouter(config-rtr)# redistribute staticRouter(config-rtr)# exitRouter(config)#Router(config)# ipv6 route 2001:DB8:1:1/48 null0Router(config)# endRouter#00:01:30: %SYS-5-CONFIG_I: Configured indigenous console by consoleRouter# show ipv6 route staticIPv6 Routing Table - 3 entriesCodes: C - Connected, l - Local, S - Static, R - RIP, B - BGP U - Per-user Static path I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS an overview O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2S 2001:DB8:1::/48 <1/0> via ::, Null0

Example: Configuring traffic Discard

Configuring a static course to allude at user interface null0 might be provided for discarding web traffic to a particular prefix. Because that example, if it is compelled to discard all traffic to prefix 2001:DB8:42:1/64, the adhering to static course would be defined:

Device> enableDevice# configure terminalEnter construction commands, one every line. Finish with CNTL/Z.Device(config)# ipv6 course 2001:DB8:42:1::/64 null0 Device(config)# end

Example: Configuring a addressed Default Route

A default static course is regularly used in straightforward router topologies. In the following example, a router is associated to its regional site via GigabitEthernet 0/0/0 and also to the key corporate network via Serial 2/0/0 and Serial 3/0/0. All nonlocal website traffic will it is in routed end the 2 serial interfaces.

Router(config)# interface gigabitethernet0/0/0Router(config-if)# ipv6 attend to 2001:DB8:17:1234/64Router(config-if)# exitRouter(config)# user interface Serial2/0/0Router(config-if)# ipv6 deal with 2001:DB8:1:1234/64Router(config-if)# exitRouter(config)# interface Serial3/0/0Router(config-if)# ipv6 deal with 2001:DB8:2:124/64Router(config-if)# exitRouter(config)# ipv6 course ::/0 Serial2/0Router(config)# ipv6 path ::/0 Serial3/0Router(config)# endRouter#00:06:30: %SYS-5-CONFIG_I: Configured from console through consoleRouter# show ipv6 course staticIPv6 Routing Table - 7 entriesCodes: C - Connected, l - Local, S - Static, R - RIP, B - BGP U - Per-user Static path 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 2S ::/0 <1/0> via ::, Serial2/0 via ::, Serial3/0

Example: Configuring a Floating static Route

A floating revolution route often is supplied to carry out a backup path in the event of connectivity failure. In the adhering to example, the router has actually connectivity to the network core via GigabitEthernet0/0/0 and also learns the path 2001:DB8:1:1/32 via IS-IS. If the GigabitEthernet0/0/0 interface fails, or if path 2001:DB8:1:1/32 is no longer learned via IS-IS (indicating loss of connectivity somewhere else in the network), web traffic is routed via the backup ISDN interface.

Router> enableRouter# configure terminalEnter construction commands, one every line. End with CNTL/Z.Router(config)# interface gigabitethernet0/0/0Router(config-if)# ipv6 address 2001:DB8:17:1234/64Router(config-if)# exitRouter(config)# user interface gigabitethernet0/0/0Router(config-if)# ipv6 deal with 2001:DB8:1:1234/64Router(config-if)# ipv6 router isisRouter(config-if)# exitRouter(config)# router isisRouter(config-router)# net 42.0000.0000.0000.0001.00Router(config-router)# exitRouter(config)# interface BRI1/0Router(config-if)# encapsulation pppRouter(config-if)# ipv6 enableRouter(config-if)# isdn switch-type basic-net3Router(config-if)# ppp authentication chap optionalRouter(config-if)# ppp multilinkRouter(config-if)# exitRouter(config)# dialer-list 1 protocol ipv6 permitRouter(config)# ipv6 route 2001:DB8:1::/32 BRI1/0 200Router(config)# endRouter#00:03:07: %SYS-5-CONFIG_I: Configured indigenous console by console

Additional References

Related Documents

connected Topic

Document location

IPv6 addressing and also connectivity

IPv6 configuration Guide

IPv6 commands

bromheads.tv IOS IPv6 Command Reference

bromheads.tv IOS IPv6 functions

bromheads.tv IOS IPv6 feature Mapping

Standards and RFCs

Standard/RFC

Title

RFCs for IPv6

IPv6 RFCs

MIBs

MIB

MIBs link

come locate and download MIBs for selected platforms, bromheads.tv IOS releases, and feature sets, use bromheads.tv MIB Locator found at the complying with URL:

http://www.bromheads.tv/go/mibs

Technical Assistance

Description

Link

The bromheads.tv Support and Documentation website offers online sources to download documentation, software, and tools. Use these resources to install and configure the software and also to troubleshoot and resolve technical concerns with bromheads.tv products and technologies. Accessibility to most tools ~ above the bromheads.tv Support and also Documentation website needs a bromheads.tv user ID and also password.

http://www.bromheads.tv/bromheads.tv/web/support/index.html

Feature info for IPv6 Routing: revolution Routing

The complying with table gives release information around the function or features defined in this module. This table lists only the software application release that introduced support for a given attribute in a offered software relax train. Unless detailed otherwise, subsequent releases that that software release train additionally support the feature.

use bromheads.tv function Navigator to find information around platform support and bromheads.tv software image support. To access bromheads.tv attribute Navigator, go to www.bromheads.tv/go/cfn. An account on bromheads.tv is not required. Table 1. Attribute Information for IPv6 Routing: static Routing

Feature name

Releases

Feature information

IPv6 Routing: static Routing

12.0(22)S

12.2(2)T

12.2(14)S

12.2(17a)SX1

12.2(25)SG

12.2(28)SB

12.2(33)SRA

bromheads.tv IOS XE relax 2.1

Static routes are manually configured and also define an clear path in between two networking devices.

See more: Church Of The Open Door York Pa, Church Of The Open Door

The following regulates were introduced or modified: ipv6 path , ipv6 route static solve default , display ipv6 path , present ipv6 static .