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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.