Reference Manual

NAME

setgwx - select the Main or Alternate Gatway [Examples]
SYNOPSIS
setgwx [ifn]
setgw1 [ifn]
setgw2 [ifn]

 

...

DESCRIPTION
When invoked with no arguments, command setgwx prints details of the algorithm used on each interface for selecting a gateway to the Internet.

Command setgw1 selects the Main Gateway on the specified interface and sets the current name server to the address of that gateway. For other configuration options, see setgs and setns.

Command setgw2 selects the Alternate Gateway on the specified interface and sets the current name server to the address of that gateway. For other configuration options, see setgs and setns.

Command setgwx ifn turns off gateway selection on the specified interface and sets the current name server to its initial value. For other configuration options, see setgs and setns.

The selected gateway is not recorded in any configuration file or in the Windows Registry. To make the selection permanent, the needed command should be placed in file user.txt.

NOTES

The gateway Selection feature is documented here.

SEE ALSO
netcfg, route, setgs, sethtx, setns, setrr, setsr