Permanently establishing an entry in the routing table?
- To: debian-user@lists.debian.org
- Subject: Permanently establishing an entry in the routing table?
- From: William C Brennan <brennan@netaxs.com>
- Date: Thu, 10 Oct 2002 00:06:21 -0400
- Message-id: <a05111b00b9caa86220ab@[209.92.231.204]>
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: