Re: CURRENT: "service netif restart" looses default route

From: Allan Jude <allanjude_at_freebsd.org>
Date: Wed, 5 Oct 2016 13:54:00 -0400
On 2016-10-05 12:47, O. Hartmann wrote:
> 
> 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 netif restart" the
> upcoming network and realised that the default route is lost then!
> 
> 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 11-CURRENT
> recently and that worked.
> 
> Has there been a change? What is now the official way to restart network?
> 
> Kind regards,
> Oliver
> 

As far as I am aware, this has always been this way, at least with
FreeBSD 6.0 and later. When you delete the interfaces, the route goes
away, then you recreate the interfaces but not the routes.

-- 
Allan Jude
Received on Wed Oct 05 2016 - 15:54:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:08 UTC