<html><head></head><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:16px"><div id="yiv4202292833yui_3_16_0_ym19_1_1461069702816_107559" style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; background-color: rgb(255, 255, 255);">  Hello every one,</div><div id="yiv4202292833yui_3_16_0_ym19_1_1461069702816_107594" style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; background-color: rgb(255, 255, 255);">I would like to know how I can change consumer and producer randomly during simulation time. let consider we have 5 nodes and node 1 to node 4 all connect to the node 5  and then select two nodes among node 1 to node 4  as consumer and producer. I would like to know how I should schedule them that after every 1 second, the producer and consumer change while all of the users request the same content. moreover, for example user 1 sends request for the specific packet at second one and later at second 8 again this user may send request for this packet. </div><div id="yui_3_16_0_ym19_1_1461802106711_4858" style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; background-color: rgb(255, 255, 255);" dir="ltr">any help will be appreciate</div><div id="yui_3_16_0_ym19_1_1461802106711_4869" style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; background-color: rgb(255, 255, 255);" dir="ltr">thanks in advance</div><div id="yui_3_16_0_ym19_1_1461802106711_4870" style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; background-color: rgb(255, 255, 255);" dir="ltr">regards</div><div id="yui_3_16_0_ym19_1_1461802106711_4871" style="color: rgb(0, 0, 0); font-family: times new roman, new york, times, serif; font-size: 16px; background-color: rgb(255, 255, 255);" dir="ltr">Zeinab  </div></div></body></html>