Network and Subnet
A Network is a virtual private network on LANIT Cloud — analogous to a VPC on other platforms. Each account can create several independent Networks to separate workloads (production, staging, internal, DMZ…). Inside a Network you create one or more Subnets — the specific IP ranges handed out to VMs.
Terminology
| Concept | Meaning |
|---|---|
| Network | Internal virtual network, not routed directly to the Internet |
| Subnet | A CIDR range inside a Network, handed out to VMs via DHCP or as a static IP |
| Gateway | The subnet's exit IP (usually the first or last address of the range) |
| DHCP | Auto-assign IPs to VMs that attach to the subnet |
| Allocation Pool | Limits the IP range that DHCP can hand out (reserves the rest for static IPs) |
Create a Network
Step 1. Open the Network page
Go to Network → Networks and click + Create Network.

Step 2. Name the Network
Type a memorable name (e.g. prod-net, staging-net, dmz-net) and click Create Network.

The new Network has no subnet yet — add a subnet before VMs can attach to it.
Add a Subnet to the Network
Step 1. Open the Subnet form
In the Network list, click + next to the Network → Add Subnet.

Step 2. Configure the subnet
| Field | Meaning | Example |
|---|---|---|
| Subnet name | Memorable name | app-tier |
| Network address | CIDR for the subnet | 192.168.100.0/24 |
| Gateway | Internal gateway IP | 192.168.100.1 |
| Disable gateway | Tick if the subnet has no gateway (rare) | – |
| DHCP | Enable to auto-assign IPs to VMs | On |
| Allocation Pool | DHCP-managed IP range | 192.168.100.10 – 192.168.100.200 |
| DNS | DNS servers for VMs on this subnet | 8.8.8.8, 1.1.1.1 |
| Host Routes | Static routes added to VMs | – |

A VM attached to multiple subnets that all have a gateway will end up with multiple default routes → unpredictable routing and possibly lost connectivity. Safe rule:
- One default gateway per VM — only the "Internet-bound" subnet should have a gateway.
- Other internal subnets tick Disable gateway, or simply don't attach them to that VM.
Step 3. Confirm
Once created, the subnet appears in the Subnet block of the Network. From now on, VMs can attach to it during creation or via Network Interface.

Common topologies
A single subnet
For small projects — all VMs share 10.0.0.0/24, leave through the Router with S-NAT enabled.
Application + database split
app-subnet(10.0.1.0/24) — app VMs, gateway on, Floating IPs attached.db-subnet(10.0.2.0/24) — database VMs, no Floating IP, no gateway → only the app VMs in the same Network can reach them.
Dedicated management network
Add mgmt-subnet (10.0.99.0/24) for SSH/RDP and monitoring, separate from the data plane to shrink the attack surface.
See also
- Router management — connect Subnets to the Internet.
- Floating IP — allocate public IPs for VMs.
- Security Group — firewall control.
- Network Interface on a VM — attach multiple subnets to the same VM.