Simple use of mininet visualization miniedit

1. In the /mininet/examples directory, execute sudo python miniedit.pyor sudo ./miniedit.pyto open the miniedit visualization interface
Insert picture description here
2. Right-click the host, and then select Properties to perform visual operations on the host
Insert picture description here

3. Select Edit, then select Preferences, you can set the entire network. The
Insert picture description here
following figure illustrates that this network uses an 8-bit subnet mask
Insert picture description here
. 4. Save the file. If you select "Export Level 2 Script", you can save it as a .py file
Insert picture description here
5. Tip
NOTE:. PLEASE rEMEMBER TO EXIT tHE CLI bEFORE YOU pRESS tHE sTOP bUTTON Not exiting will prevent MiniEdit from quitting and will prevent you from starting the network again during this sessoin.
translation: Note: before you press the stop button, please remember Live to exit the CLI. Not logging out will prevent MiniEdit from logging out, and will prevent you from starting the network again during this session.

Guess you like

Origin blog.csdn.net/qq_44933518/article/details/105920334