The original spanning tree code assigns a single path, always the same. I
need to have two different alternating path.
Using Mininet to disable links? How?!

2012/7/14 Murphy McCauley <[email protected]>

> On Jul 14, 2012, at 1:20 AM, Silvia Fichera wrote:
>
> This is my topology: I've a first host h1 linked with a switch (s2). This
> switch is linked with two switches (s3 and s4) and these ones are connected
> to another switch (s5) that is connnected to the host h6.
> Every 100 packets, for example,  the link between s2 and s4 is disabled
> and the link between s2 and s3 is enable, and vice versa after 100 packets
> period.
> I've modified spanning tree's code replancing dynamic implementation of
> the tree with a static implementation and I introduced a packet counter in
> "handle_packet_in" function, and it works but, when I do a ping test, it
> sends packets always through the first path it learned without losing
> packets and without changing path.
> Is it possible?! Have you got any suggestions?
> I think I've got to refresh switchs' flow table, erasing the previous path
> and updating the new one, but I don't know how to do it!
>
>
> I'm not entirely clear on what you're trying to accomplish or what the
> problem is.
>
> Why did you switch to a static implementation of the spanning tree?
>
> And it sounds like maybe you're using Mininet.  Are you using Mininet to
> disable the link?  If you're not, you probably should be...
>
> -- Murphy
>



-- 
Silvia Fichera

Reply via email to