New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net-online: ping default gateway does not work #179
Comments
The ping default gateway idea has been removed in favor of you designating the host to ping and setting a switch that says whether a ping test should be included. |
I tried the new test logic with
It does not work for me. If the host is not available the script fails. |
My proposal, working for me
|
@bell07 it looks ok, but I can't apply it to the tree in this form. Please open a pull request. Thanks, William |
get_default_gateway does not work in case of dhcp client because the gateway is not provided directly after the interface is up. So we need to wait till the default entry appears or a new conf.d setting for host to ping.
The second issue the ping to the gateway appears just one time. The service should try to ping multiple times till the timeout is reached.
The text was updated successfully, but these errors were encountered: