Networking Forums

Networking Forums > Computer Networking > Linux Networking > VRRPD, original IP and IP aliasing

Reply
Thread Tools Display Modes

VRRPD, original IP and IP aliasing

 
 
Ming-Ching Tiew
Guest
Posts: n/a

 
      10-03-2004, 10:07 AM
I want to run 'vrrpd' to take care of server redundancy
but I have a few questions :-

1. Assuming that I have my LAN eth0 IP as 192.168.1.1,
after I start vrrpd this way :-

vrrpd -v 50 -i eth0 192.168.1.2

I noticed that the original IP 192.168.1.1
become not ping-able anymore. Is it an expected
behaviour ?

2. After ping-ing the vrrpd virtual IP ( 192.168.1.2 )
for a while, I noticed that the original IP ( 192.168.1.1 )
become ping-able again, ie I now have two IPs.

But without ping-ing the virtual IP, the original IP is
forever not ping-able.

Is it an expected behaviour ?


3. With this new virtual IP, do I have to create any routes
for it ?

4. Does vrrpd supports IP aliasing ? Meaning can I run
multiple instances of vrrpd on the same interface
with different virtual IPs allowing for IP redundancy
for a few aliased IPs ?

Example,

vrrpd -v 50 -i eth0 192.168.1.2
vrrpd -v 51 -i eth0 10.1.1.1
etc

Again do I have to do anything to 'routes' ?

Tks in advance





 
Reply With Quote
 
 
 
 
Kimmo Koivisto
Guest
Posts: n/a

 
      10-03-2004, 04:25 PM
Ming-Ching Tiew wrote:

> I want to run 'vrrpd' to take care of server redundancy
> but I have a few questions :-
>

I have only tried keepalived not vrrpd, so don't take my answers as facts

> 1. Assuming that I have my LAN eth0 IP as 192.168.1.1,
> after I start vrrpd this way :-
>
> vrrpd -v 50 -i eth0 192.168.1.2
>
> I noticed that the original IP 192.168.1.1
> become not ping-able anymore. Is it an expected
> behaviour ?

At least with keepalived pinging the real IP is possible.

>
> 2. After ping-ing the vrrpd virtual IP ( 192.168.1.2 )
> for a while, I noticed that the original IP ( 192.168.1.1 )
> become ping-able again, ie I now have two IPs.
>
> But without ping-ing the virtual IP, the original IP is
> forever not ping-able.
>
> Is it an expected behaviour ?
>

With keepalived ping to the real IP works immediately.

>
> 3. With this new virtual IP, do I have to create any routes
> for it ?


If the new virtual IP is from the same subnet as the real IP, additional
routes are not needed. At least I haven't done any routes for virtual IP's.

>
> 4. Does vrrpd supports IP aliasing ? Meaning can I run
> multiple instances of vrrpd on the same interface
> with different virtual IPs allowing for IP redundancy
> for a few aliased IPs ?
>
> Example,
>
> vrrpd -v 50 -i eth0 192.168.1.2
> vrrpd -v 51 -i eth0 10.1.1.1
> etc
>

At least keepalived supports it, I have tried with IP addresses from the
same subnet not from different subnets as in your example. If it works, it
can save public addresses; you could make your router redundant with one
public address per interface using private addresses as real IP. Have to
try it to be sure.


> Again do I have to do anything to 'routes' ?


I would imagine that you need to specify route if the virtual IP's are from
different subnet than real IP. But I really don't know for sure...

Regards
Kimmo Koivisto
 
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
IP aliasing in Linux Red Hat 2.4.20-8 Prabhu Linux Networking 2 06-28-2006 03:19 PM
lo aliasing problem krsyoung Linux Networking 1 10-01-2005 12:10 AM
Aliasing the loopback. William D. Tallman Linux Networking 14 01-07-2004 01:50 PM
IP Aliasing, 2 networks Leland Linux Networking 3 11-10-2003 11:08 PM
Aliasing different IP blocks to same NIC Lane Vance Linux Networking 1 08-29-2003 01:09 PM



1 2 3 4 5 6 7 8 9 10 11