Hostname question
Hi All,
Can i have in my solaris 9 OS two hostnames with two distinct IPs?
I know that i can have a hostname with two distinct IPs.
I tried to add a second host name with its IP
yet i can't ping the new host.
Can anyone lead me to the proper way... knowing that i need to do this for some purposes in Application Server
.
Regards,
Scotty
[393 byte] By [
s@mira123a] at [2007-11-27 1:02:10]

# 1
Hello.
a) If both IP addresses work (only a host name problem):
>> I know that i can have a hostname with two distinct IPs.
Are you sure?
>> I tried to add a second host name with its IP yet i can't ping the new host.
Make sure that the new host name is present in the /etc/hosts and /etc/inet/ipnodes files of the computer from where you want to ping the host. If you use DNS this is not necessary; ensure that the DNS server knows all the host names and the matching IP addresses.
Make sure "ping" works correctly with both IP addresses (to ensure that it is a host name and not an IP address problem).
b) If it is not a host name problem but an IP address problem:
What do you want to do?
- Two network cards with two different IP addresses?
- One network card with two different IP addresses?
Martin