Synthesis of Reliable Networks