Container net reachability check is made more robust to handle both the ...

...public internet case and the private intranet case.