From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] one dude about rt_tables
Date: Wed, 27 Nov 2002 15:02:03 +0000 [thread overview]
Message-ID: <marc-lartc-103840942910743@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103840884709970@msgid-missing>
Luis,
: Can I add routes to rt_tables by hand with the vi editor?
/etc/iproute2/rt_tables contains a mapping of human names to routing table
numbers. I call them table identifiers to table ids. This file does not
contain routes.
: If I add a route to that file, it will be there if I reboot the box?
If you wish to add static routes to the system at boot, you should be able
to use the system network initialization scripts and config files (e.g.,
redhat has a file /etc/sysconfig/static-routes).
Otherwise, you should write your own startup script or modify
/etc/rc.d/rc.local to include the routes you wish to add.
If you are using network address translation, you may find my NAT SysV
init scripts convenient:
http://plorf.net/linux-ip/html/scripts/nat
http://plorf.net/linux-ip/html/scripts/static-nat
Does that answer your question?
-Martin
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-11-27 15:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-27 14:52 [LARTC] one dude about rt_tables Luis Miguel Cruz Miranda
2002-11-27 15:02 ` Martin A. Brown [this message]
2002-11-27 15:07 ` Luis Miguel Cruz Miranda
2002-11-27 16:05 ` Martin A. Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-103840942910743@msgid-missing \
--to=mabrown-lartc@securepipe.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.