From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: RTA_SRC doesn't work? Date: Thu, 02 May 2013 16:54:59 -0400 (EDT) Message-ID: <20130502.165459.532545271791758847.davem@davemloft.net> References: <7ippx96tmo.wl%jch@pps.univ-paris-diderot.fr> <20130502.162101.1494997915474101391.davem@davemloft.net> <7iy5bxdsfg.wl%jch@pps.univ-paris-diderot.fr> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: jch@pps.jussieu.fr Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:32902 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762215Ab3EBUzD (ORCPT ); Thu, 2 May 2013 16:55:03 -0400 In-Reply-To: <7iy5bxdsfg.wl%jch@pps.univ-paris-diderot.fr> Sender: netdev-owner@vger.kernel.org List-ID: From: Juliusz Chroboczek Date: Thu, 02 May 2013 22:42:59 +0200 >> >> Do you already have a default route on eth0 when you run this? > >> > Yes, one that is not source-specific. > >> Doesn't matter, you can't have multiple routes with the same lookup >> keys. > > Perhaps I'm confused, then. Isn't the lookup key the pair (dst, src)? > Or do I not understand the semantics of RTA_SRC? You're specifying on that command line the source address to use on outgoing frames generated by the host.