Per RFC 6724, section 4, "Candidate Source Addresses": It is RECOMMENDED that the candidate source addresses be the set of unicast addresses assigned to the interface that will be used to send to the destination (the "outgoing" interface). Add a sysctl to enable this behaviour.
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -171,6 +171,7 @@ enum { · 170 unmodified lines | ||
| 171 | 171 | DEVCONF_USE_OPTIMISTIC, |
| 172 | 172 | DEVCONF_ACCEPT_RA_MTU, |
| 173 | 173 | DEVCONF_STABLE_SECRET, |
| 174 | + DEVCONF_USE_OIF_ADDRS_ONLY, | |
| 174 | 175 | DEVCONF_MAX |
| 175 | 176 | }; |
| 176 | 177 | |