Modify IPv4 Network Settings From the Oracle ILOM CLI
Use this procedure to modify the server's IPv4 network
settings using the Oracle ILOM CLI.
To modify IPv6 network settings, see Modify IPv6 Network Settings From the Oracle ILOM
CLI.
-
Log in to the Oracle ILOM CLI. See:
Note -
If you are logged in to Oracle ILOM using an Ethernet
connection, your connection is terminated when you set
commitpending to
true. When this happens, log back
in using the new settings.
-
Use the cd command to navigate to the
/SP/network directory:
-> cd /SP/network
-
Do one of the following:
-
If you have a DHCP server on the network, type the
following command to view the settings assigned to
the server by the DHCP server:
-> show
/SP/network
-
If there is no DHCP server, or if you want to
assign settings, use the set
command to assign values for the properties listed
in the following table. For example:
-> set /SP/network/
pendingipdiscovery=static
-> set /SP/network/
pendingipaddress=192.168.183.106
-> set /SP/network/
pendingipnetmask=255.255.255.0
-> set /SP/network/
pendingipgateway=192.168.183.254
-> set /SP/network/
commitpending=true
|
|
|
state
|
set state=enabled
|
The state parameter modifies both
IPv4 and IPv6 as follows:
-
enabled - IPv4 enabled, IPv6
unchanged
Note -
To enable IPv6, use
/SP/network/ipv6 state =
enabled or
/SP/network/ipv6_only.
-
ipv4_only - IPv4 enabled, IPv6
disabled
-
ipv6_only - IPv4 disabled, IPv6
enabled
-
disabled - ipv4 disabled, IPv6
disabled
Note -
On systems equipped with SW 1.0.1,
you cannot enable IPv6 if IPv4 is
disabled. To obtain the choices shown
here, upgrade to SW 1.0.2 or
newer.
|
pendingipdiscovery
|
set
pendingipdiscovery=static
|
To enable a static network
configuration, set
pendingipdiscovery to
static.
By default,
pendingipdiscovery is
set to dhcp.
|
pendingipaddress
pendingipnetmask
pendingipgateway
|
set
pendingipaddress=<ip_address>
pendingipnetmask=<netmask>
pendingipgateway=<gateway>
|
To assign multiple static network
settings, type the
set command followed
by the pending
command for each property value (IP
address, netmask, and gateway), then
type the static value that you want to
assign.
|
commitpending
|
set
commitpending=true
|
Type set
commitpending=true to commit
changes.
|
|
Note -
If you are logged in to Oracle ILOM using an Ethernet
connection, your connection is terminated when you set
commitpending to
true. When this happens, log back
in using the new settings.
-
Test the IPv4 network configuration from Oracle ILOM using
the Network Test Tool (Ping).
For details, see Test IPv4 or IPv6 Network
Configuration From the Oracle ILOM CLI.