I have always used the subnet tools on the web when our datacenters provide us with new ip blocks for our machines. However, I recently ordered more IPs from our European DC and they apparently just hand you random single IPs instead of blocks, which has left me confused.
How can I get the subnet for these IPs?
178.162.137.19
178.162.137.29
78.159.99.210
78.159.99.211
You can not. You can get the possible smallest one but without knowing more information you can not deduce which subnet you have because the "subnet" may be LARGER than the Class network.
If they're assigning you random IPs, one of two things should be the case:
1) You already have some routing scheme arranged with them, and they can route a simple /32 to you.
2) You already have an interface in a subnet that includes that IP address. They are basically just giving you permission to take that additional IP address as well as the ones you already have.
If neither of these two things are the case, ask for clarification.