ispcp network menagement with user netmask value

This guide describes how to update ispCP 1.0.7 to have possibility of entering user netmask value. As in different network scenarios hard coded /24 netmask value is a pain.

1. Change ispcp database (you can use pma or cmd line):

ALTER TABLE ‘server_ips` ADD `ip_netmask` VARCHAR( 15 ) NOT NULL DEFAULT ’' AFTER `ip_number`;

2. Save 3 files:

  1. cp /var/www/ispcp/gui/admin/ip_manage.php /var/www/ispcp/gui/admin/ip_manage.php.bak
  2. cp /var/www/ispcp/gui/themes/omega_original/admin/ip_manage.tpl /var/www/ispcp/gui/themes/omega_original/admin/ip_manage.tpl.bak
  3. cp /var/www/ispcp/engine/tools/ispcp-net-interfaces-mngr /var/www/ispcp/engine/tools/ispcp-net-interfaces-mngr.bak

3. Copy new versions of files mentioned above from tar archive.
4. Change permission and ownership to proper values.
4. Thats IT. Check it under

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License