colombeen Posted April 21, 2016 Share Posted April 21, 2016 Hi guys I am looking for a script that does something like the result from this page : http://jodies.de/ipcalc?host=10.54.145.96&mask1=28&mask2= My issue is that I don't know how to calculate it and I was hoping someone would already have a script like this. I found one script on the forum that looks to be similar but it doesn't work at all (most lines just throw errors) Anyone who can help? Thx colombeen Link to comment Share on other sites More sharing options...
funkey Posted April 21, 2016 Share Posted April 21, 2016 Could you please show us the link you found. Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning. Link to comment Share on other sites More sharing options...
colombeen Posted April 21, 2016 Author Share Posted April 21, 2016 (edited) 1 hour ago, funkey said: Could you please show us the link you found. https://www.autoitscript.com/forum/topic/7248-subnet-and-broadcast-address-calculator/ in my case i should be able to provide the same info like on the webpage I provided Address (Host or Network) Netmask (i.e. 24) Netmask for sub/supernet (optional) Edited April 21, 2016 by colombeen Link to comment Share on other sites More sharing options...
Gianni Posted April 21, 2016 Share Posted April 21, 2016 (edited) Something like what you are searching is performed by the _LanParameters() function included in my MultiPing.au3 posted here: If you call the function with blank parameters, it shows values related to the local network, or you can pass an IP, a mask in 4 octet format or as a CIDR number notation as well. For example: #include 'MultiPing.au3' ; <-- get here: https://www.autoitscript.com/forum/topic/156395-versatile-multi-ping/ _LanParameters('', '', 1) ; shows local lan parameters _LanParameters('192.168.0.1', 24, 1) ; shows parameters about given address Edited April 21, 2016 by Chimp colombeen 1 Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now