From owner-freebsd-questions@freebsd.org Fri Aug 30 08:36:51 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 D6377C7CB0 for ; Fri, 30 Aug 2019 08:36:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46KXry5Qpvz3MmB for ; Fri, 30 Aug 2019 08:36:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.8.32.206]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1MaIGB-1hiuks1bG9-00WE8R; Fri, 30 Aug 2019 10:36:47 +0200 Date: Fri, 30 Aug 2019 10:36:46 +0200 From: Polytropon To: 76nemo76 <76nemo76@gmx.ch> Cc: freebsd-questions@freebsd.org Subject: Re: Lost net connection Message-Id: <20190830103646.77c8d199.freebsd@edvax.de> In-Reply-To: <20190830090009.552198444e8f4d432be42c4a@gmx.ch> References: <20190830090009.552198444e8f4d432be42c4a@gmx.ch> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:BRjUYO+AQ4mYBzKtg/DXc+hkJkF7TmbSQjaCl3iiXwuOaG0eNNn Hg2YPIlEjVqAD1cqVv12LzGOk9eGgNWTOjH7zakSZEaWLONR3hH4Ioksj4ZJr+TP10+vwQH m3vH+G/zEPMeTp2uUJMkwNa67ljRSg0PziVxGAXKgda7pF+dY10Bidf/rA92aS89i8Wm/UH jM39rulSe37QBJn4qonig== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:LIAsjBygNhs=:LXEcvWT0i8JKreIhf+oQLX Ak+SSxLRCoDFA0TYSyGeZBV9jmiF1sgro6fF1CisNp37UtHCHkRM1QtJKL8yoGAd2ZWopYlef F97GVildhj4grxCkRuoIqp0/hd5pDVbv54F0MpJ4cREnkrkB13cQ7FieMFKlC7FpyI+P9gssC MMyybEqInRmyBSFOZQz/leeADBnyXKNHqlXxCvOgh3l2yExDxcS2ygyOfvyPsNVJR/hSRg+vq hLsrjxtYL4yfXBwPYRD1y4hQ1QiRgzbBo2YCbl4mqz2t2tau8PPhR29te9aaVVLh01sp3ERCA RhGXNz8unQU1FNdjwh+HXOhFEUBni7mCsdNxRegGuCTdztmpxQ21BYIo+AA7u7DvwYKy1NjSo v1whNQOxZDQwpZefC2RlzyXta8VYeZIzRuvdNJaZNEpXXMc4EdnXRRJU9xMaHWlqBDBvKV+SS Ofsln9wXNhEVEEpj4AxWn8o68HJWWjP45VkL1QeUnmtH/RQGxrSn+YsE8F3fLUwJQGqr9rhX8 +jwskZiJWwn3lFlc7cQBEMvusfKPfYinjjRNrwJqc+SUDa02fPnlEnDav+Hyx8cc+Ry41GO0s bZGvhJQ2D1UJoSFr3VmlkleRHUcygCMXo+34Dm+50Mdhad8LHkeQSzrD/H9PCh1KdslnI9BVO /mgMdciAD5vXn/hWSqQ1IpSeI+PEgVIfA9AiaR6xGw3xJMk69vIf3V3IQyG4CqgGHmfEWSFuZ ke+YVl+DccdlS39teNsTWuUTsKeQmxcX0gndoNYqX2nZFkL2UcnbFMSUB8DEBUpSUfTokOiXu Tc/cyVc+9XzcQM0Ao761cVj73sg8g== X-Rspamd-Queue-Id: 46KXry5Qpvz3MmB X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.13) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [2.62 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmx.ch]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[206.32.8.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.09)[-0.086,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.13)[0.126,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.16)[0.160,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[13.17.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.02)[ip: (-0.70), ipnet: 212.227.0.0/16(-1.38), asn: 8560(2.19), country: DE(-0.01)] 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: Fri, 30 Aug 2019 08:36:51 -0000 On Fri, 30 Aug 2019 09:00:09 +0200, 76nemo76 wrote: > Hi All, > I have a freebsd 12 machine connected to a network switch. > The network switch is sometime switched off and on again > (but not the FreeBSD machine) and > then the network is lost on the freebsd machine. > > I have tried a lot of commands (ifconfig for instance) to restart the network > without any success. Only a reboot makes the network working again. > > I should mention that the machine has 4 ethernet ports > used in a bridge (all the ethernet ports are in the bridge) > > Do you have any idea? It sounds like faulty networking equipment, maybe the FreeBSD machine's internal NIC? If the switch is off, does "ifconfig" output still say "status: active", or "status: no carrier"? However, you should be able to restart the network without a reboot, using the following command (as root): # service netif restart What manufacturer is the NIC? Maybe Realtek? I once had a similar problem with a Realtek NIC: After re-connecting, it did still insist on "no carrier", but after "service netif restart", it worked again... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...