How do you plan your izCloud private network and VPN subnets?
On izCloud you connect your servers to each other with a private network (VLAN) and attach your office to it with an IPsec tunnel. Both tasks depend on choosing the subnet boundaries correctly from the start. The calculator lets you check a block before you enter it in the panel.
When is the calculator useful on izCloud?
The panel asks for a /24 block from the RFC 1918 ranges for each private network and rejects a subnet that already exists. Checking the boundaries first is easier than deleting and recreating the network later.
- Before you create a new private network (VLAN)
- When you connect your office with an IPsec site-to-site VPN and need to compare the local and remote subnets
- When you create a "Subnet" address object for a SNAT rule
- When you split web, database and management servers into separate networks
How do you read the 10.1.0.0/24 result on izCloud?
When you create the network in the panel, you enter the gateway address in the "IP Address / CIDR" field, not the network address: 10.1.0.1/24.
| Field | For 10.1.0.0/24 | What it means on izCloud |
|---|---|---|
| Network address | 10.1.0.0 | Not assigned to a server; address objects use it to define the network |
| First usable IP | 10.1.0.1 | The gateway address of the network |
| Range left for servers | 10.1.0.2 – 10.1.0.254 | You assign network interface IPs from this range |
| Broadcast address | 10.1.0.255 | Not assigned to a server |
| Usable hosts | 254 | 253 addresses remain for servers once the gateway is taken |
How many servers fit in one /24 network?
A /24 block leaves 253 addresses for servers once the gateway is taken, which is more than enough for most projects. Splitting networks by role rather than by server count makes access easier to manage. For example, you can keep the database server on a separate network that only the application server reaches.
If the office side uses smaller blocks such as /26, the calculator's table of all networks within the same /24 shows which parts are taken and which are free.
Common mistakes
- Choosing the same block as the office LAN. If the office uses 192.168.10.0/24, pick a different range such as 10.1.0.0/24 on izCloud; a site-to-site tunnel cannot be built when both ends have the same subnet.
- Using 192.168.0.0/24 or 192.168.1.0/24 in the cloud network. Home and small office routers use these blocks widely, so they clash with the local network of remote users.
- Trying to enter a larger block. The panel accepts only /24 for a private network; if you need more addresses, create a second network.
- Assigning the gateway address, the first IP of the network, to a server.
Step by step on izCloud
After checking the block here, create the network on the Infrastructure → Network page and add a network interface to your server. The steps are in the private network (VLAN) guide.
If you connect your office, enter the izCloud block as the local subnet and the office block as the remote subnet in the Phase 2 settings of the tunnel, and mirror them on the other device. Details are in the IPsec site-to-site VPN guide.
When you write a SNAT rule so that servers on the private network can reach the internet, you define the source with this block as a "Subnet" address object. IPsec and SNAT require a service that includes the izCloud Firewall.
Give each network its own /24 and pick the blocks in sequence (10.1.0.0/24, 10.1.1.0/24 …). The plan stays readable and firewall rules are easier to write.