On 31.07.2019 15:50, Viktor Dukhovni wrote:
> After further manpage reading, it seems to work with:
> 
>     ifconfig_gif0_ipv6="inet6 <tunnel-prefix>::2 <tunnel-prefix>::1 prefixlen 
> 128 no_prefer_iface"
>     ifconfig_igb1_ipv6="inet6 <my-network>::1 prefixlen 64 prefer_source"
>     ip6addrctl_policy="AUTO"

Yes, in general this should help.

"no_prefer_iface" will lead to ignoring of "Rule 5: Prefer outgoing
interface", and then address with "prefer_source" flag will be chosen in
"Rule 10: prefer address with `prefer_source' flag" before "Rule 14: Use
longest matching prefix".

-- 
WBR, Andrey V. Elsukov

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to