[Click] Nsclick promisc mode

Michael Neufeld Michael.Neufeld at colorado.edu
Thu Nov 25 09:06:52 EST 2004


Hello-
You can do promiscuous mode in nsclick, you just have to enable it from 
the tcl part of your scripts. For example, to make eth0 go promiscuous:

$node setpromiscuous 0 1

-Mike



Nicolas Letor wrote:
> Hello,
> 
> In the nsclick user manual (p11) there is a  simple bridge example
> with the following click script.
> "
> FromSimDevice(eth0, 4096) -> Queue -> ToDump(eth0.txt) -> ToSimDevice(eth1);
> FromSimDevice(eth1, 4096) -> Queue -> ToDump(eth1.txt) -> ToSimDevice(eth0);
> "
> 
> I tried it out, but it doesn't work because the bridge can only
> forward packets who a broadcast address.  So I thought by enabling
> promiscous mode the bridge example.
> 
> Unfortunately nsclick's FromSimDevice doesn't support promiscous mode.
>  Has anyone an idea to solve this problem of promiscous mode?
> 
> Thanks,
> Letor Nico
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list