Add a Static Route

Published: April 30, 2010

Updated: April 30, 2010

Applies To: Windows Server 2008, Windows Server 2008 R2

Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure.

  1. Open the Routing and Remote Access MMC snap-in.

  2. In the console tree, expand the router name, and then expand IPv4.

  3. Under IPv4, right-click Static Routes, and then click New Static Route.

  4. In the IPv4 Static Route dialog box, select the interface that you want to use for the route.

  5. Enter the destination, network mask, and metric.

    If you are configuring a default static route, use the following values for the destination, network mask, and metric:

    • In Destination, type 0.0.0.0.

    • In Network mask, type 0.0.0.0.

    • In Metric, type 1.

  6. In Gateway, do one of the following:

    • If you selected a demand-dial interface, Gateway is unavailable. Select the Use this route to initiate demand-dial connections check box to initiate a demand-dial connection for traffic matching the route.

    • If the interface for this route is a LAN connection, such as Ethernet or token ring, type the IP address of the router interface that is on the same network segment as the LAN interface.

  1. Open the Routing and Remote Access MMC snap-in.

  2. In the console tree, expand the router name, and then expand IPv6.

  3. Under IPv6, right-click Static Routes, and then click New Static Route.

  4. In the IPv6 Static Route dialog box, select the interface that you want to use for the route.

  5. Enter the destination, prefix length, and metric.

    If you are configuring a default static route, use the following values for the destination, prefix length, and metric:

    • In Destination, type ::.

    • In Prefix length, type ::/0.

    • In Metric, type 1.

  6. In Gateway, do one of the following:

    • If you selected a demand-dial interface, Gateway is unavailable. Select the Use this route to initiate demand-dial connections check box to initiate a demand-dial connection for traffic matching the route.

    • If the interface for this route is a LAN connection, such as Ethernet or token ring, type the IP address of the router interface that is on the same network segment as the LAN interface.

Community Additions

ADD
Show: