LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] IPv6 tunnel forwarding method ?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [lvs-users] IPv6 tunnel forwarding method ?
From: Nicolas Haller <nicolas.haller@xxxxxxxxxxxxx>
Date: Mon, 14 Sep 2009 13:24:19 +0200
On Fri, Sep 11, 2009 at 11:24:19AM +0200, Nicolas Haller wrote:
> On Thu, Sep 10, 2009 at 02:24:31PM +0100, Graeme Fowler wrote:
> Hi,

> Ok, so, I done some clean in my conf this morning and all is right now.

> But I have an another problem. It seems LVS don't send the IPIP packet
> to the right place.

> An ipvsadm --list say:
> TCP  [2001:7a8:0:fe01::1]:www wlc persistent 120
>   -> [2001:7a8:1:5::17]:www       Tunnel  1      1          1

> An ifconfig say:
> eth0      Link encap:Ethernet  HWaddr 00:30:48:5a:4e:4e  
>           inet adr:194.79.134.250  Bcast:194.79.134.255 Masque:255.255.255.248
>         adr inet6: fe80::230:48ff:fe5a:4e4e/64 Scope:Lien
>         adr inet6: 2001:7a8:1:61::250/64 Scope:Global

> dummy0    Link encap:Ethernet  HWaddr 22:83:2d:0f:68:7e
>           inet adr:194.79.128.128  Bcast:194.79.128.255  
> Masque:255.255.255.255
>           adr inet6: 2001:7a8:0:fe01::1/64 Scope:Global
>           adr inet6: fe80::2083:2dff:fe0f:687e/64 Scope:Lien


> No packet is received to the machine 2001:7a8:1:5::17.

> On the director, tcpdump say this:

> 11:13:56.994105 00:30:48:5a:4e:4e (oui Unknown) > 00:1f:9d:9f:89:42 (oui 
> Unknown), ethertype IPv6 (0x86dd), length 134: 2001:7a8:0:fe01::1 > 
> 2001:7a8:1:5::: 
> Elf-1-pt.tunnel.tserv6.fra1.ipv6.he.net.33405 > 2001:7a8:0:fe01::1.www: S 
> 2426580310:2426580310(0) win 4880 <mss 1220,sackOK,timestamp 1075822819 
> 0,nop,wscale 6>
> (It's my telnet 2001:7a8:0:fe01::1 80 from a client)


> 11:13:59.993556 00:30:48:5a:4e:4e (oui Unknown) > 00:1f:9d:9f:89:42 (oui 
> Unknown), ethertype IPv6 (0x86dd), length 134: 2001:7a8:0:fe01::1 >
> 2001:7a8:1:5::: Elf-1-pt.tunnel.tserv6.fra1.ipv6.he.net.33405 > 
> 2001:7a8:0:fe01::1.www: S 2426580310:2426580310(0) win 4880 <mss 
> 1220,sackOK,timestamp 1075823569 0,nop,wscale 6>
> (It seems to be the IPIP packet. Here you can see it try to contact 
> 2001:7a8:1:5::. I don't know why)


> 11:14:00.012359 00:1f:9d:9f:89:42 (oui Unknown) > 00:30:48:5a:4e:4e (oui 
> Unknown), ethertype IPv6 (0x86dd), length 182:
> vl3-swr401-srv-courbevoie.ipv6.nerim.net > 2001:7a8:0:fe01::1: ICMP6, 
> destination unreachable, unreachable address 2001:7a8:1:5::, length 128
> (Router tell me 2001:7a8:1:5:: don't exist)


> So it's seems LVS try to send a IPIP packet do 2001:7a8:1:5:: instead of
> send it to 2001:7a8:1:5::17. Do you know why?

Hi,

I have recompiled my kernel with IPVS debug option. I have the same
problem and IPVS seems to know to witch IP address it should send the
IPIP packet.

Here is kernel message when I try to contact my IPv6 service.

[99928.879295] IPVS: lookup/in TCP 
[2001:0470:1f0a:11c0:0000:0000:0000:0002]:42806->[2001:07a8:0000:fe01:0000:0000:0000:0001]:80
 hit
[99928.879302] IPVS: Incoming packet: TCP 
2001:0470:1f0a:11c0:0000:0000:0000:0002:42806->2001:07a8:0000:fe01:0000:0000:0000:0001:80
[99928.879307] Enter: ip_vs_tunnel_xmit_v6, net/netfilter/ipvs/ip_vs_xmit.c 
line 646
[99928.879314] IPVS: new dst 2001:07a8:0001:0005:0000:0000:0000:0017, refcnt=4
[99928.879327] Leave: ip_vs_tunnel_xmit_v6, net/netfilter/ipvs/ip_vs_xmit.c 
line 727

Regards,

-- 
Nicolas Haller

_______________________________________________
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>