CURRENT: "service netif restart" looses default route

Allan Jude allanjude at freebsd.org
Wed Oct 5 17:54:03 UTC 2016


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


More information about the freebsd-current mailing list