mininet报错Exception: Error creating interface pair (a3-eth1,c1-eth1): RTNETLINK answers: File exists

在使用mininet创建拓扑,连接floodlight控制器时出现错误,如下图所示,提示File exitsException: Error creating interface pair (a3-eth1,c1-eth1): RTNETLINK answers: File exists
原因在于mininet退出时,未将之前定义的拓扑文件清除干净,导致出现重复的拓扑。
解决方法 使用命令 mn -c 清除即可
Exception: Error creating interface pair (a3-eth1,c1-eth1): RTNETLINK answers: File exists
执行mn -c 之后重新创建拓扑,就可以连接上了
Exception: Error creating interface pair (a3-eth1,c1-eth1): RTNETLINK answers: File exists

相关文章: