Networking Forums

Networking Forums > Computer Networking > Linux Networking > One host taking over the IP address of another

Reply
Thread Tools Display Modes

One host taking over the IP address of another

 
 
noone
Guest
Posts: n/a

 
      11-19-2004, 09:02 AM

I am not talking about clustering here.


I have 6 hosts with internal IP addresses.
2 hosts ( group A ) have a single NAT'ed public IP address
2 hosts ( group B ) have a single NAT'ed public IP address
2 hosts ( group C ) have a single NAT'ed public IP address
All behind a firewall on the same VLAN.

What I intend to do is if one of the host dies, I add the IP address of
the host that died to the other host via a logical interface ... and the
services that were running on the host that died will be ran on the
remaining host.


It sounds simple:

When a host on group A dies, I can add the IP address of that dead host
on say a host on group B. All incoming TCP requests to the dead host
will be received by the host on group B, with the firewall not knowing
any better ( well, except for the MAC address ). If the incoming TCP
requests are load balanced between hosts on a single group, the firewall
would continue to load balance the incoming requests.


What is not so simple are outgoing connections:

When a host on group A dies, I can still add the IP address of that dead
host on say a host on group B. However, for specific TCP destinations,
some outgoing connections must originate with either the original IP on
the host on group B ... or the added IP address on the host on group B.
I could not figure out how to specify that specific outbound connections
must have a source address of x.x.x.x, while some with source address of
y.y.y.y

Any ideas ?


 
Reply With Quote
 
 
 
 
noone
Guest
Posts: n/a

 
      11-19-2004, 09:04 AM
noone wrote:
>
> What is not so simple are outgoing connections:
>
> When a host on group A dies, I can still add the IP address of that dead
> host on say a host on group B. However, for specific TCP destinations,
> some outgoing connections must originate with either the original IP on
> the host on group B ... or the added IP address on the host on group B.
> I could not figure out how to specify that specific outbound connections
> must have a source address of x.x.x.x, while some with source address of
> y.y.y.y
>
> Any ideas ?
>
>


Just figured out ... SNAT in iptables.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
laptop not taking ip address chetan m purandare Windows Networking 2 12-22-2005 05:41 AM
How to tell if an IP address belongs to a host? Rennie deGraaf Linux Networking 0 11-27-2004 08:44 AM
ICS Host Address Geoff Lane Windows Networking 5 10-02-2003 10:32 PM
ICS Host Address Geoff Lane Home Networking 1 10-02-2003 11:05 AM
ICS Host Address Geoff Lane Linux Networking 2 10-02-2003 10:49 AM



1 2 3 4 5 6 7 8 9 10 11