I need to change the IP addresses of some servers to a different network, but I want to retain the last octet. They are in the 192.168.1.0 network and need to be changed to the 10.0.0.0 network.
How can I either replace the first three octets or extract the last octet in order to the change the IPs? (Each octet may be different character lengths.)
192.168.1.120 >> 10.0.0.120
192.168.1.143 >> 10.0.0.143
192.168.1.92 >> 10.0.0.92
192.168.1.4 >> 10.0.0.4
192.168.1.5 >> 10.0.0.5
Thanks
How can I either replace the first three octets or extract the last octet in order to the change the IPs? (Each octet may be different character lengths.)
192.168.1.120 >> 10.0.0.120
192.168.1.143 >> 10.0.0.143
192.168.1.92 >> 10.0.0.92
192.168.1.4 >> 10.0.0.4
192.168.1.5 >> 10.0.0.5
Thanks