Documents

New Network Simulation Ns-3 (2) (1)

Description
new network
Categories
Published
of 18
72
Categories
Published
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Similar Documents
Share
Transcript
  NETWORK SIMULATION LAB Instructor: Marco Porsch LAB No.2 NS3-WiFi Task 2.1 a) Study the simulation script file found in the ‘scratch’ directory and describe the simulated network topology and the expected behavior as implemented in the simulation file. IEEE 802.11 group has described two types of topology in wireless. 1) Network Infrastructure Mode  (Point to multi point communication) uses Access Point (AP) for connecting two networks. 2) Peer-to-Peer Communication  (Ad-Hoc) without using Access Point (AP) In this simulation, we use Network Infrastructure Mode. Means, we are have two nodes or computer with specific Ip address and Mac address and in between them we have Access point .This Access Point behave like a hub and data frame can be exchange between the two computer. NODE 1 ACCESS POINT NODE 2 We use Eclipse to run the simulation file “1_ApSim.cc”.When simulation run successfully we get this result: Waf: Entering directory `/home/student/Lab ns-3/ns-allinone-3.16/ns-3.16/build' Waf: Leaving directory `/home/student/Lab ns-3/ns-allinone-3.16/ns-3.16/build' 'build' finished successfully (1.525s) PING 192.168.1.2 56(84) bytes of data. 64 bytes from 192.168.1.2: icmp_seq=0 ttl=64 time=0 ms 64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=0 ms --- 192.168.1.2 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 189ms rtt min/avg/max/mdev = 0/0/0/0 ms written capture of AP --> ApSim-2-0.pcap       According to the simulation result, two packets are transmitted and two packets received. That means there is no loss of any packet. Wireshark:       When the simulation is run using wireshark. The total number of packet transfer is 3  PACKET Phy Channel Phy Channel    When we use verbose=1, we get the detailed information about how the packet is been transmitted from one node to the other (as shown in the picture above). TO DS FROM DS ADDRESS 1 ADDRESS 2 ADDRESS 3 ADDRESS 4 0 0 RA=DA TA=SA BSSID N/A 0 1 RA=DA TA=BSSID SA N/A 1 0 RA=BSSID TA=SA DA N/A 1 1 RA SA DA SA c) Illustrate the relevant frame exchange incl. ACK frames in a flow diagram and explain the observation. Computer 1 Computer 2 Access Point   PACKET

Wac

Jul 23, 2017

eHealth11

Jul 23, 2017
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks
SAVE OUR EARTH

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!

x