Influence of the network structure on robustness