To get the behavior you want from traceroute, it needs to run through routers, 
which process the L3 headers. OVS, in its default configuration, acts as an L2 
switch. 

There are controller applications that map out the topology of a network. 
Nothing immediately comes to mind that trivially does what you want from some 
edge of the network. 

--Justin


On Apr 25, 2013, at 1:06 AM, Volkan YAZICI <[email protected]> wrote:

> Hi!
> 
> I want to count the # of OVS hops between two hosts. So far, traceroute did 
> not work for me:
> 
> $ sudo mn --switch ovsk --topo=linear,3
> ...
> mininet> h1 traceroute -n -w0 h2
> traceroute to 10.0.0.2 (10.0.0.2), 30 hops max, 60 byte packets
>  1  * * *
>  2  * * *
>  3  * * *
>  4  * * *
> ...
> 27  * * *
> 28  * * *
> 29  * * *
> 30  * * *
> 
> Is there some sort of flag that I need to turn on to make traceroute work? Or 
> my choice of traceroute was totally wrong? If so, any suggestions?
> 
> 
> Best.
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to