Re: Forcing the output interface using ip6_route_output doesn't work

2015-09-26 Thread Wolfgang Nothdurft
Am 25.09.2015 um 23:13 schrieb David Ahern: On 9/25/15 7:56 AM, Wolfgang Nothdurft wrote: It seems that the ip6_route_output(net, sk, fl6) kernel function ignores the fl6.flowi6_oif parameter for the routing decision. It is considered, but a mismatch is not considered fatal. I think the attac

Re: Forcing the output interface using ip6_route_output doesn't work

2015-09-25 Thread David Ahern
On 9/25/15 7:56 AM, Wolfgang Nothdurft wrote: It seems that the ip6_route_output(net, sk, fl6) kernel function ignores the fl6.flowi6_oif parameter for the routing decision. It is considered, but a mismatch is not considered fatal. I think the attached should fix your problem. diff --git a/n

Forcing the output interface using ip6_route_output doesn't work

2015-09-25 Thread Wolfgang Nothdurft
It seems that the ip6_route_output(net, sk, fl6) kernel function ignores the fl6.flowi6_oif parameter for the routing decision. Is this intended? Should it possible to force the output device for ipv6 routing just as for ipv4? Here the example shown with the ip command: With ipv4, I'm able t