Rama Krishna
|
Re: Enabling promiscous mode
|
Rama Krishna
09/24/2009 9:09 AM
post38638
|
Re: Enabling promiscous mode
Hi Jeevan,
Thanks for your reply.
Can I configure this using a configuration file (or start-up script) ?
if possible, Could you please let me know which configuration file (or start-up script) needs to be modified.
Can this be done via ioctl ?
if yes, what are arguments for ioctl command ?
please guide me.
Regards,
Ramakrsihna
|
|
|
Andrew Boyd(deleted)
|
RE: Enabling promiscous mode
|
Andrew Boyd(deleted)
09/24/2009 9:50 AM
post38649
|
RE: Enabling promiscous mode
This is a bit confusing. I will try to
clear this up.
With 6.3 (io-net) the devn-*.so drivers indeed
had a "promiscuous" command line option, to rx
all packets.
However, with 6.4 (io-pkt) the devnp-*.so drivers
do NOT pay any attention to the "promiscuous"
command line option. Instead, how devnp drivers
turn on promiscuous mode is that during their _init
call they look at the ifp->if_flags for IFF_PROMISC
which the stack sets.
So, for devn drivers, use the cmd line option. For
devnp driver, you need to tell the stack to turn it
on.
--
aboyd
|
|
|