
Configuring Default Routing
3-6 PortMaster Configuration Guide
You can set a metric between 1 and 15 for the IP and IPX gateways to indicate the hop 
count associated with the gateway route. The PortMaster uses the hop count value for 
comparisons if the PortMaster is set to listen for default routes from other routers.
Refer to Appendix A, “Networking Concepts,” for more information about address 
formats. Refer to the PortMaster Routing Guide for more information about routing.
To set the default gateway, use the following command:
Command> set gateway Ipaddress [Metric]
If you do not specify a value for Metric, the PortMaster assumes a default value of 1.
Configuring Default RoutingAs described in the PortMaster Routing Guide, PortMaster products can automatically send 
and accept route information as part of RIP messages if routing  is turned on. If default 
routing is on, default routes are sent and accepted as part of the messages. 
To configure default routing, use the following command:
Command> set default on|off|broadcast|listen
Table 3-1 describes the results of using each keyword. 
Configuring Name ResolutionYou can use either a network name service or the host table on the PortMaster to map 
hostnames to IP addresses.
Table 3 -1 Default Routing Keywords
 Keyword Description
on The PortMaster broadcasts and listens for def ault route 
information. 
off The PortMaster neither broadcasts nor listens for default route 
information. This is the default.
broadcast The PortMaster broadcasts default route information, if it has a 
default route.
listen The PortMaster listens for default route information.