Re: Free IP Calculator

2015-01-15 Thread Bob Sneidar
OK I took some time today to really go through this IPCalc function. Note to self: Don’t try to write publicly distributable code quickly. That being said, I’ve been asked to include this function in the library of commands and functions everyone’s been talking about. So I am going to post the

Re: Free IP Calculator

2015-01-15 Thread Bob Sneidar
Change this line to: — usablecount set the itemdelimiter to “.” won’t work without it. Another note to self: Don’t try to modify code posted in an email. Bob S On Jan 15, 2015, at 15:18 , Bob Sneidar bobsnei...@iotecdigital.commailto:bobsnei...@iotecdigital.com wrote: --

Re: Free IP Calculator

2015-01-15 Thread Skip Kimpel
That's a lot of notes to yourself :) Thanks for sharing! SKIP On Jan 15, 2015, at 6:17 PM, Bob Sneidar bobsnei...@iotecdigital.com wrote: Change this line to: — usablecount set the itemdelimiter to “.” won’t work without it. Another note to self: Don’t try to modify code posted

Re: Free IP Calculator

2015-01-13 Thread Bob Sneidar
OK Sorry all this seems to return all the correct values. If anyone finds anymore bugs let me know. Bob S function IPCalc theIPAddress, theSubnetMask set the itemdelimiter to . -- initial setup set the numberFormat to -- convert the ip address to binary put 0 into

Re: Free IP Calculator

2015-01-13 Thread Bob Sneidar
Ok belay that last. Seems I found another bug that only appears with glassful subnet masks. I am going to have to convert everything to actual binary (not delimited octets) do my math then convert back to delimited octets. Stay tuned… Bob S On Jan 13, 2015, at 16:39 , Bob Sneidar

Re: Free IP Calculator

2015-01-09 Thread Alex Tweedly
Thanks Bob - that looks really useful. You do need one tiny tweak - the CIDR calculations are slightly off, because of the .s in theBinSubnetMask. I added the line replace . with empty in theBinSubnetMask just before put offset(0, theBinSubnetMask) into theFirstNodeChar to get the right

Free IP Calculator

2015-01-08 Thread Bob Sneidar
Hi all. It’s not often I get a chance to give something back to the LC community, so here is my contribution. I put together an IP calculator function which when passed any IP address and subnet mask returns an array of pretty much every value you want to know about your network. It may also