Reference Manual


sets [ifn]
When invoked with no argument, sets prints the current Secondary Interface Number. When invoked with one argument, sets sets the current Secondary Interface Number to ifn.

The altered setting is not recorded. To make the setting permanent, open the Interface Settings dialog box for the desired interface and then check the Main Private Interface checkbox. Alternatively, the command can be placed in file user.txt.

NAT32 uses the Secondary Interface Number in command ipmap to determine a default subnet address. The sets command is therefore only required if no subnet address is specified in the ipmap command.

If argument ifn is specified as 0, the adapter list will be searched and the index of the first Private interface found with a valid IP address will be used.

The current value of the Secondary Interface Number is always available in the environment variable s.

ipmap, netcfg, setp
Edit this page