Research breakthrough possible @S-Logix pro@slogix.in

Office Address

Social List

How to Capturing Wireless Control Traffic in Mininet-Wifi?

capturing-wireless-control-traffic-in-mininet-wifi

Step by Step Capturing Wireless Control Traffic in Mininet-Wifi

  • Description:
    Mininet-WiFi is a wireless network emulator in support of Software-Defined Wireless Networks (SDWN) by expanding the popular Mininet with wireless channel emulation and WiFi APs support. The user can select among numerous wireless propagation and mobility models as well as imperious topologies and wireless network scenarios. Mininet network emulator may be used to test mobility that offers more options to emulate huge and complex plots where many hosts will be exchanging the switches to which they are connected. To capture Wireless control traffic in Mininet-WiFi,
  • Wireshark captures WiFi control traffic.
  • Mininet with deficiency network.
  • Start capturing on the hwsim0 interface.
  • Execute a command(ping command).

Step-1
  • To view wireless control traffic, Wireshark must be started first:
  • $ sudo wireshark
    capturing-wireless-control-traffic-in-mininet-wifi-1
Step-2
  • Then, start Mininet-WiFi with the default network scenario using the command below:
  • $ sudo mn --WiFi
    capturing-wireless-control-traffic-in-mininet-wifi-2
Step-3
  • Next, enable the hwsim0 interface. The hwsim0 interface is the software interface created by Mininet-WiFi that copies all wireless traffic to all the virtual wireless interfaces in the network scenario
  • capturing-wireless-control-traffic-in-mininet-wifi-3
  • It is the easiest way to monitor the wireless packets in Mininet-WiFi
  • mininet-wifi> sh ifconfig hwsim0 up
    capturing-wireless-control-traffic-in-mininet-wifi-4
  • Now, in Wireshark, refresh the interfaces and then start capturing packets on the hwsim0 interface.You should see wireless control traffic.
Step-4
  • Next, execute a ping command:
    mininet-wifi> sta1 ping sta2
    In Wireshark, see the wireless frames and the ICMP packets encapsulated in Wireless frames passing through the hwsim0 interface
  • capturing-wireless-control-traffic-in-mininet-wifi-5