hi
I manage somehow to speed up that algorithm, by cuting off some uselles chekings. And, as that app should work for ip classes with 128 ip max, my problem is solved ... or delayed.
10x anyway
coditza
Search found 2 matches
- Sun Jun 15, 2003 2:09 pm
- Forum: PHP - Code
- Topic: [SOLVED :P delayed actually] Help with generating ips
- Replies: 2
- Views: 1270
- Sat Jun 14, 2003 9:41 am
- Forum: PHP - Code
- Topic: [SOLVED :P delayed actually] Help with generating ips
- Replies: 2
- Views: 1270
[SOLVED :P delayed actually] Help with generating ips
Hi I have to generate some ips knowing the network and mask: eg 1.1.1.1/16 basicaly, the algorith is: in the network 1.1.1.1 you have 2^(32-16) ips, in general, in the network x.x.x.x you have 2^(32-mask) ips. including the network and broadkast. So, what i do: explode the input by "/" to ...