https://ihaveapc.com/2014/07/use-gip-for-ip-address-calculations-in-ubuntulinux-mint/