From owner-freebsd-questions@freebsd.org Tue Oct 8 11:05:00 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 65CE91440A0 for ; Tue, 8 Oct 2019 11:05:00 +0000 (UTC) (envelope-from usr.src.linux@gmail.com) Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46nZHv2wrbz3Hdt for ; Tue, 8 Oct 2019 11:04:59 +0000 (UTC) (envelope-from usr.src.linux@gmail.com) Received: by mail-lj1-x22c.google.com with SMTP id m7so17056767lji.2 for ; Tue, 08 Oct 2019 04:04:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=PF4Jacg7yVQi+idJOVlYXpQl/8HjpVT1kK0JzJuApTs=; b=by/KyJz8ijHlhwUGa934rxbgInpfvtI5O62iwE48HbI5/yLc0t5bKVTBsg1+sSArjL bR/puSQoP7HHqXiAj9iDSxM88mZI6Kw05EY6P5M+nOZfxj0AYJzes1VfVV65kbB2xHmD FqitzkbpP8LXSHCF1AYxJ0am61ytCrFXKQJ3t5Hw5tvMg+VniJIxMsocu20eY2bZxlE6 QoNCGgM5Wqp9XxYtuD5mk86jX2+3WnzGk/CrKo3zAOqVEdick8MtfWJ3ox+FZWVEo05O LQBenJQ+a/kFq52ahzHVR3Z2QIShjD/6tkKidgXMLEJUxdEgQemluK8eyEYyUSWctJka 2E2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=PF4Jacg7yVQi+idJOVlYXpQl/8HjpVT1kK0JzJuApTs=; b=HUf2iKqFTjYYHpGuP0C45dXUj9DJUf9jOuveVKm+V7MGBLerUYn4wKZ/jtdIzWOJXz 5cNnIUjGTPJuUHwjtlaYhUgrolODRzbAtBT6O/cEf8FHJGuE6msmoimg8t/YRI65bpus hrGUyCDq11LBUxwrp/DjJ0jh3bIf9yqcMfOe+GKvtXSxhR5jE7oYDqUq4K5cJpI7hOvC H+78GxDYNxXyAg379YI2MfchJafoZMZlBbofhZ7n3beQi2R4TU8eyXnIyK1AElTsAZVy VuEtbUTZseT+0X+CdK7sEZvgIHFF1IkdOqAz5GuaMOZ5EGPRB1GVvOTrE93kb37ipeTX VmtA== X-Gm-Message-State: APjAAAV7maZ8WTjqU9bAhEMTBDfBKaGr/Xrd6lWrqBO0nFtkspXATKMT DEOkEiZqJZzJXKRINW4+T/bLNfUrNXUkOdWdMb339Q== X-Google-Smtp-Source: APXvYqxczLLYEtGMoewFcwIhfMQ5nGAf1CNUeV5ZSurjY9234ChZ9NaTnd/3AG9dG7csTfpJlpSVIdynKsmcMpGiG3g= X-Received: by 2002:a2e:412:: with SMTP id 18mr22240895lje.96.1570532697976; Tue, 08 Oct 2019 04:04:57 -0700 (PDT) MIME-Version: 1.0 References: <94B563F6-55C4-46BC-BD79-5CC2AD86E6C1@mail.sermon-archive.info> <43f0decc-d459-4ded-dc46-c249bc8e24c9@pp.dyndns.biz> <094A1786-98A8-4CEF-A036-5809D9705EC8@mail.sermon-archive.info> <8c532e7a-241d-ce49-27d4-46a587538c85@pp.dyndns.biz> In-Reply-To: <8c532e7a-241d-ce49-27d4-46a587538c85@pp.dyndns.biz> From: Harry Duncan Date: Tue, 8 Oct 2019 12:17:47 +0100 Message-ID: Subject: Re: Intermittent connectivity loss with em(4) To: =?UTF-8?Q?Morgan_Wesstr=C3=B6m?= Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 46nZHv2wrbz3Hdt X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=by/KyJz8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of usrsrclinux@gmail.com designates 2a00:1450:4864:20::22c as permitted sender) smtp.mailfrom=usrsrclinux@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[c.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (-9.49), ipnet: 2a00:1450::/32(-2.88), asn: 15169(-2.14), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2019 11:05:00 -0000 On Tue, Oct 8, 2019 at 9:52 AM Morgan Wesstr=C3=B6m wrote: > Thank you, Harry. No, Linux isn't an alternative. I run it on my clients > but I feel much more comfortable with FreeBSD protecting my network. The > Linux iptables/networking learning curve would be to much for me. :) With you all the way there. > Only what is currently the cable modem interface is experiencing this > behaviour. I connect one of the others to my LAN and ssh to the machine > that way and I never lose connection through ssh. Interesting.... ssh ... so if ssh is failing through the cablemodem, that points to something very very different. SSH is very fault tolerant, as long as you don't try data entry, you can take down networks and put them back up and have it resume as before. If ssh session failure is what sparked this, then it is more likely that you are falling victim to your ISP doing something like 4 to 6 NAT or 6 to 4 or even 4 to 4 NAT with RFC1913 on one side, and the far side of the NAT not maintaining a constant IP through some load balancing setup. I've had some really weird experiences recently with the whole ip4/ip6, like travelling to SE Asia and not able to connect into my static ipv4 office network until I got a native to call the ISP and then made some change, and I got onto the "whole" internet then. I didn't look into it when I got what I wanted, but put it down to 6 to 4 nat/ Harry.