Add support for machines with same name in multiple networks