Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2007 12:32:07 -0800
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Martin Turgeon <turgeon.martin@gmail.com>
Cc:        freebsd-net@freebsd.org, freebsd-bugs@freebsd.org
Subject:   Re: Strange /etc/rc.d/netif behaviour
Message-ID:  <20070221203207.GF73385@funkthat.com>
In-Reply-To: <45DC7991.8070103@gmail.com>
References:  <45DC7991.8070103@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Martin Turgeon wrote this message on Wed, Feb 21, 2007 at 11:55 -0500:
> I'm not sure if this is really a bug but it doesn't look all fine to me. 
> When I do a /etc/rc.d/netif restart it does restart the network 
> interfaces but doesn't replace the default route that it just erased 
> even if it is specified in rc.conf correctly. I found that I should also 
> restart routed but it looks strange to me. I know that the /etc/netstart 
> script did it all but it's written in it that it's obsolete so I don't 
> want to use it.
> 
> So, is this normal and if so what is the best way to restart both a the 
> same time.

Why don't you restart /etc/rc.d/routing too?  That will repopulate the
default route(s) for you..

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070221203207.GF73385>