Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rotating IP Addresses

Status
Not open for further replies.

HullKR

Technical User
May 10, 2002
4
GB
Is it possible to set up a hostname with more than one IP address ? I need to load share to a service which runs on a NT Server, what i would like to do his use one Hostname, which would then rotate between two or more IP addresses.
 
umm ... one hostname to 2 ip's isn't possible, however if that isn't what you are after, and what you want is two ip addresses for one host then:

assuming that /dev/hme0 is your networking device and that the address you currently use is 10.10.0.1/255.0.0.0
and you want to pretend to be 10.11.0.1/255.0.0.0 then typing in:
Code:
ifconfig hme0:1 plumb
ifconfig hme0:1 10.11.0.1 netmask 255.0.0.0 up
will get you the second address for your solaris machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top