[strongSwan] Question on selecting source address

Tobias Brunner tobias at strongswan.org
Fri May 6 15:46:02 CEST 2016


>> After query RTM_GETROUTE, it will collect all the possible route entries.
>>
>> With above network setup it will collect two route entries to
>> destination 10.2.1.xx.
> 
> Yes, the default route and with higher priority the more specific route
> to 10.2.0.0/16.

Actually, I just noticed the metrics set on the routes (0 on default, 1
on the 10.x.0.0/16 routes).  Please refer to [1] for an explanation why
this could lead to the wrong route/source address selection.

Regards,
Tobias

[1] https://wiki.strongswan.org/issues/1416



More information about the Users mailing list