added code to allow fixed ip to be specified using --metisip
refined fixed ip address code