How to change the Control Station IP Address and Subnet Mask
Log in to the Control Station as root.
Change the IP address and network mask by using this command syntax:
Note: /sbin/ifconfig -a revealed eth3 to be my cs0 interface.
# /sbin/ifconfig eth3 <ipaddr> netmask <netmask>
e.g. /sbin/ifconfig eth3 172.24.101.100 netmask 255.255.255.0
This changes the immediate configuration, but does not persist across restarts.
Edit the network scripts file, /etc/sysconfig/network-scripts/ifcfg-eth3, by using a text editor (that means vi)
DEVICE=eth3
IPADDR=172.24.101.100
NETMASK=255.255.255.0
NETWORK=172.24.101.0
BROADCAST=172.24.101.255
ONBOOT=yes
Edit the local hosts file, /etc/hosts
Look for lines with the old IP address.
Replace the old IP address with your new IP address.
Save the file and exit.
If you are changing the Control Station IP address, but remaining on the same network, then the SP IP addresses for an integrated model need not be modified. However, if you are changing to a different network, the SP IP addresses must be modified to be on the same physical network as the Control Station for the Integrated model. Use the clariion_mgmt -modify -network command to update the IP addresses on the SP, as it will also update the files and Celerra database with the modified IP addresses.
How to change the Control Station default gateway
Log in to the Control Station as root using SSH. Add a default route by typing:
# /sbin/route add default gw 172.24.101.254
This changes the immediate configuration, but does not persist across restarts.
Edit the network configuration file, /etc/sysconfig/network-scripts/ifcfg-eth3, by using a text editor.
Add the new gateway IP address for the entries similar to:
DEVICE=eth3
IPADDR=172.24.101.25
NETMASK=255.255.255.0
NETWORK=172.24.101.0
BROADCAST=172.24.101.255
ONBOOT=yes
GATEWAY=172.24.101.254
Save the file and exit.