mock network and subnet