Hassle-free routing between two nodes without intermediate interference with better performance is a very challenging task. In the case of doctor and patient, it needs super speed to share several issues and remedial information with each other is projected as a routing algorithm with the sensor and cloud without any intermediate router by using IBM blue mix cloud. Direct contact with the destination router is possible by keeping an intelligent agent as a connector to the cloud and the sensors. A special header can be added behind the packet for the connection of several clouds or sensor-based destinations with priority. This technique can be used in the hospital for the establishment of a secure tunnel between patient and doctor.