Logo
latest

Introduction

  • Introduction
  • Download/Get Started With Mininet-WiFi
  • Everyday Mininet-WiFi Usage
  • Advanced Startup Options
  • Mininet-WiFi CLI Commands and Attributes
  • Creating Links
    • Mesh Link
    • Ad hoc Link

Supported Features

  • 1. Mobility Models
  • 2. Propagation Models
  • 3. Containernet
  • 4. Manet Routing Protocols
  • 5. IEEE 802.11p
  • 6. 6LoWPAN
  • 7. SUMO (Simulation of Urban MObility)

FAQ

  • 1. FAQ
Read the Docs Sphinx Theme
  • »
  • Creating Links
  • Edit on GitHub

Creating Links¶

Mesh Link¶

A mesh link with IEEE 802.11s can be created with the method below:

net.addLink(sta1, cls=mesh, intf='sta1-wlan0', ssid='meshNet', channel=5)

The mthod above crates a mesh link from sta1-wlan0 through iw. Please refer to the iw documentation on how to add a new virtual interface for further information.

If you want to create multiple virtual mesh interfaces you can repeat the method call by adding vIface=True as follows.

net.addLink(sta1, cls=mesh, ssid='meshNet', vIface=True,
            intf='sta1-wlan0', channel=5, ht_cap='HT40+')

Ad hoc Link¶

An adhoc link can be created with the method below:

net.addLink(sta1, cls=adhoc, intf='sta1-wlan0', ssid='adhochNet', channel=5)
Previous Next

© Copyright Dave Snider, Read the Docs, Inc. & contributors. Revision 7e80df20.

Built with Sphinx using a themeprovided by Read the Docs.