The reliability of networks with special structures