netstrategy(1M) System Administration Commands 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 |
+-----------------------------+-----------------------------+
|Availability |SUNWcsr |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO ifconfig(1M), mnttab(4), attributes(5)SunOS 5.11 5 May 2007 netstrategy(1M)
Check Out this Related Man Page
bootconfchk(1M) System Administration Commands bootconfchk(1M)NAME
bootconfchk - verify the integrity of a network boot configuration file
SYNOPSIS
/usr/sbin/bootconfchk [bootconf-file]
DESCRIPTION
The bootconfchk command checks that the file specified is a valid network boot configuration file as described in wanboot.conf(4).
Any discrepancies are reported on standard error.
EXIT STATUS
0
Successful completion.
1
An error occurred.
2
Usage error.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWwbsup |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO wanboot.conf(4), attributes(5)SunOS 5.10 18 Apr 2003 bootconfchk(1M)
Hello,
I have a server with two ip addresses. I need to make the ip address that's currently the secondary the primary. How do I use the ifconfig command and primary option?
Thanks. (5 Replies)
How do I find out what the primary network interface is on an AIX system..
Found commands to display information on the various interfaces but nothing that guides me to how to tell which one is the primary network interface.
Thanks,
~D (1 Reply)
Is there a way to use code to get the interface names for a Solaris machine. I can easily see them on a command line with the "ifconfig -a" command. I could write a script that parses these out of a the ifconfig result and outputs them to a file, and then I run the script with the system command... (13 Replies)
Hi All,
I am having a sun server. The primary network interface is having name "sun1" and IP address "192.168.2.10". Now when I add second network interface with different IP address "10.1.1.100" and same hostname, it doesn't work.
What I want to know is that should the second interface... (5 Replies)
I have two ethernet interfaces nge0 and nge1.
An IP assigned on nge0 is 10.10.10.1/24 and on nge1 is 20.20.20.1/24. I want to make nge0 as primary interface.
My question here is,
1. Being nge0 as primary interface, if I ping to an IP 20.20.20.5, what will happen?
2. If the answer for the... (4 Replies)
Hi All,
Please let me know the command to restart the network interface and enable it on boot in AIX, similar to /etc/init.d/network restart in Redhat.
Thanks,
Sunil.K
please watch out to post in the right subforum! (9 Replies)
Works all.
Depot shared via nfs
dhcp working
setting file system,network,root password,etc
But when i start "go!" with installation,give me
this error.
How to fix,debug?
Thanks
http://s24.postimg.org/5hzbgk551/unixbell3.png (3 Replies)