The default topology in mininet consists of two hosts and two switches. There are many other topologies available in mininet, such as
- single
single creates a topology with a single switch attached to the number of hosts that are mentioned by the user
- reversed
reversed creates a topology similar to the single command but the interfaces are assigned in a reverse order
- linear
The linear keyword creates a linear topology with the specified number of switches and hosts
sudo mn --topo linear,[no_of_switches],[no_of_hosts_for_each_switch]
- tree
The tree keyword creates a tree topology of the specified depth of switches. We can also specify the number of children
- torus
A torus topology can be created using the torus keyword
sudo mn --topo torus,[length],[breadth]
These were the inbuilt topologies in mininet.
GOOD LUCK!
Comments
Post a Comment