OnWorks favicon

mn - Online in the Cloud

Run mn in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mn that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



mn - create a Mininet network.


mn [options]


(type mn -h for details)

The mn utility creates Mininet network from the command line. It can create parametrized
topologies, invoke the Mininet CLI, and run tests.


-h, --help
show this help message and exit

default|ivs|lxbr|ovs|ovsbr|ovsk|user[,param=value...] ovs=OVSSwitch
default=OVSSwitch ovsk=OVSSwitch lxbr=LinuxBridge user=UserSwitch ivs=IVSSwitch

cfs|proc|rt[,param=value...] rt=CPULimitedHost{'sched': 'rt'} proc=Host
cfs=CPULimitedHost{'sched': 'cfs'}

default|none|nox|ovsc|ref|remote|ryu[,param=value...] ovsc=OVSController
none=NullController remote=RemoteController default=DefaultController nox=NOX
ryu=Ryu ref=Controller

default|ovs|tc[,param=value...] default=Link ovs=OVSLink tc=TCLink

linear|minimal|reversed|single|torus|tree[,param=value ...] linear=LinearTopo
torus=TorusTopo tree=TreeTopo single=SingleSwitchTopo
reversed=SingleSwitchReversedTopo minimal=MinimalTopo

-c, --clean
clean and exit

read custom classes or params from .py file(s)


-x, --xterms
spawn xterms for each node

-i IPBASE, --ipbase=IPBASE
base IP address for hosts

--mac automatically set host MACs

--arp set all-pairs ARP entries


sw and ctrl in namespace?

base port for passive switch listening

don't use passive listening port

CLI script to run before tests

CLI script to run after tests

--pin pin hosts to CPU cores (requires --host cfs or --host rt)

--nat adds a NAT to the topology that connects Mininet hosts to the physical network.
Warning: This may route any traffic on the machine that uses Mininet's IP subnet
into the Mininet network. If you need to change Mininet's IP subnet, see the
--ipbase option.

prints the version and exits

run on multiple servers (experimental!)

node placement for --cluster (experimental!)

Use mn online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

Linux commands