Fix: Virtualizor Not Showing IPs From Pool on VPS Creation
When managing infrastructure via Virtualizor, encountering an issue where the IP Address dropdown is missing IPs during VPS creation is a highly common frustration. This error is rarely a network misconfiguration; instead, it stems from a default protective limit hidden within Virtualizor's source code to optimize RAM usage.
If Virtualizor is not showing IPs in the IP Pool when creating a VPS, the cause is the default $globals['max_ips'] = 250 limit. To fix it, open /usr/local/virtualizor/universal.php, increase this value to 1024 or higher, and simply refresh your browser.
1. The Problem (Symptoms)
You have successfully assigned a large subnet to the system. However, when navigating to the Create VPS page in the Admin Panel, the IP Address dropdown menu is either completely empty or only displays a fraction of your assigned IPs.
- Symptom: The "virtualizor ip pool not showing" error occurs during VPS creation.
- Trigger Condition: This typically happens when the number of static IPs in a single pool exceeds 250.
2. The Root Cause
The root cause is not your VLAN or routing configuration. It's a built-in safety mechanism. Specifically, the universal.php configuration file contains a limiter:
Rendering thousands of IP addresses into an HTML dropdown can cause the browser to freeze or overload the PHP backend. Therefore, Virtualizor defaults to loading a maximum of 250 IPs into the UI.
3. Step-by-Step Fix
To resolve this permanently, we will SSH into the server and raise the max_ips threshold.
- SSH into the Master Node: Access your Virtualizor Master server using PuTTY or Terminal with
rootprivileges. - Backup the configuration file: This is a mandatory sysadmin practice to prevent accidental syntax errors.
BACKUP FILE
cp /usr/local/virtualizor/universal.php /usr/local/virtualizor/universal.php.bak - Edit the file: Open it using the
nanoeditor.EDIT CONFIGnano /usr/local/virtualizor/universal.php - Update the parameter: In nano, press Ctrl + W, type
max_ips, and press Enter to search. Change the number 250 to your desired capacity.$globals['max_ips'] = 1024;*Tip: Set this to 1024, 2048, or 4096 depending on your subnet sizes. - Save and Exit: Press Ctrl + X, type Y, and hit Enter.
4. Verification
You do not need to restart any Virtualizor services. Simply go back to your web browser and hit F5 (Refresh) on the Create VPS page. Click the IP Address dropdown, and you will now see 100% of your IP pool populated.
5. Conclusion
The missing IP pool issue in Virtualizor is merely a frontend performance limit. By understanding and overriding the max_ips variable, you regain complete visibility and control over your network allocations.
Managing platforms like Virtualizor, Proxmox, or KVM requires deep expertise in Kernel routing and network bridges. Don't let backend technical issues disrupt your hosting business.
More Technical Guides
Explore additional technical guides and practical tutorials to optimize performance and manage your server infrastructure efficiently.