Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

static routes

1 view
Skip to first unread message

Marc Dubrowski

unread,
Jul 4, 2000, 3:00:00 AM7/4/00
to
Hi,

I'd like to know in which config file I can add my static routes:
I have a server with two nics, and I'd like each nic to provide different
routes.

I know the command line route, but in where do iI have to add the command for
having them configured at startup ?

Thanks in advance
--

Marc Dubrowski
Kind of a Network Administrator
K.B.I.N.I.R.Sc.N.B.
29 rue Vautier B-1040 Brussels, Belgium

--
Unsubscribe? mail -s unsubscribe debian-us...@lists.debian.org < /dev/null

Rogerio Brito

unread,
Jul 4, 2000, 3:00:00 AM7/4/00
to
On Jul 04 2000, Marc Dubrowski wrote:
> I know the command line route, but in where do iI have to add the
> command for having them configured at startup ?

The proper way to do that in Debian nowadays is to use the
configuration file /etc/network/interfaces (which is used on
the newer distributions) and enable /etc/init.d/networking.

If you are still using slink or an earlier distribution, then
you can just put your "route add" commands on
/etc/init.d/network.

> Thanks in advance

Hope this helps, Roger...

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogério Brito -- Treinamento e Consultoria Especializados em Unix
e-mail: linu...@ig.com.br -- Homepage: www.geocities.com/rtbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

0 new messages