Mininet Partial Finishing

Source: Internet
Author: User

Today, we finally finished finishing the mininet part.

First of all, this section is divided into two elements, one is a custom topology, and the other is a custom flow table.

1. Open Ubuntu.

2. Create a new terminal and enter Java-jar Target/floodlight.jar to start the floodlight service. You can open the UI side of the Web page to view topologies and hosts.

3. Create a new terminal, enter the./pox/pox.py Forwarding.hub to start the Monitoring setup link. The Pox controller can release the flow meter to the openflow switch. Forwarding.hub This component adds a flood wildcard rule to each switch, which is equivalent to the Ethernet hub.

4. Create a new terminal, first verify that the Mininet custom topology can communicate with each other.

Code: sudo Python run.py. Establish a simple topological structure

Mininet>pingall; can see that each host can communicate with each other.

5. Verify that the streaming table can be customized for communication. If connection refused, first set up pox monitoring.

Code: sudo python flow1.py; display write to three flow table rules.

sudo mn--topo single,3--controller=remote--ip=127.0.0.1;

mininet>pingall; can see not ping pass.

However, according to the flow table rules, forwarding to host 1 can be ping-pass, the rest is discarded.

That is H2/H3 PING-C3 H1 can succeed.

And it should be noted that the forwarding time is significantly reduced, it should be stipulated that there is no default forwarding delay after the exit.

Mininet Partial Finishing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.