Two IP address in a single machine with two different Names ??

Two IP address in a single machine with two different Names ??

Post by Eshany » Sat, 06 Mar 1999 04:00:00



Hi,

Assume you have two NIC cards in the same machine. Now, can each IP
address be associated with two different machine name in the same domain
?  If yes, can it be done using API calls (anyway network configuration
wont support this..).

Regards
Esha

 
 
 

1. Two machines listening the same IP address

I wrote a custom web server, using winsock.

For fault tolerance, I want to run this web server in two or more machines. My
objective is that if, at least, one machine is working the service will be
available.

The machines can comunicate among themselves and detect if any other machine
has crashed. They can also use HTTP redirect to do load balance.

The problem is that external users will try to access the service using a DNS
name (say www.mypersonaldomain.com) which will be resolved to one IP
address.

If I have only one machine bound to this IP address and if this machine is
down their attempt to access the service will fail in spite of the other
(working) machines.

Is there a (non messy) way to bind two machines to the same ip address ?

What else can I do ?

How do general purpose web servers like IIS and Apache solve this problem ?

Thanks in advance,

Jorge

 -----  Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web  -----
  http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
   NewsOne.Net prohibits users from posting spam.  If this or other posts

2. alphaWorks Japan just Launched

3. link between two excel sheets on two different network computers

4. MSFS5 out of mem problem

5. Relating two tables in two different databases through ADO

6. NeXTstep for Intel Processors Academic Bundle

7. Detect machine name, IP address and domain name

8. At wits end: private data members getting corrupted

9. One association with two role names or two associations

10. Visual C++ produces different EXE on two machines?!?!

11. Two copies of a single DLL in a single process (Excel) - how to avoid?

12. Making two different files with the same name

13. Running Two different DLLs w/same name, NOT simultaneously