netdev
[Top] [All Lists]

Re: neighbour cache vs. invalid addresses

To: almesber@xxxxxxxxxxx (Werner Almesberger)
Subject: Re: neighbour cache vs. invalid addresses
From: kuznet@xxxxxxxxxxxxx
Date: Sun, 30 Apr 2000 20:37:37 +0400 (MSK DST)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <200004300040.CAA10618@lrcsun15.epfl.ch> from "Werner Almesberger" at Apr 30, 0 02:40:40 am
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> First try: does my (completely untested) patch at
> ftp://icaftp.epfl.ch/pub/people/almesber/junk/neigh-error-0.patch.gz
> look reasonable ?

It is reasonable in the highest extent.


> It would be good if an application could determine quickly if multicast
> or broadcast may actually work. If it comes back after trying for five
> minutes with a complaint about lack of connectivity or such, this isn't
> very friendly.

Until now it resulted only in more troubles. F.e. multicasts were used
mainly by routing control apps, which were supposed to start in void
state on bare iron and turn on all the lights. Relying on flags
they really went to coma instantly. 8)

The reason is that "multicast"/"broadcast" notions depend on protocol.
F.e. we can configure routing tables, so that IP multicasts will be routed
to a gateway or to a specific exploder using normal unicasts, so that
device never sees multicasts and application send multicatsts transparently.
After this CLIP becomes truly multicasting, despite of it is not multicasting
at MAC level and for protocols different of IP.

Conclusion: IFF_MULTICAST should be used only as advice, when application
has different modes of operation or is able to select from several devices
to make the work. Otherwise, it must assume that multicasts are available
on any kind of media.

Alexey

<Prev in Thread] Current Thread [Next in Thread>