Giter VIP home page Giter VIP logo

Comments (6)

yeliqseu avatar yeliqseu commented on June 18, 2024 1

你说的对,这组ip它们确实在一个网络。但只要人为添加路由,仍可使得从.37去往.38时强制经过.34和.35节点(注意.34、.35节点是双网卡)。我这里这样设置是由于环境限制,所使用的云平台限定了必须在172.20.35.1网段。

如果使用mininet模拟拓扑可以不受这个限制,完全可以让A和D处在与B、C不同的网段,只要路由设置好即可。

from pepesc.

yeliqseu avatar yeliqseu commented on June 18, 2024 1

from pepesc.

yeliqseu avatar yeliqseu commented on June 18, 2024

我是在自有云平台上搭建的拓扑,即真实的4个虚拟机之间进行的网络设置。mininet应该也可以完成类似拓扑的搭建。一个笨办法是搭建4节点拓扑后分别打开各个节点的xterm,然后用ip route逐个手动设置路由。直接利用mininet的python API应该也可以,你可以摸索一下。

from pepesc.

honndaj avatar honndaj commented on June 18, 2024

谢谢大佬QAQ,我去试试

from pepesc.

honndaj avatar honndaj commented on June 18, 2024

reademe中的A节点(172.20.35.37)和D节点(172.20.35.38)的ip地址只有最后一位不同,无论怎么样,它们不都是在一个子网内的吗。
我觉得两个路由器应该划分了三个网络。

from pepesc.

honndaj avatar honndaj commented on June 18, 2024

感谢~~

from pepesc.

Related Issues (3)

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.