Achieving network resiliency using sound theoretical and practical methods