Compartilhar via


Add a default static IP route

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To add a default static IP route

  1. Open Routing and Remote Access.

  2. In the console tree, right-click Static Routes.

    Where?

    • Routing and Remote Access/server name/IP Routing/Static Routes
  3. Click New Static Route.

  4. In Interface, click the interface you want to use for the default route.

  5. In Destination, type 0.0.0.0.

  6. In Network mask, type 0.0.0.0.

  7. In Gateway, do one of the following:

    • If the interface is 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.

  8. In Metric, type 1.

Note

  • To perform this procedure, you must be a member of the Administrators group. As a security best practice, consider using the Run As command rather than logging on with administrative credentials. If you have logged on with administrative credentials, you can also open Routing and Remote Access by clicking Start, clicking Control Panel, double-clicking Administrative Tools, and then double-clicking Routing and Remote Access. For more information, see Default local groups, Default groups, and Using Run as.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Working with MMC console files
Add a static route
Delete a static route
Perform Auto-Static Updates