Changing the appliance IP address
The netadmin user is the preferred way of configuring networking
The preferred way of administering any of the appliance network configuration is to use the netadmin user account. The netadmin user account enables you to change network, hostname and gateway settings without requiring root privileges. You can also use the netadmin user to reboot the appliance.
Setting a static IP address for the first interface (
eth0) requires the following steps:
- Obtain networking information.
- Stop the tideway services
- Edit the network configuration files.
- Restart networking.
- Restart the tideway services.
Impact of your configuration changes
After changing the IP address, if the appliance belongs to a cluster you must change its address using Cluster Management. If the appliance is not clustered, you must delete the /usr/tideway/etc/cluster.conf file and either restart the cluster services or reboot. The file is recreated with the new address.
Obtaining networking information
You must obtain the following information before starting:
- IP Address: in this example 192.168.0.100
- Netmask: in this example 255.255.255.0
- Gateway: in this example 192.168.0.1
Consult your system administrator for this information.
Stopping the Tideway services
Before changing any networking configuration, you must stop the following services:
To do this, as the tideway user, enter the following:
Editing the network configuration files
Edit Network Configuration Files Using the Console
Ensure you are on the console or have access to the console before making any networking changes.
The appliance is configured by default to use DHCP. To configure it to use a static IP address, you must edit the
/etc/sysconfig/network-scripts/ifcfg-eth0 file as root. In addition to the network settings obtained previously, you need to determine the MAC address of the network card.
To do this:
Enter the following command:
The MAC address is given after the heading
HWaddr. In this example, the MAC address is
The following example shows the default
/etc/sysconfig/network-scripts/ifcfg-eth0and add the values obtained above. The file will look like this:
- Add the gateway address to the
You can edit the appliance hostname, but you must ensure that it still resolves correctly. See Changing the appliance hostname for more information.
The file will look like this:
You must restart networking to make sure that the changes have been applied correctly. To do this, enter:
When networking starts, enter the following commands to ensure that the new networking information is showing correctly and that the appliance can resolve its own hostname correctly:
If the appliance cannot resolve its own hostname (there is no response from the ping command), see Changing the appliance hostname for information on changing the hostname.
Restarting the Tideway services
The final test is to log in to the appliance user interface (UI) using a web browser. You can only do this after you have restarted the tideway services. Enter the following commands:
Next, attempt to log in to the appliance UI using a web browser.
If you cannot log in through a web browser, try stopping and restarting the services:
Try to ping the gateway or use traceroute to the gateway. In this example, 192.168.0.1 is the gateway address provided by your system administrator. Enter the following:
If these tests fail, contact your system administrator.