To add an IPv6 route


Open Command Prompt


At the command prompt, type:

ipv6 if

to obtain the interface index of the interface over which the addresses for the route prefix are reachable.


At the command prompt, type:

ipv6 rtu Prefix InterfaceIndex/NextHopAddress


Prefix is the route prefix.

InterfaceIndex is the interface number.

NextHopAddress is the address of a local router.

Additional command-line parameters are available.


To open command prompt, click Start, point to All Programs, point to Accessories, and then click Command Prompt

For on-link prefixes, the /NextHopAddress parameter is not required.

Related Topics

View the IPv6 routing table

Enable IPv6 forwarding

Remove an IPv6 route

The IPv6 routing table

IPv6 utilities

IPv6 routing

© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies