IP pools
An IP pool is a range of addresses handed to servers on its nodes. They’re under Network → IP pools; adding or changing one needs the Manage IP pools permission.
IPv4 and IPv6 pools are added with New pool: choose IPv4 or IPv6, then enter the details as your provider gave them. The page lists them in an IPv4 and an IPv6 section; an empty section has an Add an IPv4 pool or Add an IPv6 pool button. A server gets IPv6 when its package has IPv6 on, its node has IPv6 on (node Settings) and an automatic IPv6 pool is attached to the node.
Fields
| Field | Rules |
|---|---|
| Name | Lowercase letters, digits and dashes, 2–32 characters, unique |
| Gateway and Netmask | IPv4. The netmask as 255.255.255.0, /24 or 24, from /20 to /29; pasting 203.0.113.1/24 into Gateway fills in both. The panel works out the network from them (here 203.0.113.0/24) and shows it. The gateway can’t be the network’s own or broadcast address. Servers get this netmask and gateway, even when the pool only hands out some of the network’s addresses. |
| Addresses to hand out | IPv4. The usable range your provider gave you, one per line or separated by commas, as single addresses or ranges: 203.0.113.10-203.0.113.50 (spaces round the dash are fine), 203.0.113.196-198 (short for 203.0.113.196-203.0.113.198) or 203.0.113.205. Left empty, the pool hands out every usable address in the network. Required when another pool already uses part of the network. |
| Prefix and Gateway | IPv6. As your provider gave it, from a /32 to a /124, aligned to its boundary. The gateway starts as the prefix’s first address; it can be any address inside the prefix, or a link-local one such as fe80::1. |
| Each server gets | IPv6. The size of the block each server takes from the pool, smaller than the pool itself, such as a /64 from a /48, or from a /64 a /112 (65,536 addresses), a /120 (256) or a /128 (one address). It starts at /64 for a /60 or larger and /128 for anything smaller. It can be changed on the pool’s page: new blocks get the new size, and servers keep the ones they have. |
| Region | Its nodes must be in this region when the pool is created, or Any region |
| Nodes | The nodes that assign from it, and where the subnet is routed: servers with its addresses only move to these nodes |
| Assignment | Automatic, or Manual only: new servers get nothing from it, and staff hand out its addresses (or, for IPv6, its blocks) with Add addresses on a server. |
After creating a pool, its name, nodes, assignment and addresses (and an IPv6 pool’s block size) can change on its page. There, Addresses → Edit adds addresses as you get more (or goes back to the whole network); an address a server uses, or that’s reserved, has to stay in.
Pools can share a network as long as each lists its own addresses, e.g. one pool per node from the same /24. Two pools can never hand out the same address.
How addresses are handed out
- IPv4: each new server gets the first free address in an automatic IPv4 pool attached to its node, skipping the gateway and reserved addresses. Pools are tried in the order they were added.
- IPv6: when the package includes IPv6 and the node has IPv6 on, the server gets the next free block, of the pool’s size, from an automatic IPv6 pool attached to its node, in the order the pools were added: when one is full, the next is used. The pool’s first block is never handed out, nor the one holding the gateway, an address on a node itself or anything already given out, held or reserved. When no pool has a free block, the server is created without IPv6 and its activity log says so.
- The server’s own IPv6 address is its block’s first address after the network’s (
2001:db8:a::1from2001:db8:a::/64,2001:db8:a::101from2001:db8:a::100/120), or the address itself for a /128. It’s set with the block’s length and a default route to the pool’s gateway. The customer can add the rest of the block’s addresses inside the server. The server’s Network tab shows the block and the address it uses. - Staff with the IP pools permission are notified when an automatic IPv4 pool reaches 90% used, whatever took the addresses: new servers, extra addresses, floating IPs, GPU instances, moves or reservations. A pool warns again only after it has gone back below 85%.
A pool’s used count is its addresses on servers and GPU instances (a server with three addresses uses three); reserved is reservations, floating IPs not pointed at a server, and nodes’ management addresses.
An IPv4 pool’s size is the addresses it hands out: its listed addresses (less the gateway when it’s among them), or the whole network without the network, broadcast and gateway addresses.
Addresses on a node itself
Server addresses must not also be on the node. Providers often put every IP they give you on the host when they set it up (in /etc/netplan/*.yaml). The node then answers for those addresses on the network, so a server given one gets no traffic, and Windows refuses it as a duplicate: ipconfig shows a 169.254 address and the gateway, and nothing else.
Each node’s agent reports the addresses on its own interfaces. If any is in an IP pool, the panel (leaving out the node’s management address and addresses reserved in the pool, unless a server has been given one):
- shows a red warning on the node’s page, on the pool’s page, on the IP pools list and under Needs attention on the Overview, naming any server already given one
- doesn’t hand that address out to new servers, moves or floating IPs while the node has it
To fix it, keep only the node’s own address in its netplan file and run netplan apply. To take one off at once, run ip addr del 203.0.113.42/24 dev br-public with your address and bridge. The warning clears within a minute. A Windows server that was refused its address takes it after a reboot, or after its network adapter is turned off and on again.
Reservations
On a pool’s page, reserve any address that mustn’t be handed out: the nodes themselves, the controller, routers, anything else on that network. A reservation needs a note (up to 120 characters). Only free IPv4 addresses can be reserved.
Holding released addresses
An address that leaves a server, a floating IP a customer gives back, or a GPU instance’s address can wait a while before it’s handed out again. Set the hours under Settings → Network & DNS → Released addresses (0 to 720; 0, the default, hands them out again at once). IPv6 prefixes are held the same way.
- An address is held however it was released: the server terminated or moved to another node with new addresses, the address taken off it, a floating IP released, a GPU instance deleted.
- A floating IP released without ever being pointed at a server isn’t held.
- One account holds at most 8 addresses at a time: when a ninth is released, its oldest hold ends.
- While held, it isn’t given to new servers, extra addresses, floating IPs, GPU instances, moves or imports, and it can’t be added to a server by hand.
- A pool’s page counts held addresses as taken, lists them as Held with the time the hold ends and what had them, and the 90% warning counts them too.
- End hold, on a held address, makes it free at once. It needs the Manage IP pools permission and is written to the audit log. Over the API it’s
DELETE /admin/ip-pools/{id}/holds/{address}from a signed-in staff session. - A new setting applies to addresses released from then on; holds already running keep their end.
Renaming a pool and removing addresses
Rename, beside the pool’s name on its page, changes only the name; servers, reservations and attached nodes stay as they are.
Remove on a free IPv4 address takes it out of the pool altogether: it isn’t handed out, it no longer counts toward the pool’s size, and another pool can list it. The pool’s Addresses setting shows what’s left as ranges, and Edit there adds an address back. Addresses in use, reserved or the gateway can’t be removed; release a reservation first.
Deleting a pool
Delete pool, at the bottom of a pool’s settings, works once nothing has an address from it: no server, GPU instance or customer floating IP, and no unfinished import that puts servers in it. Until then the button is grayed out, or the panel names what’s still using it. Change those servers’ addresses, delete them or move them to another pool first.
Its reservations and the reverse DNS staff set on its spare addresses go with it. Servers using other pools aren’t affected, and you can add the same range again later as a new pool. Over the API it’s DELETE /admin/ip-pools/{id} (see Endpoints), from a signed-in staff session with the Manage IP pools permission; API tokens can’t delete pools.
Floating IPs
Customers reserve floating IPv4 addresses on their Networks page and point each at any of their servers in that location. Moving one takes about a second, and reverse DNS follows it. A floating IP is a new address from the location’s pool, not one of a server’s own, and can only be reserved in a location where the account has a server.
- They come from the location’s automatic IPv4 pools, taken from the top of the range. When the customer picks a server as they reserve one, a pool that server’s node can carry comes first; otherwise the pool attached to the most nodes in the location. When one pool is full, the next is used.
- Each is held as a reservation in its pool, noted “Floating IP · customer email”, and isn’t handed out to anything else.
- A floating IP stays in the account until the customer releases it, even with no server left to point it at. Staff with the IP pools permission can take one back with Release on the customer’s page (under Networking & DNS): it comes off its server, goes back to its pool, and a
floating_ip.releasedwebhook fires. Over the API it’sDELETE /admin/floating-ips/{id}, from a signed-in staff session. - How many an account can keep is a customer limit (3 by default), and the feature can be switched off.
floating_ip.createdandfloating_ip.releasedwebhooks let billing charge for them.
Adding addresses to a server
A server’s Network tab lists its addresses with their pool, gateway and reverse DNS, then Reverse DNS to edit each one, its network card (MAC address, setting the addresses again, and whether it may send from other addresses) and its private networks. The Overview shows a short list with a link here. Add addresses opens the choices above the list:
- IPv4, next free: 1 to 8 addresses from a pool you pick, or from any automatic pool of the server’s node.
- IPv4, a specific address: type the address, or pick one of a pool’s free ones (the list narrows as you type). This also works for manual pools, and for a reserved address, whose reservation goes. A customer’s floating IP or a GPU instance’s address can’t be picked.
- IPv6: another block, of the pool’s size, from a pool you pick (manual pools too), or from the node’s automatic IPv6 pools, up to 4 per server.
A server has up to 16 IPv4 addresses. Only pools attached to the server’s node are offered. Make primary on an IPv4 address makes it the one shown everywhere, the one the server sends from, and its pool’s gateway the server’s default route. Any address but the primary IPv4 or a floating IP can be removed; a floating IP is moved or released on the customer’s Networks page.
Every change is a job (it shows on the server and under Jobs, with its log). The node lets new addresses through and stops removed ones at once, and the server’s guest agent sets the full list inside it:
- Linux: the addresses are saved where the system keeps its network settings: netplan (
/etc/netplan/50-panel-public.yaml), NetworkManager, ifupdown (/etc/network/interfaces.d/50-panel-public) or systemd-networkd (/etc/systemd/network/50-panel-public.network). Settings for the card that cloud-init wrote on the first boot are moved to apanel-disabledfolder next to them, not deleted. If netplan refuses the new settings, the old ones are put back. - Windows: the network card is set up from scratch with the full list.
A server that’s off, or whose guest agent doesn’t answer, picks the change up once it’s running and the agent answers. Customers can’t add addresses. Resellers can add the next free IPv4 address to their customers’ servers, within their IPv4 quota.
Firewall policies
Firewall in the admin sidebar holds your own rules for customers’ servers: blocking outbound mail, closing ports nobody should expose, cutting off a bad network. The node enforces them in front of each server’s own firewall, whether or not the customer has turned theirs on.
- Rules go incoming (matched by who sends it) or outgoing (matched by where it goes), with a protocol, ports and addresses, checked top to bottom. A rule takes up to 64 addresses or ranges and 64 ports or port ranges. Add common has outbound mail (SMTP 25), Windows file sharing, outbound IRC and open DNS resolvers.
- Apply to new servers by default gives the policy to every new server as it’s created, or only to those on some packages or in some locations. It applies to servers created after you turn it on.
- Apply to… and Take off… give or take the policy at will: chosen servers, every server on a node, in a location or on a package, or all of them. A server’s Firewall tab can also apply or take off a single policy.
- Customers can turn it off: customers always see your policies on their Firewall tab, read-only. Locked ones only staff can take off; optional ones the customer can turn off for their server. Lock rules like outbound mail and take them off for the servers that ask, such as a real mail server.
- Changing a policy re-applies it on every server that has it; deleting one takes it off them all. It needs the Manage IP pools permission (
network:write).