root@hostname:/var/www/racktables_beta# php test.php 15 10.0.1.0/24 11 192.168.0.0/16 10 192.168.0.0/21 12 192.168.8.0/21 * * * parent for 15 is * net#15 is on the top * * * parent for 11 is * net#11 is on the top * * * parent for 10 is 11 * net#10 is on the top * net#11 is on the top * * * parent for 12 is 10.0.1.0/24 192.168.0.0/16 192.168.0.0/21 192.168.8.0/21 root@hostname:/var/www/racktables_beta#