Setting the IP address in Linux

To set the IP address on the Linux® operating system, complete these steps.

About this task

During this procedure, you need the IP address and Subnet mask values obtained in step 4 in Accessing the ASMI using a web Browser.

Procedure

  1. Make sure that you are logged on as a root user.
  2. Start a terminal session.
  3. Type ifconfig -a at the command prompt.
    Attention: Record or print the current settings and the eth1 or eth2 interfaces before making changes. This action allows you to restore these settings if you disconnect the PC or notebook after setting up the ASMI web interface.
  4. Type ifconfig ethx xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx, where the xxx.xxx.xxx.xxx values are the values from step 4 for IP address and Subnet mask.
    Replace ethx with the interface shown in step 3.
  5. Press Enter.