Docsity

Smart Home Simulation Using Cisco Packet Tracer, Study Guides, Projects, Research of Computer Networks

Partial preview of the text

Download Smart Home Simulation Using Cisco Packet Tracer and more Study Guides, Projects, Research Computer Networks in PDF only on Docsity!

I

Graduation Thesis of Shandong Jiaotong University Smart Home Simulation Using Cisco Packet Tracer

School

Major

Grade

Student No.

Name

Supervisor

II ABSTRACT Technology is improving rapidly on a daily basis and for this reason, home environments are getting smarter too. As we know, if a person’s life is going to be comfortable, it starts form home, and to achieve this, your home must be a smart one. So, what is a smart home? A smart home is a house that uses IoT (internet of things) devices and therefore different tasks can be automated by connecting the IoT devices to the internet. These devices can be remotely monitored and controlled, making our lives easy and comfortable. IoT refers to the communication between such things as actuators, sensor, devices of different sorts including lighting, heating, cooling and alarming devices and systems. This technology is used in many fields such as education, health, industries, agriculture and infrastructures. In order to learn and understand how this technology works, many practical learning tools are used. The aim of the thesis is to introduce an IoT simulation tool, where student can simulate or build and manage the systems for better understanding of the architecture behind IoT networks. The tool used is Cisco packet tracer which is a software developed by Cisco that is used to create and simulate a virtual network, basically a wireless network, without the need for any network hardware. The tool is free of charge, and suitable to work with almost all the operating systems. Cisco packet tracer allows users to have a practical networking technology knowledge. In this thesis, “Cisco packet tracer” is used to design an internet-based home automation system or smart home. Key words : IoT, Smart Home, Packet Tracer, Remotely, Automation

    1. INTRODUCTION Contents
    • 1.1. IoT Definition
      • 1.1.1. History and Evolution of IoT
    • 1.2.IoT Applications
      • 1.2.1. Industrial IoT (IIoT)
      • 1.2.2. Internet of MedicalThings (IoMT)
      • 1.2.3. Smart Cities and Homes
    1. CISCO PACKET TRACER
    • 2.1. Packet Tracer Workspaces
      • 2.1.1. Packet Tracer Modes
      • 2.1.2. Cisco Devices Configuration Methods
      • 2.1.3. Cisco Packet Tracer Supported Protocols
    • 2.2. Cisco Packet Tracer and Internet of Things
  • 3 IMPLEMENTATION OF THE SMART HOME
    • 3 .1. Smart Home Overview
    • 3 .2. Smart Home Implementation
      • 3 2 .1. Methodology of the Design
      • 3 2 2 Algorithm and Flow Diagram
    • 3 3 Devices Configuration
      • 3 3 .1. Home Gateway
      • 3 3 .2. ISP Router IV
      • 3 3 .3. Configuring DHCP Server
      • 3 3 4 IoT Server
      • 3 3 5 DNS Server
      • 3 3 6 IoT Cloud (WAN)
      • 3 3 7 Central Office Server
    • 3 4 Cell Tower
      • 3 4 .1. The Cable Modem
      • 3 4 2 SmartPhone
    • 3 5 Result of the Impementation
  • 4 CONCLUSION
    • 4 .1. Future Research
  • ACKNOWLEDGEMENT
  • REFERENCES

Graduation Thesis of Shandong Jiaotong University

1. INTRODUCTION

Computer networks are considered to be very complex and difficult to implement and operate. Moreover, with IoT (internet of things) technology, where we connect any sort of devices on internet such as refrigerator, air conditioner, fan etc. this complexity becomes even higher. Many documents show that there are actually 13 billion IoT (internet of things) devices connected to the internet, and that there is a possibility that this number will go up to 30 billion in the next three years.

1.1. IoT Definition

Internet of things or internet of everything refer to the idea of thing (object), that are readable, recognizable, locatable, addressable through information sensing devices (sensor) and controllable via internet. Things are physical objects with unique identifiers that are able to transfer data over the network. Examples of physical objects include vehicles, smart phones, home appliances, toys, cameras, medical instruments and industrial systems, animals, people, buildings, etc.

1.1.1.History and Evolution of IoT

The very first idea of IoT started with Coca Cola vending machines in 1980s at the Carnegie Melon University, students from the department of computer science install micro- switches into the machine to see if the cooling devices was keeping the drinks cold enough and if there were available coke cans in the machine via internet. This first invention encourage further studies on interconnected machines. Later in 1990s, with a TCP/IP protocol John Romkey connected a toaster to the internet for the first time. In 1991 at Cambridge University, Scientist developed a system to check to amount of coffee available in the coffee machine. The idea was to use the webcam to take picture of the coffee pot three time a minute and send to local computer located in their lab so everyone could see the amount of coffee. In that same year, Kevin Ashton introduce the concept of the internet of things (IoT) in a presentation paper for Procter & Gamble. In the presentation, he explained the internet of things as a technology that connected devices Using RFID (radio frequency and identification) technology. 2010 was the true birth of the internet of things according to cisco because of the number of the interconnected devices. They also said that the number of interconnected devices passed the number of people on earth. In 2015, the number of connected devices has significantly exceed the number of people. It is expected that in the future, all things will be able to connect to each other. Things not including just electronic devices but also books, shoes, foods, water etc.

Graduation Thesis of Shandong Jiaotong University Fig 1.1 IoT Applications

Your name: your thesis title

2. CISCO PACKET TRACER

