Greetings from a newbie.
I have a need to be able to separate the 3rd octet in an IP address so I can increment it by one and then change the last octet. This is for automatically setting a default gateway for a /23 subnet mask.
For example...
10.2.16.2 would become 10.2.17.254
192.168.10.2 would become 192.168.11.254
Octets may be made up of 1-3 digits.
Any help is appreciated.
ReeceB...
Bookmarks