creating common network logic and postfix key for ips