> On 29 Oct 2015, at 17:44, Maciej Żenczykowski <[email protected]> wrote:
>
> What are you trying to do?
I would like to have a "bind-to-subnet" semantic with IPv6.
This is currently working with IPv4, and the setup is the follow:
- setup a dummy network device configured with any-IP
- add an any-IP route
- bind() on the dummy device
in this way we can effectively bind a process to a particular subnet
(by binding it to a dummy device which is receiving all the packets
from a particular subnet).
The point of using dummy devices is that we can configure multiple ones
(and so we can bind multiple processes to multiple subnets).
>
> Does what you're trying to do work on an older kernel? Which kernel
> version does it break at?
>
> btw. afaik any-ip doesn't work with IPv4 on any un-patched kernel (the
> IPv4 support patch was reverted).
This is actually working with IPv4 (as I said I'm using a recent kernel,
4.1), and the fact that you say it's not supposed to work leads me to
think that maybe we are not talking about the same feature.
Cheers,
gilberto
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html