<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p id="reply-intro">On 2019-11-26 08:44, bdushok@luzerne.edu wrote:</p>
<p>* "A device outside the subnet:" are you pinging by hostname or IP?</p>
<p>* What, exactly, is the syntax of your ping?</p>
<p>* Do you have IPv6 running?  (Most default to at least having the interfaces up.)  I'm not sure this is relevant, but when I put "connect: invalid argument" into Google, most of the top hits involved IPv6, which makes me wonder.</p>
<p>I'd also be interested in seeing if you might have more than one default gateway: "netstat -rn | grep "^0\.0\.0\.0" would show that.</p>
<p>-Ken</p>
<p><br /></p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="socmaildefaultfont" dir="ltr" style="font-family: Arial, Helvetica, sans-serif; font-size: 10.5pt;">
<div dir="ltr">Recently I've been encountering random problems where Ubuntu Server 18.04 can't connect to devices outside of it's subnet.    The default gateway shown within netstat -rn is accurate during the problem times but all connections outside of the subnet fail.   I haven't yet performed a packet capture to see what it shows.</div>
<div dir="ltr"> </div>
<div dir="ltr">A ping to a device outside the subnet results in "connect: invalid argument".</div>
<div dir="ltr"> </div>
<div dir="ltr">Executing netplan apply fixes the problem, but several hours later the problem returns.</div>
<div dir="ltr"> </div>
<div dir="ltr">The servers with this problem have all had patches applied on November 16th and the problem appeared to occur after these patches.   The servers have been online for many months prior without this problem.</div>
<div dir="ltr"> </div>
<div dir="ltr">Has anyone encountered this problem?    Any suggestions on how I can fix this problem?</div>
<div dir="ltr"> </div>
<div dir="ltr">Thanks,</div>
<div dir="ltr">Bob</div>
<div dir="ltr"> </div>
<div dir="ltr"> </div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
</blockquote>
<p><br /></p>

</body></html>