Hello,
On Wed, 30 May 2018, SankaraNarayanan S wrote:
> Hello Team,
>
>
>
> Is it possible to add IPv6 Unique Local address virtual server with
> IPv6 link local address real server. I tried and get the error mentioned
> below
>
>
>
>
>
> root@l3-newversion-1~#ipvsadm -a -t [fd21:d1aa:194a:3515:0:1:0:0]:80 -r
> [fe80::5054:ff:fe35:a011]:80
It is possible only if RIP is local IP, not for
remote link-local addresses. See this commit:
commit 3bfb92f4073aa829f8e67e459d54c79306ddbd73
Author: Sven Wegener <sven.wegener@xxxxxxxxxxx>
Date: Fri Sep 5 16:53:49 2008 +0200
ipvs: Reject ipv6 link-local addresses for destinations
We can't use non-local link-local addresses for destinations, without
knowing the interface on which we can reach the address. Reject them for
now.
...
@@ -838,7 +838,8 @@ ip_vs_new_dest(struct ip_vs_service *svc, struct
ip_vs_dest_user_kern *udest,
#ifdef CONFIG_IP_VS_IPV6
if (svc->af == AF_INET6) {
atype = ipv6_addr_type(&udest->addr.in6);
- if (!(atype & IPV6_ADDR_UNICAST) &&
+ if ((!(atype & IPV6_ADDR_UNICAST) ||
+ atype & IPV6_ADDR_LINKLOCAL) &&
!__ip_vs_addr_is_local_v6(&udest->addr.in6))
return -EINVAL;
} else
Regards
--
Julian Anastasov <ja@xxxxxx>
_______________________________________________
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
|