Recently, the evolving technologies in wireless communication demand the integration of Wireless Sensor Network (WSN) with the Internet of Things (IoT). The IoT exploits the standard Internet Protocol (IP) to connect smart sensors worldwide and utilizes the sensed data in various functions such as identification, location, tracking, monitoring, and so on. Several attacks are characterized by IoT in the routing criteria. Hence analysis should be held to reduce those attacks for improving the performance. In this survey, various applications of IoT routing and performance measures of security with the tools available to implement IoT environment is presented. This paper also surveys various routing attacks and focuses on defense mechanisms in brief. © 2018 IEEE.