[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK3+h2wUY_JuD=jAX9KH8Jvnxey5mJ05G5_STorwuVeBhmJo1g@mail.gmail.com>
Date: Tue, 15 Oct 2013 14:38:52 -0700
From: Vincent Li <vincent.mc.li@...il.com>
To: Julian Anastasov <ja@....bg>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Joel Sing <jsing@...gle.com>
Subject: Re: kernel policy routing table src ip not respected since 2.6.37 and
commit 9fc3bbb4a752
ok, thanks for the clarification.
On Tue, Oct 15, 2013 at 1:36 PM, Julian Anastasov <ja@....bg> wrote:
>
> Hello,
>
> On Tue, 15 Oct 2013, Vincent Li wrote:
>
>> it is strange though when 10.1.1.9 is unreachable address and the ping
>> utility reports error 'Destination Host Unreachable' with source
>> 10.1.1.1. before 2.6.37, it reports 10.1.1..2
>
> I see, it is the icmp_send() function that uses
> inet_select_addr() to select primary source for locally generated
> ICMP errors that are sent back to the sender (10.1.1.2).
> In your case it is the error_report from the ARP code.
>
> So, you are correct about the commit but I don't
> see any problem with this behavior. IIRC, users preferred
> to see primary addresses in the traceroute output.
>
> Regards
>
> --
> Julian Anastasov <ja@....bg>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists