Virtual switch

Is there anyway I can do this all without external hardware?