General discussion

  • Creator
    Topic
  • #2310223

    How unix support multiple ip address

    Locked

    by jpsarkar_2001 ·

    Somebody says that unix support multiple ip address………can anybody say in detail….
    and provide me more information

All Comments

  • Author
    Replies
    • #3472414

      How unix support multiple ip address

      by wim ·

      In reply to How unix support multiple ip address

      Yes you can, if the ip_alias module is compiled.
      You could use something like
      ‘ifconfig eth0:0 10.10.0.50 netmask 255.255.0.0 up’
      ‘ifconfig eth0:1 10.10.0.51 netmask 255.255.0.0 up’

      and also adapt your routing table

    • #3478790

      How unix support multiple ip address

      by unixadmin ·

      In reply to How unix support multiple ip address

      Most versions of Unix support hardware virtual IP address’ The ones I know for sure are Solaris, HP-UX and I am fairly sure Linux does as well. The easiest way to extend your interface into multiple IP’s is by using the ifconfig command and appending :0 to the device name ie eth0 to eth0:0 or hme0 to hme0:0 and so on. This configures the device while the system is running, but a reboot will make the configuration disappear. To ensure the new IP’s remain after reboot each systems is different. For Solaris you can add the IP Address in a text file under the /etc directory called hostname. eg hostname.hme0:1 HP has a boot file that it sources during boot time (it’s been awhile) and I’m not sure for Linux. The easy way would beto install webmin and modify it using it. This tool would allow you to make the changes and make them permanent.

    • #3461424

      How unix support multiple ip address

      by jpsarkar_2001 ·

      In reply to How unix support multiple ip address

      This question was auto closed due to inactivity

Viewing 2 reply threads