[Ns-developers] Requesting help for csma promiscuous mode
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Mon Jul 7 11:38:31 PDT 2008
On Mon, 2008-07-07 at 11:23 -0700, craigdo at ee.washington.edu wrote:
> I think that linux has a number of bits that you can set to enable various
> promiscuity levels: RxStation, RxMulticast, RxBroadcast, RxProm.
Really ? Where did you see that ? The only promiscuous things I know
about are from "man ifconfig":
[-]promisc
Enable or disable the promiscuous mode of the interface. If
selected, all packets on the network will be received by the
interface.
and, looking at the include/linux/netdevice.h header, I see only a
single promiscuity count, not a mask for different levels (see
__dev_set_promiscuity in net/core/dev.c)
There is an "allmulti" mode but that seems orthogonal to promisc mode
(i.e., send up all multicast packets without filtering)
> Anyway, I think having devices always in promiscuous mode is weird.
agreed.
Mathieu
More information about the Ns-developers
mailing list