[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] Simple emulation script for RedHat Linux



Nothing is output into my "trace-all" output file, either, though.  Since nam 
has a realtime streaming mode, I'm assuming (perhaps incorrectly) that ns can 
somehow provide nam with realtime data.  Yet, neither my regular trace file 
or my nam trace file has any message data.

Thanks for the tip on the filter rules!

Jason

On Friday 26 October 2001 06:10 am, you wrote:
> Most of the emulation code does not have the nam trace objects and
> hence you donot see any message in the nam file .
>
> nse uses the pcap library and hence the filters rules are the same as
> tcpdump. Use "man tcpdump" for filter rules.
>
> i hope this helps.
> alefiya
>
> On Fri, 26 Oct 2001, Jason K. Douglas wrote:
> > I have been trying to create/modify an emulations script for ns on RedHat
> > 7.1.  I started with emping.tcl and modified it to connect to eth0
> > instead of fxp0.  When I run the script and ping myself a few times, the
> > nam trace file contains no messages.  Am I setting something up
> > incorrectly?  Has anyone successfully executed an emulation script on
> > RedHat (or other) Linux recently?  I'm unfamiliar with any methods to
> > debug the script to see if the messages are being dropped.
> >
> > Also, where can I find documentation on BPF syntax?  The only clue I have
> > to create my own filter is from the emulation sample scripts.
> >
> > If you need to see the script, or anything else, please ask.  I need to
> > get this realtime live network simulation running very soon...
> >
> > Thanks,
> > Jason