[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7PtkiQRgJwTJ4Pq2zTWs9N5x22VFEcK4QMv65SG7bX1Tw@mail.gmail.com>
Date: Thu, 23 Jan 2014 16:03:29 -0800
From: Cong Wang <cwang@...pensource.com>
To: Cong Wang <cwang@...pensource.com>,
David Miller <davem@...emloft.net>, stephen@...workplumber.org,
netdev <netdev@...r.kernel.org>
Subject: Re: Setting mac address of loopback device
On Thu, Jan 23, 2014 at 3:49 PM, Hannes Frederic Sowa
<hannes@...essinduktion.org> wrote:
> On Thu, Jan 23, 2014 at 11:53:49AM -0800, Cong Wang wrote:
>> BTW, how to change route to redirect _local_ traffic (that is packets
>> sending to itself) to a non-loopback device? I tried to modify local
>> route table, but have no luck to make it working.
>
> Have you seen the route_localnet sysctl? It should avoid the check for
> loopback addresses when building outgoing route.
I noticed it, the doc said:
This enables the use of 127/8 for local routing purposes.
but I don't care 127/8 traffic at all, only the traffic sending to itself
via a non-127/8 IP. :(
Or the doc is not accurate?
--
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