General discussion

Locked

How unix support multiple ip address

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

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

How unix support multiple ip address

by wim In reply to How unix support multiple ...

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

Collapse -

How unix support multiple ip address

by jpsarkar_2001 In reply to How unix support multiple ...

The question was auto-closed by TechRepublic

Collapse -

How unix support multiple ip address

by unixadmin In reply to How unix support multiple ...

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.<interface_name> 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.

Collapse -

How unix support multiple ip address

by jpsarkar_2001 In reply to How unix support multiple ...

The question was auto-closed by TechRepublic

Collapse -

How unix support multiple ip address

by jpsarkar_2001 In reply to How unix support multiple ...

This question was auto closed due to inactivity

Back to Linux Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums