Re: route entries will not stick

From: Jeremy Brooks (jeremyb_at_whirljack.net)
Date: 09/26/03

  • Next message: ingirafn_at_this.is: "nvidia and kernel"
    To: Michael Kahle <michael.kahle@scc-wi.com>
    Date: 26 Sep 2003 08:40:07 -0700
    
    
    

    On Wed, 2003-09-24 at 10:52, Michael Kahle wrote:
    > Where do I configure entries into my routing table so that when I reboot
    > they exist the next session?
    >
    > I am reading the Linux Networking HOWTO and this is 1) conspicuously absent
    > 2) I am missing it or 3) when adding routes using the "route" command the
    > table that is updated automatically saves your information. In which case,
    > why is this not sticking for me.

    In the /etc/network/interfaces file, after the IP address stuff:

    up route add <route>

    The routes will be added when the interface is brought up.

    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: ingirafn_at_this.is: "nvidia and kernel"

    Relevant Pages

    • Re: Had two of the same IPs, how do I clear the damage?
      ... Is it possible that its routing tables are messed up? ... > line, there is an option to make the route change perminant, ... I was hoping a reboot would work, ...
      (microsoft.public.windowsxp.network_web)
    • Re: Had two of the same IPs, how do I clear the damage?
      ... Is it possible that its routing tables are messed up? ... > line, there is an option to make the route change perminant, otherwise ... > after a reboot - the additions to the table are lost, ...
      (microsoft.public.windowsxp.network_web)
    • Summary: Getting a machine to route without reboot
      ... after doing all the other mentioned modifications, otherwise routing ... won't start working (without a reboot). ... > route add default 212.222.154.113 ... > exit 1 ...
      (SunManagers)
    • Persitent Route on 5.0.2 not being added
      ... that has the following entries; ... route add -net 192.168.9.0 192.168.0.3 ... add net default: gateway 192.168.0.1 ... work fine and netstat -r shows a correctly updated routing table with the ...
      (comp.unix.sco.misc)
    • Re: Persitent Route on 5.0.2 not being added
      ... Persitent Route on 5.0.2 not being added ... that has the following entries; ... add net default: gateway 192.168.0.1 ... work fine and netstat -r shows a correctly updated routing table with the ...
      (comp.unix.sco.misc)