I thought we 'd better talk about it in some detail conditions, such as a concrete software, because these techs are still under developing, each firm use diff tech to perform. you'd better get some books for reading. BTW, most firms should suggest use some server to handle these, in stead of swtich and router, because S/R still work as a server and with limited functions. but it's fast and good as an assitant method to control network stream.
Good Luck for studing