1netstrategy(1M) System Administration Commands netstrategy(1M)
2
3
4
6 netstrategy - return network configuration information
7
9 /sbin/netstrategy
10
11
13 The netstrategy command determines the network configuration strategy
14 in use on a system and returns information in a form that is easily
15 consumable by a script. The command returns three tokens:
16
17 <root filesystem type> <primary interface> <network config strategy>
18
19
20
21
22 These tokens are described as follows:
23
24 <root filesystem type>
25
26 Type of filesystem that contains the bootable kernel, as would be
27 specified in the fstype column of the mnttab(4).
28
29
30 <primary interface>
31
32 Name of the primary network interface. For a diskless machine,
33 this is the interface used to load the kernel.
34
35
36 <network config strategy>
37
38 The means by which a system obtains its IP address for booting.
39 This can be one of rarp, dhcp, or none.
40
41
42
43 The netstrategy command is not intended for use on a command line.
44
46 The netstrategy command has no options.
47
49 0 Success.
50
51
52 !=0 An error occurred.
53
54
56 See attributes(5) for descriptions of the following attributes:
57
58
59
60
61 ┌─────────────────────────────┬─────────────────────────────┐
62 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
63 ├─────────────────────────────┼─────────────────────────────┤
64 │Availability │SUNWcsr │
65 ├─────────────────────────────┼─────────────────────────────┤
66 │Interface Stability │Evolving │
67 └─────────────────────────────┴─────────────────────────────┘
68
70 ifconfig(1M), mnttab(4), attributes(5)
71
72
73
74SunOS 5.11 5 May 2007 netstrategy(1M)