Re: route reload after interface restart

From: chengq
Date: Thu Jun 30 2005 - 09:13:03 EST


On 6/30/05, Denis Vlasenko <vda@xxxxxxxxxxxxx> wrote:
> On Thursday 30 June 2005 14:13, chengq wrote:
> > hi
> >
> > Routes relate to ethX were deleted from kernel after i shutdown ethX
> > (ifconfig ethX down),but after i start ethX (ifconfig ethX
> > XXX.XXX.XXX.XXX up ), deleted routes were not re-add to kernel .
> >
> > Is there any patch or daemon can do this for me, after i restart
> > ethX,deleted rotues were re-added to kernel automatically.
>
> This is offtopic for lkml.
>
> Make a script which configure iface and add routes.
> --
> vda
>
>

script is not a good choice when you have several uncertain virtual
interfaces and some other administrators need to add route
,enable/disable interfaces freely~~

after that ,i have no shell in my embedded system ~~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/