LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] LVS-DR and IPv6 as loopback on Realserver

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] LVS-DR and IPv6 as loopback on Realserver
From: Lutz Griesbach <lgr@xxxxxxxxxxx>
Date: Tue, 27 Sep 2011 16:38:39 +0200
Hi there,


I'm trying to test a LVS-DR Setup with IPv6, however i am having problems
getting the realservers accept packets with VIP in destination.

I can see in tcpdump that th LVS rewrites the ethernet Frame of incoming
packets on the interface where the VIP is confirgured with the MAC
Destination of the Realserver.

It seems though, that the realserver doesn't catch the packet, even though
the VIP is configured on the loopback device.

The same setup implemented with IPv4 works flawless.

Here's my test setup: (centOS 6.0, 2.6.32 on lvs as well as on realserver)

[root@lvs-router1 ~]# ipvsadm -S
-A -t [fdd0:dead:beef::10]:domain -s wlc -p 5
-a -t [fdd0:dead:beef::10]:domain -r [fdd0:feed:bebe::11]:domain -g -w 100
-A -u [fdd0:dead:beef::10]:domain -s wlc -p 5
-a -u [fdd0:dead:beef::10]:domain -r [fdd0:feed:bebe::11]:domain -g -w 100

lvs-router: fdd0:dead:beef::10/64 (eth0) ->VIP
                 fdd0:feed:bebe::10/64 (eth1)
             |
             |
            V
Realserver: fdd0:feed:bebe::11 (eth0)
                    fdd0:dead:beef::10/128 (lo) ->VIP

Router and Realserver are on same datalink and and have
the same default-gw on their net.

On IPv4 i know i have to make sure, arp requests are handled properly
(arp_ignore
and arp_anounce settings) so my guess is, this has to be done somehow for ndp
as well, but i'm stuck here.

Any hints?


regards,

Lutz Griesbach

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>
  • [lvs-users] LVS-DR and IPv6 as loopback on Realserver, Lutz Griesbach <=