You are on page 1of 6

CS 361 Lab 9

Date: 24 Nov 2023

OBJECTIVE:
Consider that you have two different houses with multiple IoT devices. The two houses
are in different subnets and have different IoT servers. Demonstrate the following:

(1) IoT devices of one house can be controlled from the Laptop/PC of another house.

first house consists of an IoT Server, PC0, Wireless Router0, a fan and a garage door.

The IPv4 address of :

Wireless router0 : 192.168.1.1

Server0 : 192.168.1.2

PC0 : 192.168.1.3

Router0’s FastEthernet0/0 port: 192.168.1.4

second house consists of an IoT Server, PC1, Wireless Router0, a light and a window.

The IPv4 address of :

Wireless router1: 192.168.2.1

Server1 : 192.168.2.2

PC1 : 192.168.2.3

Router0’s FastEthernet0/0 port : 192.168.2.4


SSID of first network is “home1” and the SSID of second network is “home2”.

Next, we try to control one of the IoT devices in network 1 from the network 1 itself :

For this , we first login into the IoT server of the first network :

we turn on the ceiling fan and the garage door from PC0
Next, we will try to control the IoT devices of network 2 from network 1 itself :
we first login into the IoT server of the second network from PC0 :

we will turn on the light and the window of network 2 from the network 1 itself :

(2) Use a mobile phone to communicate with IoT devices.


we have connected a smartphone to the first network.

We also assign it a static IPv4 address instead of DHCP .

Now we try to control the fan and garage door (of network 1) from the smartphone:

Now we try to control the window and light (of network 2) from the smartphone:

You might also like