Hi Ayush, Since controller connects to switch using a TCP session, if S1 acts like a learning switch or already has rules on its flow table allowing TCP connections from C0 to S2, C0 will control S2.
Just be aware that if S1 is an OF switch and those rules mentioned above expires, you will lost control over S2, even for a while. What I mean is that until you restore S1 rules, some switch-to-controller messages like 'Packet In', 'Port Status', 'FlowRemoved' and so forth can be lost, leading for a network's state mismatch. -- Att Lucas Brasilino MSc Student @ Federal University of Pernambuco (UFPE) / Brazil twitter: @lucas_brasilino 2015-04-22 0:10 GMT-03:00 Ayush Dusia <adu...@udel.edu>: > Hello Everyone, > > I have a question regarding installation of actions in switches. > > If I assume that a controller does not have direct connections to all the > switches in a network. In that case how can a controller install actions in > a switch to which it is not directly connected? > > e.g. for a topology like: C0 - S1 - S2 > > How can C0 install actions in S2 through S1? > > Thanks, > Ayush >