mininet中的traceroute mac

时间:2017-11-14 20:29:35

标签: sdn mininet traceroute

在mininet中我想知道ping通过哪些开关。例如,从PC1(h1)到PC3(h3)。我已经尝试过了:

h1 traceroute mac ip h3

11:00:00:00:00:00 traceroute mac 33:00:00:00:00:00

但它没有用。 “正常”traceroute(h1 traceroute h2)正在工作(仅输出目标地址)。但我需要找出ping的路径。

topology

2 个答案:

答案 0 :(得分:0)

尝试使用xterm通过主机进行traceroute,而不是使用mininet cli。尝试使用两个以上的主机。

答案 1 :(得分:0)

Traceroute仅适用于L3,因此无法找到路线。 所以我在交换机中使用流表,通过哪个端口显示路径。

例如,如果我想知道mac地址的路径:66:00:00:00:00,请查看输出端口。并且由于ryu gui拓扑很容易找到方法。