Device 2 - IP:10.1.1.20, Subnet: 255.255.255.0
They have a "class C" subnet, and therefore have the first 3 octets of their IP identical. "10.1.1" is the network address.
These devices could talk:
Device 1 - IP: 10.1.2.10, Subnet - 255.255.0.0
Device 2 - IP: 10.1.3.10, Subnet - 255.255.0.0
They have a "class B" subnet, and therefore have the first 2 octets of their IP identical. "10.1" is the network address.
These devices couldn't talk:
Device 1 - IP:10.1.2.10, Subnet: 255.255.255.0
Device 2 - IP:10.2.3.10, Subnet: 255.255.255.0
They have a "class C" subnet, and therefore the first 3 octets must match. In this example however, they don't,
meaning device 1 is on network address "10.1.2", and device 2 is on network address "10.2.3".
Click here to be taken to the Cisco website, to go more in depth.
Thankfully, there is a way of avoiding needing to worry about all this. Instead, we can use a DHCP server, to
automatically assign your devices their required IP address and subnets.
Click here to find out about DHCP Servers.
DHCP
DHCP stands for Dynamic Host Configuration Protocol. It is a protocol used by devices and a DHCP server, to
automatically assign connected devices an IP address and subnet, to ensure they can talk to other devices on the
network. This is how when you connect your phone, tablet or laptop to a WiFi network, you don't need to manually
configure any IP addresses - your device is given all of that information from the DHCP server which will be on the
network.
Take a look at the quick video below for a description...
Zero 88 - ZerOS - Page 207 of 233 Printed: 23/11/2020 12:50:03 JH