Comments (6)
你说的对,这组ip它们确实在一个网络。但只要人为添加路由,仍可使得从.37去往.38时强制经过.34和.35节点(注意.34、.35节点是双网卡)。我这里这样设置是由于环境限制,所使用的云平台限定了必须在172.20.35.1网段。
如果使用mininet模拟拓扑可以不受这个限制,完全可以让A和D处在与B、C不同的网段,只要路由设置好即可。
from pepesc.
from pepesc.
我是在自有云平台上搭建的拓扑,即真实的4个虚拟机之间进行的网络设置。mininet应该也可以完成类似拓扑的搭建。一个笨办法是搭建4节点拓扑后分别打开各个节点的xterm,然后用ip route逐个手动设置路由。直接利用mininet的python API应该也可以,你可以摸索一下。
from pepesc.
谢谢大佬QAQ,我去试试
from pepesc.
reademe中的A节点(172.20.35.37)和D节点(172.20.35.38)的ip地址只有最后一位不同,无论怎么样,它们不都是在一个子网内的吗。
我觉得两个路由器应该划分了三个网络。
from pepesc.
感谢~~
from pepesc.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pepesc.