Re: arp, kernel 2.2.15 and 2.3.99-pre6

From: Andrey Savochkin (saw@saw.sw.com.sg)
Date: Tue May 09 2000 - 02:18:41 EST


Hello Julian,

On Tue, May 09, 2000 at 01:19:36AM +0300, Julian Anastasov wrote:
> But your change in arp_solicit breaks again
> everything! If you return 0 after a failed fib_lookup the
> ARP requests announce the saddr from the skb and in our
> case this is 192.168.0.4.
>
> Please, explain which is the correct status from
> fib_local_source when fib_lookup fails.

Oh, that's a bug.
It should be
        if (fib_lookup(&key, &res) == 0) {
                unsigned ret;
                ret = res.type;
                fib_res_put(&res);
                if (ret == RTN_LOCAL)
                        return 0;
        }
        return -EINVAL;
Thank you for the notice.

[snip]
> Anyway, if the above ip rules are correct I have to
> investigate the possible problems with this configuration.
> For now I don't see big problems except some restrictions
> and difficulties with the configuration. By this way we
> break the ability some clients to be on the LAN. Now the LVS
> cluster can't be build from hosts on the LAN only. For
> example, we can't balance .cgi clients on the LAN using a
> cluster from database servers. Very bad!!! It seems such
> good protocol as the ARP can't be used and we have to use
> static ARP entries. Very bad!

That's a constructive criticism.
I need to think over.

Best regards
                Andrey

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:12 EST