Date: Tue, 11 Feb 2020 02:15:06 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 170244] ping(8): useless/uninformative error message Message-ID: <bug-170244-7501-tr9b02NXDi@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-170244-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-170244-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D170244 --- Comment #13 from Eugene Grosbein <eugen@freebsd.org> --- You have exactly same errors for both cases. The reason is wrong static rou= te for 192.168.0.1/32 you created without a reason. You should remove it and l= eave default route only. As for original request about "uninformative" error message, I'm afraid it cannot be improved at ping programm side. The error "Invalid argument" (code 22) is returned by the kernel to the ping and it describes some invalid sys= tem configuration. One example is yours, but there are numerous ways to misconfigure the syste= m. Another example would be static ARP table for an interface (ifconfig vlan40 staticarp) without static ARP entry for the gateway IP address. And so on. There is no way for kernel or ping to perform in-depth debugging for the administrator and give detailed report. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-170244-7501-tr9b02NXDi>