Hi Brane,

On Mon, May 14, 2012 at 11:02:13AM +0200, "Brane F. Gra??nar" wrote:
> 10x for great progress!!!
> 
> I have a question regarding IP based stick tables. Currently i have the
> following setup:
> 
> backend some_backend
>         #### BEGIN: Session stickyness
>         stick on src table STICK_some_backend
>         stick on src6 table STICK6_some_backend
> 
> backend STICK_some_backend
>       stick-table type ip size 200k expire 2h
> 
> backend STICK6_some_backend
>       stick-table type ipv6 size 200k expire 2h
> 
> This works great for IPv4 and IPv6 clients. Since -dev9 src6 is gone,
> but stick type "ipv6" is still there; i'd like to upgrade to -dev10 but
> i'm confused about stick tables.

IPv4 addresses can be cast to IPv6 addresses, so if you need to store
both IPv4 and IPv6 addresses, just use the IPv6 one and your IPv4 entries
will automatically be converted when stored :

    backend some_backend
         #### BEGIN: Session stickyness
         stick on src table STICK_some_backend
 
    backend STICK_some_backend
        stick-table type ipv6 size 200k expire 2h

Regards,
Willy


Reply via email to