Discussion Locked

UNIX Logical IP addresses

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
How do you Make/or add Logical ip addresses for solaris 5.7? Once they are in, what command makes the ip's remain intact after you reboot your system? every time I add logical ip's, when i reboot they all disappear. could someone please help me!

3 replies

by cpfeiffe

You need a virtual interface. It sounds like you are getting them in OK, but aren't able to keep them at reboot. You edit all of the standard files (/etc/hosts and /etc/netmasks if applicable). Then you create a new file /etc/hostname.hme0:0. Ifyour standard interface is hme0 (that could be different on your system) and hme0 already has an IP address/hostname but you want to assign another to the same card you would create the file hme0:0. At reboot a new logical interface, hme0:0 is initialized and it runs off of the same NIC as hme0. The rule for this is that they should be on the same subnet or at least the router that the interface talks to must be able to handle both addresses.

This discussion is closed to new replies.