Coder Social home page Coder Social logo

mnmlyn / staticrouter Goto Github PK

View Code? Open in Web Editor NEW
25.0 4.0 5.0 7 KB

基于Mininet对SDN/OpenFlow网络进行仿真,搭建了由一个三层路由器staticRouter、一个二层自学习交换机以及若干台主机构成的网络拓扑。使用POX做控制器,编程实现了网络中各个主机之间的连通性。

Python 100.00%
pox sdn openflow mininet staticrouter

staticrouter's Introduction

staticRouter

基于Mininet对SDN/OpenFlow网络进行仿真,搭建了由一个三层路由器staticRouter、一个二层自学习交换机以及若干台主机构成的网络拓扑。使用POX做控制器,编程实现了网络中各个主机之间的连通性。

其中mytopo.py文件为Mininet的定制拓扑文件。

在文件所在路径执行$ sudo mn --custom mytopo.py --topo mytopo即可启动拓扑

staticRouter.py文件为POX中的控制器模块,应存放在POX的ext文件夹下

启动控制器方法为$ ./pox.py log.level --DEBUG staticRouter

staticrouter's People

Contributors

mnmlyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

staticrouter's Issues

存在一些节点无法ping通

运行这个两个文件发现,r1连接的两台主机能够互相ping通,但是s2上的三台主机之间无法ping通,r1上的主机ping s2上的主机也无法ping通。

image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.