Skip to content

CS625: Advanced Computer Networks. Simulated network involving wireless nodes with CSMA(LAN) and point to point nodes as well. Achieved results as expected.

Notifications You must be signed in to change notification settings

sagarchand9/ns3_network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HitCount

TO RUN

goto folder

~/ns3/repos/ns-3-allinone/ns-3-dev

now run the command

./waf --run "scratch/try_first --nPackets=1"

Here nPackets is number of packets you want to specify

Here try_first.cc is file and you run try_first

VIEW TRACE FILE LOGS

To view contents of trace file(.pcap), either use tools like wireshark or run

tcpdump -nn -tt -r try_first-0-0.pcap

tcpdump -nn -tt -r try_first-1-0.pcap

and so on for all the nodes

It is of the format

<file_name>-<node>-<device>.pcap

These files are created in parent directory

TO RUN VISUAL ANIMATION

Visual animation is run on netanim. Run ./Netanim in netanim folder. Then choose the .xml when UI appears. xml file is created by the code.

About

CS625: Advanced Computer Networks. Simulated network involving wireless nodes with CSMA(LAN) and point to point nodes as well. Achieved results as expected.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages