I just want to automatically increase and get IP address which started from any IP range.
For example,
10.1.1.255 (passed value that IP to function)
10.1.2.1 (third octet changed, fourth octet set to '1')
or
10.1.2.11 (passed value that IP to function)
10.1.2.12 (third octet stable, fourth octet increased)
Is is possible to do this like above controlled way?