Installation of server does not accept subnet CIDR
The prompt wants a network address with CIDR prefix. That is, if you are using 10.16.192.251/22
for your network (255.255.252.0 subnet mask, /22 CIDR mask), you need to first calculate the network address (the first IP of the range, usually a .0 with ones like this in the last subnet, but could be a different third octet, in this case 10.16.192.0 is the network address) and then put that in for subnet
with the CIDR mask.
Therefore, use 10.16.192.0/22
for the Subnet field. This is used to autocalculate Broadcast address and Gateway address on a 'default' network, but in the case here also makes sure that the Address you enter is in fact in the subnet you're looking to add it to.
Marged
Updated on September 18, 2022Comments
-
Marged over 1 year
I try to install a server from scratch with a fixed IP address. For installation I use the provided ISO of 18.04.3 and the installation agent of Ubuntu.
First I thought that my understanding of the subnet CIDR was wrong, but after I received credible information from
https://networkengineering.stackexchange.com/questions/63499/how-to-interpret-subnet-mask
I am sure that this is more a problem within Ubuntu.When I enter
255.255.252.0/22
as subnet CIDR and10.16.192.252
as the IP address I get the error message that10.16.192.251 is not contained in 255.255.252.0/22
. But a subnet calculator tells me that10.16.192.1 - 10.16.195.254
would be part of the subnet.-
Thomas Ward over 4 years
subnet
does NOT mean the subnet mask. It means the network segment your device is on, and its gateway. So, 10.16.192.0/22 for the Subnet. NOT the subnet mask (which is defined by the/22
portion) -
Marged over 4 years@ThomasWard This worked. Do you want to create an answer ?
-
-
Marged over 4 years
255.255.252.0
is rejected by the installer, it insists on a CIDR notation. -
chili555 over 4 yearsPlease try
10.16.192.0/22
in the subnet field. Thank you, @ThomasWard -
u15p7fgy863eiq5 over 4 yearsWhy can't Ubuntu's installer calculate it itself? All other static IP GUI wizards can handle it themselves.
-
bendecko over 3 years
-
Thomas Ward about 3 years@u15p7fgy863eiq5 Because ask the Server team? Might be a feature you should request.