Cisco packet tracer is a powerful virtual network simulation tool used to learn and understand different concept in computer networks. The tool is developed by Cisco in order to allow students or user to get practical networking technology knowledge. Cisco packet tracer provide user / student to design and simulate a network by using virtual devices such as hub, router, switches etc. In cisco packet tracer, the simulation works without having any physical network. It is also worth to mention that I am using the latest version of cisco packet tracer version 8.0 (2021). Figure 2. Cisco Packet Tracer

2.1. Packet Tracer Workspaces

Cisco packet has two workspaces: one is Physical and the other one logical. The logical view allow user to place and connect virtual network devices while the physical view gives a graphical representation of the virtual network devices. In the physical view of the devices, we can add additional modules to an available slot in the devices as we can see in the Figure 2.1. bellow. The good thing about this particular simulation tool is that it provide an environment where devices resemble to devices in the real world. This is very important because it give user the possibility to be familiar with devices before working with the real equipment.

Your name: your thesis title Figure 2.1.1 Modes in packet tracer

2.1.2. Cisco Devices Configuration Methods

Cisco packet tracer allow us to configure devices using two options: config tab or CLI tab (command line interface). With command line interface, we configure devices using cisco command line. The advantage of using the command line interface is that, the commands we use to configure devices virtually are the same command we use with the real devices. The Figure 2.1.2 (a) below represents a router configuration using a Command line interface (CLI). The config tab did not required any cisco commands knowledge. Configuration with config tab is done through a graphical interface. This configuration method can be use in the situation where user does not have enough time and want to configure devices quickly. This technique can help us saving time during configuration. The Figure 2.1.2 (b) represent a router configuration with Config Tab.

Graduation Thesis of Shandong Jiaotong University Figure 2.1.2 (a) Cisco Packet Tracer Command Line Interface Tab Figure 2.1.2 (b) Cisco Packet Tracer Config Tab

Graduation Thesis of Shandong Jiaotong University The internet of things devices in the Cisco Packet tracer can be used to build and simulate different internet of things application such as smart home, smart industry, smart city etc. The benefit of using cisco packet tracer is that, user can interact with the devices the same way they do in the real devices. In addition, with its multi-user functionality, multi-user can work together to build virtual network through a real network. This thesis work is only focusing on using the smart devices in the new version of the packet tracer to implement a smart home or internet based home automation system The Figure 2.2 bellow show some different devices included in the new version of cisco packet tracer. Figure 2.2 Cisco Packet Tracer Smart devices

3 IMPLEMENTATION OF THE SMART HOME

3 .1. Smart Home Overview

Smart home is a home equipped with different smart objects such smart fan, smart light, coffee maker, smart windows that can be remotely controlled via a smartphone or computer through internet connection. Smart home offer the homeowners convenience, savings, safety, and comfort. Saving because the use of some smart objects such as smart thermostats and smart light can help for energy saving (reduce energy consumption) and reduce bills. It is convenience because every tasks are done automatically, and safety is one of biggest benefits of a smart home, because you can remotely control the devices and see if there is a danger at any time in your home. Comfort because of the possibility it offer, imagine that you have the possibility to turn on your air conditioner to cool down the place before you reach your home, and also the possibly to check if there are foods in you refrigerator, or even to check if some foods inside.Smart home allows homeowner to manage all the home devices anywhere at any time.

Your name: your thesis title

3 .2. Smart Home Implementation

The implementation of the smart home is done with the latest version of packet tracer, precisely Packet Tracer 8.0. The Table 3.2 below shows the lists of the different devices used for the simulation and their functions Fig 3.2 Smart home Application

Your name: your thesis title

3 2 .1. Methodology of the Design

The network topology used for the implementation of the smart home is represented in the Figure 3.2.1 below. The implementation consist of four part: the smart home, internet cloud, IoT server and 3G/4G network. Fig 3.2.1 Design Methodology In the first part, we have a home network with different internet of things devices connected to the home gateway (home Wi-Fi router in the topology). The second part of the network is the internet cloud (WAN) which is connected to the home Wi-Fi router through a cable modem in order to provide internet connection to the internet of things devices. The third part concern the IoT (internet of things) server that register all the devices connected to it to provide more internet of things functionalities. Then comes the last part of the topology “3G network”, the smart phone is connected to the cell tower for internet connection in order to remotely access the devices.

3 2 2 Algorithm and Flow Diagram

The Algorithm is explained as follows; Step 1: Start the project. Step 2: Open the pkt file and save the file. Step 3: Add the required components to the workspace Step 4: Connect all devices in workspace using wireless connection. Step 5: Configure the devices and setup internet service provider router. Step 6: Add Home Gateway to the Network. Step 7: Connect smart Devices to the Wireless Network.

Graduation Thesis of Shandong Jiaotong University Step 8: Add End User Device to the Network Step 9: Stop The flow diagram is explained as follows Fig 3.2.2 Flow Diagram

Graduation Thesis of Shandong Jiaotong University Fig 3.3.1 (a) Home Gateway In the Figure 3.3.1 above, we can see different smart objects connected to the home gateway using wireless or Ethernet cable connection. There are four Ethernet ports in the home gateway plus a wireless access point with the SSID “home gateway”. We can configure WEP / WPA – PSK/ WPA2 protocols in the home gateway for the wireless connection authentication. In order to connect the devices to the home gateway, we must select wireless since the devices will be connected using wireless connection, then we specify the SSID of the home gateway in the devices. This Figure 3.3.1 (b) below is the smart light configuration to the home gateway. The authentication is disabled to just to keep the configuration simple. So we repeated this configuration in all the devices.

Your name: your thesis title Fig 3.3.1 (b) Smart Light Connected to the Home Gateway