Change ALOM IP address/Netmask/Gateway
Posted: Thu Dec 08, 2011 8:18 pm
1. Become root user
2. Show current setting:
2. Use the following command to change IP Address, Netmask and Gateway:
3. This does not automatically change on ALOM. One more command is needed:
After the hard reset, the ALOM has the new IP address, netmask and gateway:
2. Show current setting:
Code: Select all
webtest02%/usr/platform/`uname -i`/sbin/scadm show | grep netsc
netsc_tpelinktest="true"
netsc_dhcp="false"
netsc_ipaddr="10.0.16.181"
netsc_ipnetmask="255.255.255.0"
netsc_ipgateway="10.0.16.1"
Code: Select all
/usr/platform/`uname -i`/sbin/scadm set netsc_ipaddr 10.0.32.207
/usr/platform/`uname -i`/sbin/scadm set netsc_ipnetmask 255.255.254.0
/usr/platform/`uname -i`/sbin/scadm set netsc_ipgateway 10.0.32.1
Code: Select all
/usr/platform/`uname -i`/sbin/scadm resetrsc
Code: Select all
resetrsc
Reset the SC. There are two types of resets allowed, a
hard reset and a soft reset.The hard reset is done by
default. The soft reset can be selected by using the -s
option.
The format for the resetrsc subcommand is:
scadm resetrsc [-s]
Code: Select all
webtest02%/usr/platform/`uname -i`/sbin/scadm show | grep netsc
netsc_tpelinktest="true"
netsc_dhcp="false"
netsc_ipaddr="10.0.32.207"
netsc_ipnetmask="255.255.254.0"
netsc_ipgateway="10.0.32.1"