MN(1)
π MN(1) β the mn girlies' guide to making a Mininet network π
okay so bestie, you want a whole network? like, a fake one? on purpose? say less. this is the manual for mn, a User Command, and it is literally the moment. π¦
β¨ NAME β¨
mn β create a Mininet network. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
mn [options]
π DESCRIPTION π
(type mn -h for details) β yes girl, the program will explain itself if you ask nicely.
The mn utility creates Mininet network from the command line. It can create parametrized topologies, invoke the Mininet CLI, and run tests.
so like: make the network, poke at the network, or run tests on the network. main character energy across the whole lifecycle fr fr. π
π OPTIONS π
-h,--helpβ show this help message and exit. the classic. the icon. π«Ά--switch=SWITCHβ pick your switch. the options are:
default|ivs|lxbr|ovs|ovsbr|ovsk|user[,param=value...]
user=UserSwitch ovs=OVSSwitch ovsbr=OVSBridge ovsk=OVSSwitch
ivs=IVSSwitch lxbr=LinuxBridge default=OVSSwitch
--host=HOSTβ pick your host type:
cfs|proc|rt[,param=value...] proc=Host rt=CPULimitedHost{'sched':
'rt'} cfs=CPULimitedHost{'sched': 'cfs'}
--controller=CONTROLLERβ pick your controller:
default|none|nox|ovsc|ref|remote|ryu[,param=value...]
ref=Controller ovsc=OVSController nox=NOX remote=RemoteController
ryu=Ryu default=DefaultController none=NullController
--link=LINKβ pick your link type:
default|ovs|tc|tcu[,param=value...] default=Link tc=TCLink
tcu=TCULink ovs=OVSLink
--topo=TOPOβ pick your topology shape:
linear|minimal|reversed|single|torus|tree[,param=value ...]
minimal=MinimalTopo linear=LinearTopo
reversed=SingleSwitchReversedTopo single=SingleSwitchTopo
tree=TreeTopo torus=TorusTopo
-c,--cleanβ clean and exit. no network, just vibes. π§--custom=CUSTOMβ read custom classes or params from.pyfile(s). bring your own lore β¨--test=TESTβ run a test:
pingall|pingpair|iperf|iperfudp|all|none|build
-x,--xtermsβ spawn xterms for each node. one lil terminal window per node, it's giving chaos and i'm obsessed π-i IPBASE,--ipbase=IPBASEβ base IP address for hosts.--macβ automatically set host MACs.--arpβ set all-pairs ARP entries.-v VERBOSITY,--verbosity=VERBOSITYβ how much do you wanna hear about it:
debug|info|output|warning|warn|error|critical
--innamespaceβ sw and ctrl in namespace? (yes that's the actual question it's asking π« )--listenport=LISTENPORTβ base port for passive switch listening.--nolistenportβ don't use passive listening port.--pre=PREβ CLI script to run before tests.--post=POSTβ CLI script to run after tests.--pinβ pin hosts to CPU cores. β οΈ requires--host cfsor--host rt, so set that first bestie, don't skip steps.--nat [option=val...]β 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.
like. that is a real warning. read it twice. π
--versionβ prints the version and exits.-w,--waitβ wait for switches to connect. patience, queen. πΈ-t WAIT,--twait=WAITβ timed wait (s) for switches to connect.--cluster=server1,server2...β run on multiple servers. (experimental!)--placement=block|randomβ node placement for--cluster. (experimental!)
π SEE ALSO π
nothing else listed in here, bestie β this page is self-contained. iconic behaviour honestly. π
and that's the whole page!! this manual is from mn 2.3.1b4, dated September 2025, and it lives in the User Commands section of the manual pages. tysm for reading, go build a topology, slay, periodt πβ¨π¦π
π¦ where this page comes from
- fedora 43: mininet 2.3.1~b4-13.fc43 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms