Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I detect the mininet command line have executed "pingall" command? #10

Open
ZackyYoung opened this issue May 23, 2023 · 1 comment

Comments

@ZackyYoung
Copy link

When all the host don't have arp cache, "pingall" will make all hosts send an arp packet to the controller, then I can print shortest paths between two of them. However, after first "pingall", there are arp cache in all hosts, so when the second time mininet executes "pingall" they will not send arp packets to controller, so then how can I know after the second or more "pingall" and print all the shortest path?
It is especially aimed to test the reachability after dynamically adjust the topology.

@EricLee543
Copy link
Member

EricLee543 commented May 23, 2023

我刚刚确认了在没有改变网络拓扑结构的时候使用pingall 不会发送arp packet。但拓扑发生变化后受影响的host相互ping 似乎还会发送arp packet(待确定)。不过为了简化流程,我建议在拓扑发生改变时(拓扑改变相关的event 被触发后)直接打印出任意两个switch之间的最短路的长度。然后再用ping指令证明连通性即可。针对这个问题我会在明天放出的文档(关于如何检查project)中说明。

I just confirmed that using "pingall" does not trigger ARP packets when there is no change in the network topology. However, after a change in the topology, the affected hosts seem to trigger ARP packets when pinging each other. Nevertheless, to simplify the process, I suggest that upon a change in the topology (after the event related to the topology change is triggered), we directly print the shortest path length between any two switches. Then, we can use the "ping" command to demonstrate connectivity. I will address this issue in the documentation I will release tomorrow regarding how to perform project checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants