VintageNet.Interface.InternetTester.ping
You're seeing just the function
ping
, go back to VintageNet.Interface.InternetTester module for more information.
Specs
ping(VintageNet.ifname(), {VintageNet.any_ip_address(), non_neg_integer()}) :: :ok | {:error, ping_error_reason()}
Check connectivity with another device
The "ping" is really a TCP connection attempt from the specified interface to an IP address and port. Failures to connect don't necessarily mean that the Internet is down, but it's likely especially if the server that's specified in the configuration is highly available.
Source IP-based routing is required for the TCP connect to go out the right network interface. This is configured by default when using VintageNet.