Re: When does Linux drop UDP packets?

From: david
Date: Thu Jun 04 2009 - 19:20:17 EST


On Thu, 4 Jun 2009, Alexander Clouter wrote:

Philipp Reh <sefi@xxxxxxxxxx> wrote:

I have the following setting in which a client that resides on the same
physical network as a server wants to receive any UDP packet that
arrives on any of its interfaces sent by that server.

Read up about multicasting, it will do what you want, does not depend on
the IP address of the destination workstation and will also cross
subnets if you want it to.

It's dead easy to transmit and receive multicast traffic, broadcasting
network traffic is so 1980's :)

there is only a difference between multicast and broadcast traffic if you are spanning subnets.

but the issue here is the rp_filter, and that would also filter out multicast packets from sources that you don't have routes to.

David Lang

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