chapter 4 configuring static ipv6...

4
Chapter 4 Configuring Static IPv6 Routes This chapter describes how to configure a static IPv6 route. A static IPv6 route is a manually configured route, which creates a path between two IPv6 routers. A static IPv6 route is similar to a static IPv4 route. Static IPv6 routes have their advantages and disadvantages; for example, a static IPv6 route does not generate updates, which reduces processing time for an IPv6 router. Conversely, if a static IPv6 route fails or if you want to change your network topology, you might need to manually reconfigure the static IPv6 route. Configuring a Static IPv6 Route You can configure a static IPv6 route to be redistributed into a routing protocol, but you cannot redistribute routes learned by a routing protocol into the static IPv6 routing table. Before configuring a static IPv6 route, you must enable the forwarding of IPv6 traffic on the router using the ipv6 unicast-routing command and enable IPv6 on at least one interface by configuring an IPv6 address or explicitly enabling IPv6 on that interface. For more information on performing these configuration tasks, see “Configuring Basic IPv6 Connectivity” on page 3-1. To configure a static IPv6 route for a destination network with the prefix 8eff::0/32, a next-hop gateway with the global address 4fee:2343:0:ee44::1, and an administrative distance of 110, enter the following command: ProCurveRS(config)# ipv6 route 8eff::0/32 4fee:2343:0:ee44::1 distance 110 Syntax: ipv6 route <dest-ipv6-prefix>/<prefix-length> <next-hop-ipv6-address> [<metric>] [distance <number>] To configure a static IPv6 route for a destination network with the prefix 8eff::0/32 and a next-hop gateway with the link-local address fe80::1 that the router can access through Ethernet interface 3/1, enter the following command: ProCurveRS(config)# ipv6 route 8eff::0/32 ethernet 1 fe80::1 Syntax: ipv6 route <dest-ipv6-prefix>/<prefix-length> <interface> <port> <next-hop-ipv6-address> [<metric>] [distance <number>] To configure a static IPv6 route for a destination network with the prefix 8eff::0/32 and a next-hop gateway that the router can access through tunnel 1, enter the following command: ProCurveRS(config)# ipv6 route 8eff::0/32 tunnel 1 Syntax: ipv6 route <dest-ipv6-prefix>/<prefix-length> <interface> <port> [<metric>] [distance <number>] June 2005 4 - 1

Upload: trankhue

Post on 06-Feb-2018

215 views

Category:

Documents


2 download

TRANSCRIPT

Chapter 4 Configuring Static IPv6 Routes

This chapter describes how to configure a static IPv6 route. A static IPv6 route is a manually configured route, which creates a path between two IPv6 routers. A static IPv6 route is similar to a static IPv4 route. Static IPv6 routes have their advantages and disadvantages; for example, a static IPv6 route does not generate updates, which reduces processing time for an IPv6 router. Conversely, if a static IPv6 route fails or if you want to change your network topology, you might need to manually reconfigure the static IPv6 route.

Configuring a Static IPv6 Route You can configure a static IPv6 route to be redistributed into a routing protocol, but you cannot redistribute routes learned by a routing protocol into the static IPv6 routing table.

Before configuring a static IPv6 route, you must enable the forwarding of IPv6 traffic on the router using the ipv6 unicast-routing command and enable IPv6 on at least one interface by configuring an IPv6 address or explicitly enabling IPv6 on that interface. For more information on performing these configuration tasks, see “Configuring Basic IPv6 Connectivity” on page 3-1.

To configure a static IPv6 route for a destination network with the prefix 8eff::0/32, a next-hop gateway with the global address 4fee:2343:0:ee44::1, and an administrative distance of 110, enter the following command:

ProCurveRS(config)# ipv6 route 8eff::0/32 4fee:2343:0:ee44::1 distance 110

Syntax: ipv6 route <dest-ipv6-prefix>/<prefix-length> <next-hop-ipv6-address> [<metric>] [distance <number>]

To configure a static IPv6 route for a destination network with the prefix 8eff::0/32 and a next-hop gateway with the link-local address fe80::1 that the router can access through Ethernet interface 3/1, enter the following command:

ProCurveRS(config)# ipv6 route 8eff::0/32 ethernet 1 fe80::1

Syntax: ipv6 route <dest-ipv6-prefix>/<prefix-length> <interface> <port> <next-hop-ipv6-address> [<metric>] [distance <number>]

To configure a static IPv6 route for a destination network with the prefix 8eff::0/32 and a next-hop gateway that the router can access through tunnel 1, enter the following command:

ProCurveRS(config)# ipv6 route 8eff::0/32 tunnel 1

Syntax: ipv6 route <dest-ipv6-prefix>/<prefix-length> <interface> <port> [<metric>] [distance <number>]

June 2005 4 - 1

IPv6 Configuration Guide for the ProCurve 9408sl Routing Switch

Table 4.1 describes the parameters associated with this command and indicates the status of each parameter.

Table 4.1: Static IPv6 route parameters

Parameter Configuration Details Status

The IPv6 prefix and prefix length of the route’s destination network.

You must specify the <dest-ipv6­prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373.

You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6­prefix> parameter and precede the <prefix-length> parameter.

Mandatory for all static IPv6 routes.

The route’s next-hop gateway, which can be one of the following:

• The IPv6 address of a next-hop gateway.

• A tunnel interface.

You can specify the next-hop gateway as one of the following types of IPv6 addresses:

• A global address.

• A link-local address.

If you specify a global address, you do not need to specify any additional parameters for the next-hop gateway.

If you specify a link-local address, you must also specify the interface through which to access the address. You can specify one of the following interfaces:

• An Ethernet interface.

• A tunnel interface.

• A virtual interface (VE).

If you specify an Ethernet interface, also specify the port number associated with the interface. If you specify a VE or tunnel interface, also specify the VE or tunnel number.

You can also specify the next-hop gateway as a tunnel interface. If you specify a tunnel interface, also specify the tunnel number.

Mandatory for all static IPv6 routes.

The route’s metric. You can specify a value from 1 – 16. Optional for all static IPv6 routes. (The default metric is 1.)

The route’s administrative distance.

You must specify the distance keyword and any numerical value.

Optional for all static IPv6 routes. (The default administrative distance is 1.)

A metric is a value that the router uses when comparing this route to other static routes in the IPv6 static route table that have the same destination. The metric applies only to routes that the router has already placed in the IPv6 static route table.

The administrative distance is a value that the router uses to compare this route with routes from other route sources that have the same destination. (The router performs this comparison before placing a route in the IPv6

4 - 2 June 2005

Configuring Static IPv6 Routes

route table.) This parameter does not apply to routes that are already in the IPv6 route table. In general, a low administrative distance indicates a preferred route. By default, static routes take precedence over routes learned by routing protocols. If you want a dynamic route to be chosen over a static route, you can configure the static route with a higher administrative distance than the dynamic route.

June 2005 4 - 3

IPv6 Configuration Guide for the ProCurve 9408sl Routing Switch

4 - 4 June 2005