Useful mininet setups
Mininet is a network emulation platform that is very useful to test SDN applications that you build. It can support different types of topologies. Here we showcase three popular configurations that will be helpful for testing. 1. Single switch Following command spawns a single switch with 3 hosts attached to it. $ sudo mn --arp --topo single,3 --mac --switch ovsk --controller remote In the above command, there are some important keywords worth paying attention to: –mac: Auto set MAC addresses–arp: Populate static ARP entries of each host in each other–switch: ovsk refers to kernel mode OVS–controller: remote controller can take IP address and port number as options You can now perform ping between hosts h1 and h2 using command h1 ping h2. 2. Following command spawns two switches connected to each other with a link and has one host on each switch. $ sudo mn --topo linear --switch ovsk --controller remote 3. Following command spawns a switch that has 3 servers and 1 client connected to it.
• Enterprise Systems Intergration