Re: [RFC] ifconfig description support in rc.d

From: jhell <jhell_at_DataIX.net>
Date: Mon, 11 Oct 2010 01:30:17 -0400
On 10/10/2010 13:23, Garrett Cooper wrote:
> <offtopic>
>     I'm not sure it would get resolved after this commit, but one
> minor annoyance is that restarting the netif rc.d script purges all
> gateways set, so I have to do and restart the routing rc.d script (if
> my connectivity doesn't get whacked). I think there was something else
> with natd and ipfw that I've run into in the past where I've restarted
> those scripts and things weren't all puppydogs and rainbows on my
> CURRENT systems.
> </offtopic>
> Thanks,
> -Garrett

Is that the dynamic routes only or also the static routes ?

Either or if it would be any of the above it would be nice if these were
kept if it was only a restart of the interface, but offhand nothing
comes to mind that could prevent this from happening since the routes
are acting according to when the interface becomes inactive then the
route becomes meaningless.

Maybe if the action of 'restart' to etc/rc.d/netif could also call
etc/rc.d/routing with 'restart' if the configuration of the interface
happens to match one of the recorded routes in rc.conf(5).

Just a thought.


Regards,

-- 

 jhell,v
Received on Mon Oct 11 2010 - 03:30:26 UTC

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