3.1.2. Procedure – Creating an alias IP address (Linux)


This procedure describes how to assign an alias IP address to a network interface on Linux platforms.


  1. Start a terminal console (for example, gnome-terminal, konsole, xterm, and so on).

  2. Issue the following command as root:

    ifconfig <ethX>:0

    where <ethX> is the ID of the network interface of the client, usually eth0 or eth1.

  3. Issue the ifconfig command. The <ethX>:0 interface appears in the output, having inet addr: .

  4. Issue the ping -c 3 command to verify that PSM is accessible. A similar result is displayed:

    user@computer:~$ ping -c 3
    PING ( 56(84) bytes of data.
    64 bytes from icmp-seq=1 ttl=63 time=0.357 ms
    64 bytes from icmp-seq=2 ttl=63 time=0.306 ms
    64 bytes from icmp-seq=3 ttl=63 time=0.314 ms
    --- ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 2013ms
    rtt min/avg/max/mdev = 0.306/0.325/0.357/0.030 ms