To create a simple network in mininet, the following steps should be followed.
1. Open terminal
2. Ensure mininet is installed
3. Enter command: sudo mn
This creates a simple network with two hosts connected to an OVS switch, which in turn is connected to the inbuilt sdn controller
DETAILS OF THE NETWORK
To retrieve metadata regarding the network, the following commands can be used
- nodes
- links
- ports
- intfs
- dump
CONNECTIVITY BETWEEN HOSTS
To ensure connectivity between the hosts, the following commands are used
- pingall
- pingallfull
- ping
The ping command can be stopped using CTRL+C
We can determine the number of times to be pinged using keyword
host1 ping host2 -c [number of times to be pinged]
- exit
Our network has been created and we have learned how to handle them
Good Luck!











Comments
Post a Comment