White paper – networking with eclernet manager – Ecler White Paper - Networking with EclerNet Manager User Manual
Page 3
White Paper – Networking with EclerNet Manager
Document: AS
Version: 1.0
Date:
Page 3 of 12
Prefix size Network mask
Available
subnets
Usable hosts
per subnet
/24
255.255.255.0
1
254
/25
255.255.255.128 2
126
/26
255.255.255.192 4
62
/27
255.255.255.224 8
30
/28
255.255.255.240 16
14
/29
255.255.255.248 32
6
/30
255.255.255.252 64
2
/31
255.255.255.254 128
2
Latest bits from net mask must follow the above convention; thus a mask of 255.255.255.127
is not legal, whereas 255.255.255.128 is Ok.
For instance, a good configuration between a PC and a device is:
PC
DEVICE
IP address
10.0.0.2
10.0.0.210
Mask
255.255.255.0
255.255.255.0
The IP address & Mask combination above allows for the connection of up to 254 devices on
the same subnet.
Example of a wrong configuration:
PC
DEVICE
IP address
10
.
0.0
.
2
10
.
2.100
.
23
Mask
255.255.255.0
255.255.255.0
And a correct one, instead:
PC
DEVICE
IP address
10.0.0.2
10.2.100.23
Mask
255.0.0.0
255.0.0.0
Two more wrong configuration examples:
PC
DEVICE
IP address
10.0
.0.
2
192.168
.0.
100
Mask
255.255.255.0
255.255.255.0