OK, I'm wondering if this is possible in Linux:
One server, thebeast.mydomain.com , has 2 NICS. 1 has an IP of 10.0.0.1, the other of 10.0.0.2 . It is connected to a switch (which has a few other servers attached), and the switch to the rest of the LAN.
It's a pretty critical server, under quite heavy load. Is there any way that a client could connect to thebeast.mydomain.com and sometimes connect to one IP, sometimes to another? I'm looking for fault tolerance as well as load balancing between the network cards. I know that Intel Server adapters do this on NT and Novell.
Anyone have any ideas? Would it involve DNS jiiggerypokery? i.e. DNS server sending requests to 1 IP then another. Or maybe a switch that could do it?
Ricardo
PS please don't say "buy another server and cluster it" or somesuch. an additional NIC is FAR cheaper than another high-end server.
On Thu, 14 Feb 2002 12:34:17 +0000 Ricardo Campos wrote:
One server, thebeast.mydomain.com , has 2 NICS. 1 has an IP of 10.0.0.1, the other of 10.0.0.2 . It is connected to a switch (which has a few other servers attached), and the switch to the rest of the LAN.
It's a pretty critical server, under quite heavy load. Is there any way that a client could connect to thebeast.mydomain.com and sometimes connect to one IP, sometimes to another? I'm looking for fault tolerance as well as load balancing between the network cards. I know that Intel Server adapters do this on NT and Novell.
Anyone have any ideas? Would it involve DNS jiiggerypokery? i.e. DNS server sending requests to 1 IP then another. Or maybe a switch that could do it?
Well, you can use round-robin DNS which means that for the hostname you'll assign two IP addresses. You just assign multiple A records for the hostname. In DNS, you'll need to do the following:-
thebeast IN A 10.0.0.1 thebeast IN A 10.0.0.2
That should do the job.
Regards,
Martyn