From owner-freebsd-current@freebsd.org Thu Oct 6 21:57:54 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A9F4BEC837 for ; Thu, 6 Oct 2016 21:57:54 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40723B4F for ; Thu, 6 Oct 2016 21:57:54 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-io0-x233.google.com with SMTP id i202so29493993ioi.2 for ; Thu, 06 Oct 2016 14:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qBruzH30axVsaTkZrlNhI3G6hU/ICfqr+qJp0/+RtlI=; b=TpnEx+Bdbd7n00uTq4unGJYiYRb/4+ne2OiytGnqZHsfi7+d9pNuVIV/1Fgi1L6BpZ TC5s7sdn+TYloioFd4FZAjxKjkhO/5SLOa68La3GKOY4/GSDwdzVb+8F48OW++WKAjmV v/nUmsXyroeTGkPXImA5SY/HJIo/PG4DJSAm3VnEH5Q2jhCiNEbknJjQJPCo+0SsMQJO Yfrs3lcoRUAeGTf2NOhH1iuz3jn3QeiCb7969EB1lnafCWo592UAiEDW4zKg7q9vzOtx 9Lzyruu4aN3NrYw7HhLjFaDjH41OoEZUTCq6ZzXujn9zpkP/E0oP3Cm6IXwe791oAkMk Selg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qBruzH30axVsaTkZrlNhI3G6hU/ICfqr+qJp0/+RtlI=; b=hLPD8qz2C3YGdKCqNvZdsLyeAe6QITrKtvFM5NLvaShKjGvSSkWMaIelr47HNY8X4w NTyuzfoJbcb/cirXxI9qD5mcpXNAzjPg1QoKkHHAW1JQizItkLW3sxYL3NgthG/OxnEX LHfoGXK63VpucDkwvkDNlTwIPtO8B91i8GYbi3GM8NcbwAhuWTXw6G2mJZhhQl1bNbjp VRBpIAri+m2/gOJCF+WBYzI3zqmVo6zu91703sbAQKVBLxvMhWCxfEApmQs7SQd6rLf2 bag6hWxpG4glDJEx2+bEegt5kaIiQr96i9G7UojL+i41A7TRPEx7/TJS02EtH0kmTAh4 URxw== X-Gm-Message-State: AA6/9Rn/dGDnGNM1fTskGRPUk7P4ZulkOjO5UQiFIgy13Oa1og7MzgPf7EtYQD8UdCpBwg== X-Received: by 10.107.134.142 with SMTP id q14mr16930399ioi.220.1475791073715; Thu, 06 Oct 2016 14:57:53 -0700 (PDT) Received: from [22.66.200.5] ([172.56.12.135]) by smtp.gmail.com with ESMTPSA id m206sm14481209ita.13.2016.10.06.14.57.52 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Oct 2016 14:57:53 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: CURRENT: "service netif restart" looses default route From: Ngie Cooper X-Mailer: iPhone Mail (13G36) In-Reply-To: Date: Thu, 6 Oct 2016 14:57:51 -0700 Cc: Oliver Peter , FreeBSD CURRENT Content-Transfer-Encoding: quoted-printable Message-Id: <786D056E-A8BE-42A7-A609-5152EB1D739F@gmail.com> References: <20161005184748.01aca03e.ohartman@zedat.fu-berlin.de> <20161006072753.GA11735@mail.opdns.de> To: Pete Wright X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2016 21:57:54 -0000 > On Oct 6, 2016, at 09:40, Pete Wright wrote: >=20 >> On 10/6/16 12:27 AM, Oliver Peter wrote: >>> On Wed, Oct 05, 2016 at 06:47:48PM +0200, O. Hartmann wrote: >>>=20 >>> Today, I checked on two servers of ours running both a recent CURRENT (i= .e. FreeBSD >>> 12.0-CURRENT #43 r306701: Wed Oct 5 06:40:40 CEST 2016) via "service ne= tif restart" the >>> upcoming network and realised that the default route is lost then! >>>=20 >>> I'm able to config the route via "service routing restart" - or manually= as I did >>> otherwise. But I recall that I did a simple "service netif restart" in 1= 1-CURRENT >>> recently and that worked. >>>=20 >>> Has there been a change? What is now the official way to restart network= ? >>=20 >> Since the past couple of years on every new FreeBSD I put this in motd fo= r my >> linux colleagues and coworkers: >>=20 >> Network: >> To apply changes you have made to the network: >> # /etc/rc.d/netif restart && /etc/rc.d/routing restart >>=20 >> Perhaps we could introduce a wrapper to be used with: >> # service network restart >=20 > >=20 > I think this is a great idea - especially as it would make it easier for d= ev's and other novice admin's to use freebsd as a development platform. Special casing would need to be done with DHCP, btw.. Also, what about IPv6 (rtsol/rtsold, etc)? Thanks! -Ngie=