Learning Academy

The Cure of Ignorance is to Question. MUHAMMAD (PBUH)

IPv6

How to add an IP version 6 route in Windows Server 2003 Server?

Adding an IPv6 Route

  1. Click Start, point to All Programs, point to Accessories, and then click Command Prompt.
  2. At the command prompt, type netsh, and then press ENTER.
  3. Type interface ipv6, and then press ENTER.
  4. Type the following command, and then press ENTER:
    add route [prefix=]ipv6address/integer [[interface=]string] [[nexthop=]ipv6address] [[siteprefixlength=]integer] [[metric=]integer] [[publish=]{no | age | yes}] [[validlifetime=]{integer | infinite}] [[preferredlifetime=]{integer | infinite}] [[store=]{active | persistent}]

    This command uses the following values:

    • [prefix=]ipv6address/integer: This parameter is required. It specifies the prefix for which to add a route. Integer specifies the prefix length.
    • [[interface=]string]: Specifies an interface name or index.
    • [[nexthop=]ipv6address]: Specifies the gateway address if the prefix is not on-link.
    • [[siteprefixlength=]integer]: Specifies the prefix length for the whole site if the prefix is not on-link.
    • [[metric=]integer]: Specifies the route metric.
    • [[publish=]{no | age | yes}]: Specifies whether routes are advertised in Route Advertisements with unchanging lifetimes (yes), advertised with decreasing lifetimes (age), or not advertised (no) in Route Advertisements. The default setting is no.
    • [[validlifetime=]{integer | infinite}]: Specifies the lifetime over which the route is valid. The default value is infinite.
    • [[preferredlifetime=]{integer | infinite}]: Specifies the lifetime over which the route is preferred. The default value is equal to the valid lifetime.
    • [[store=]{active | persistent}]: Specifies whether the change lasts only until the next startup (active) or if it is persistent (persistent). The default setting is persistent.

    NOTES: This parameter adds a route for a specific prefix. The time value can be expressed in days, hours, minutes, and seconds (for example, 1d2h3m4s).

    When publish is set to no or age, the route is deleted after the end of the valid lifetime. When publish is set to age, the Route Advertisement contains the valid lifetime remaining until deletion. When publish is set to yes, the route will never be deleted, regardless of the validlifetime value, and every Route Advertisement contain the “same” specified valid lifetime.

Muhammad Shaukat

Content Developer at LearnAcad.com

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Pin It on Pinterest