netstrategy man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

NETSTRATEGY(1M)						       NETSTRATEGY(1M)

NAME
       netstrategy - return network configuration information

SYNOPSIS
       /sbin/netstrategy

DESCRIPTION
       The  netstrategy	 command determines the network configuration strategy
       in use on a system and returns information in a	form  that  is	easily
       consumable by a script. The command returns three tokens:

	 <root filesystem type> <primary interface> <network config strategy>

       These tokens are described as follows:

       <root filesystem type>

	   Type	 of  filesystem that contains the bootable kernel, as would be
	   specified in the fstype column of the mnttab(4).

       <primary interface>

	   Name of the primary network interface.   For	 a  diskless  machine,
	   this is the interface used to load the kernel.

       <network config strategy>

	   The	means  by  which  a system obtains its IP address for booting.
	   This can be one of rarp, dhcp, or none.

       The netstrategy command is not intended for use on a command line.

OPTIONS
       The netstrategy command has no options.

EXIT STATUS
       0
	      Success.

       !=0
	      An error occurred.

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌────────────────────┬─────────────────┐
       │  ATTRIBUTE TYPE    │ ATTRIBUTE VALUE │
       ├────────────────────┼─────────────────┤
       │Interface Stability │ Evolving	      │
       └────────────────────┴─────────────────┘

SEE ALSO
       ifconfig(1M), mnttab(4), attributes(5)

				  May 5, 2007		       NETSTRATEGY(1M)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net