[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6za9a8vb21.fsf@southpole.se>
Date: Fri, 23 May 2014 16:12:22 +0200
From: nisse@...thpole.se (Niels Möller)
To: Florian Westphal <fw@...len.de>
Cc: netdev@...r.kernel.org, Jonas Bonn <jonas@...thpole.se>
Subject: Re: What's the right way to use a *large* number of source addresses?
Florian Westphal <fw@...len.de> writes:
> Niels Möller <nisse@...thpole.se> wrote:
>> 3. Just set the desired local address with the bind call. Currently,
>> this gives an EADDRNOTAVAIL error, so the first step would be some
>> option to allow arbitrary source addresses.
>
> See 'Making non-local sockets work' in Documentation/networking/tproxy.txt
I'd just like to say that I followed these docs, and I got a working
connection. Thanks again, I really couldn't locate this info on my own.
I do find the EINVAL error I got from connect, when only using sysctl
net.ipv4.ip_nonlocal_bind=1, and using bind with a nonlocal address, a
bit puzzling. I don't see any obviously better error to return, though.
Regards,
/Niels
--
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