Hello,
On Mon, Jul 01, 2019 at 09:11:28PM +0900, YASUOKA Masahiko wrote:
> Hi,
>
> "route-to" is used with the interface used for the next hop. But if
> it is used with a source address track (sticky-address), it sometimes
> output the packet to wrong interface.
>
> Example:
>
> pass in quick inet proto tcp from any to 192.168.0.10 port 80 \
> keep state (sloppy) route-to <LB> source-hash hogehoge sticky-address
>
> # pfctl -Tshow -tLB
> 127.0.0.1@lo0
> 192.168.0.101@em0
> 192.168.0.102@em0
> #
>
thank you for providing example. Your change looks good.
</snip>
OK sashan