Partager via


IPv4 - Static Routes

Applies To: Windows 7, Windows Server 2008 R2

A static routed Internet Protocol version 4 (IPv4) network does not use routing protocols such as Routing Information Protocol (RIP) for IP to communicate routing information between routers. All of the routing information is stored in a static routing table on each router. You need to ensure that each router has the appropriate routes in its routing table so that traffic can be exchanged between any two endpoints on the IP network.

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

To create a new static route

  1. In the RRAS MMC snap-in, expand IPv4, right-click Static Routes, and then click New Static Route.

  2. Use the IPv4 Static Route dialog box to configure the route.

  3. To edit the route after you create it, right-click the route, and then click Properties. Use the IPv4 Static Route dialog box to make the changes to the route.

To view the currently defined static routes

  1. In the RRAS MMC snap-in, expand IPv4, and then click Static Routes.

  2. The details pane shows the following information about the currently defined routes:

    • Destination – the IP address of the network or host to which the route points.

    • Network mask – the mask for the destination IP address.

    • Gateway – the IP address of the next hop toward the destination.

    • Interface – the interface on the local router on which the gateway can be reached and on which the forwarded packet is sent.

    • Metric – a measure of the cost of using the route. When multiple routes that can reach a destination exist, the route with the lowest metric is selected.

Additional references