Re: route reload after interface restart

From: chengq (benbenshi_at_gmail.com)
Date: 06/30/05

  • Next message: Christian Trefzer: "Re: 2.6.12 initrd module loading seems parallel on bootup"
    Date:	Thu, 30 Jun 2005 22:11:44 +0800
    To: Denis Vlasenko <vda@ilport.com.ua>
    
    

    On 6/30/05, Denis Vlasenko <vda@ilport.com.ua> 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Christian Trefzer: "Re: 2.6.12 initrd module loading seems parallel on bootup"

    Relevant Pages

    • Re: [Sol10] Where to add permanent static routes
      ... But with SMF i'm ... >>all possible i'd rather not resort to a legacy script. ... but after the whole inet init stuff. ... > that you need to be started after the routes are going. ...
      (comp.unix.solaris)
    • Re: Determine WAN IP Of Router Programmatically
      ... >> outside server, please post a link. ... >since they have cut me off from being able to access my home network from ... It's a one or two line script. ... If you are on a network with multiple routes this won't tell you about ...
      (comp.security.firewalls)
    • How does Solaris assigns a default route to a DHCP client?
      ... Anyone knows which rc script is responsible for assigning a default ... route to a DHCP client under Solaris 8 and beyond, ... of the supply of default routes to the forwarding table. ...
      (comp.unix.solaris)
    • Re: [PATCH] [IPV4] Fix secondary IP addresses after promotion
      ... fixing it correctly looks very hard. ... Just changing the routes ... > unknown reason it crashes sometimes if I remove addresses without ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: XP local security settings to allow routing changes.
      ... The IP's of the tunnels change from day to day or even during a ... sometimes we need to modify particular routes to go through. ... I have a simple script we run to accomplish the task. ...
      (microsoft.public.windowsxp.security_admin)