Go to main content

Trusted Extensions Configuration and Administration

Exit Print View

Updated: November 2020

How to Add Default Routes

This procedure adds a default route by using the GUI. The example shows how to add a default route by using the command line.

Before You Begin

You must be in the Security Administrator role in the global zone.

You have added each destination host, network, and gateway to a security template. For details, see How to Add a Host to a Security Template and How to Add a Range of Hosts to a Security Template.

  1. Use the txzonemgr GUI to create default routes.
    # txzonemgr &
  2. Double-click the zone whose default route you want to set, then double-click its IP address entry.

    If the zone has more than one IP address, choose the entry with the desired interface.

  3. At the prompt, type the IP address of the router and click OK.

    Note - To remove or modify the default router, remove the entry, create the IP entry again and add the router. If the zone has only one IP address, you must remove the IP instance to remove the entry.
Example 42  Using the route Command to Set the Default Route for the Global Zone

In this example, the administrator uses the route command to create a default route for the global zone.

# route add default -static