trace path in layer 2 (network)

asked 2016-03-22 18:26:19 -0700

luis999 gravatar image

updated 2016-04-03 19:20:26 -0700

hi,

i have create a custom topology in mininet and have install opendaylight.

setup custom mesh topology command: sudo mn --custom meshtopology.py --topo mytopo --controller=remote,ip=10.0.0.1

h1------------s1---------------s2----------------h2

         l   -\-    l

h3------------s3---------------s4----------------h4

links: (h1,s1) , (h2,s2), (h3,s3), (h4,s4), (s1,s2), (s1,s3), (s1,s4), (s2,s3), (s2,s4), (s3,s4)

on my opendaylight, i have install 'old-dlux-all' and 'odl-l2switch-switch-ui'.

i have down the link between (s1 and s4), like to see what path do the packet go(from s2 or s3)? i have try traceroute on mininet to trace the path that the packet go but the result does't show the path. i know traceroute only work on layer 3 network.

result:

command: traceroute 10.0.0.4

traceroute to 10.0.0.4 (10.0.0.4) 30 hop max, 60 byte packets

1 * 10.0.0.4 (10.0.0.4) 2.681 ms * 2.421 ms

my question are

1) How do i trace the path that the packet have enter from source address to destination address?

2) are there program that trace path in layer 2?

3) is opendaylight able to show me what path has been selected?

many thanks in advance. :)

edit retag flag offensive close merge delete

Comments

Good question..lets wait for saviour's Answer !

karthik330 ( 2016-03-22 23:39:04 -0700 )edit