[lvs-users] DR and local forwarding method

Julian Anastasov ja at ssi.bg
Fri Aug 1 20:24:04 BST 2014


On Thu, 31 Jul 2014, Carlos R Laguna wrote:

> Hello to every one, after three day of struggle setting up a loadbalancer with
> keepalived using realserver i notice searching in the web about that local
> forwarding method is not used as default now:
> Archive List 13/12/2013
> ...." Now LOCALNODE is not set explicitly as forwarding
>     method in real server to allow the connections to provide
>     correct forwarding method to the backup server. Not sure if
>     this breaks tools that expect to see 'Local' real server type.
>     If needed, this can be supported with new flag IP_VS_DEST_F_LOCAL...."
> Ok so it said that still can be achieved using  IP_VS_DEST_F_LOCAL , now since
> i am new to this i have no idea how translate IP_VS_DEST_F_LOCAL to a
> keepalived config:

	This flag is not implemented because nobody
expressed such need. Now all methods support localnode
feature, it is checked per-packet, not on configuration

> virtual_server 25 {
>   delay_loop 15
>   lb_algo rr
>   lb_kind DR
>   persistence_timeout 50
>   protocol TCP
> can anyone pointme in the right direction ? Thank  in advance for your time
> and effort. Regards

	There was discussion on such topic:


	What happens if you try with DR? NAT can be
required if real server does not listen on VIP:VPORT.


Julian Anastasov <ja at ssi.bg>

More information about the lvs-users mailing list