From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Frederic Sowa Subject: Re: IPv6 Policy based routing not working. Date: Wed, 27 Aug 2014 08:05:46 +0200 Message-ID: <1409119546.11976.11.camel@localhost> References: <1409090482.1152.8.camel@localhost> <1409118957.11976.9.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: Tushar Shinde Return-path: Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45611 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754865AbaH0GFs (ORCPT ); Wed, 27 Aug 2014 02:05:48 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by gateway2.nyi.internal (Postfix) with ESMTP id 40905207BE for ; Wed, 27 Aug 2014 02:05:48 -0400 (EDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Mi, 2014-08-27 at 11:32 +0530, Tushar Shinde wrote: > So do we need to always use ipv6 address to bind unlike ipv4? No, I think SO_BINDTODEVICE should work. But ping6 does not use it, so one could add support for this to ping with a new option. ping6 uses cmsg with undefined ipv6 source address but set ifindex and that's not at all like SO_BINDTODEVICE. Bye, Hannes