[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#438179: RFC3484 rule 9 active again in glibc 2.7-5.



Aurelien Jarno writes ("Re: RFC3484 rule 9 active again in glibc 2.7-5."):
> An IP which uses the same IP range as your computer, as defined by the
> netmask. In short a local server which can be reached without a
> gateway.

Ah.  I see.

So what you mean is that it will now:
  * prefer a server in the same subnet as one of the local interfaces
    as defined by the netmask on that interface, to a server which
    is not;
  * not otherwise sort servers according to their IPv4 address
    unless specifically configured
?

That sounds exactly right.

If you mean that _for servers on some local subnet_ it will prefer to
use servers with a longer common prefix with the interface address,
then I think that's wrong.

So for example, my machine here has eth0 172.18.45.2/24.  You're
saying (I hope) that it would prefer 172.18.45.6 (because it's on the
subnet local to eth0) to 172.31.80.8 (which is not), which is fine.

If you're saying that it would prefer 172.18.45.6 to 172.18.45.11
because .6 has a longer common prefix with .2 than .11, then I think
that's wrong.  But that would be pretty weird so I assume that's not
what you mean.

Thanks,
Ian.



Reply to: