[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Permanently establishing an entry in the routing table?



Title: Permanently establishing an entry in the routing table
Folks,

I'm connecting a small network for the first time.  My setup is simple:

                      ----------------          --------
                     |                |        |        |
    Internet ------- |      chad      | -------|  luke  |
                     | (masquerading  |        |        |
                     |  gateway)      |         --------
                      ----------------

luke uses chad as a gateway to access the Internet.

I've gotten this configuration to run.  There's only one problem (so far)...
Luke is a machine which is only up occasionally (it's in my bedroom and the
fans are noisy).  Currently, whenever I boot up luke, as superuser I type

        "route add default gw chad"

which allows luke to access the world on the other side of chad. 
But this command is only good until I shut luke down.

What is the "standard" way to permanently add a route to luke's routing table,
so I don't have to manually do it after booting?  It must be obvious,
but I can't seem to find this documented anywhere.

Thanks!

-- Bill
-- 
brennan@netaxs.com
Bill Brennan
Wayne, PA

Reply to: