[CentOS] LARTC and CentOS question

Wed Sep 8 14:56:38 UTC 2010
Dominik Zyla <gavroche at gavroche.pl>

On Wed, Sep 08, 2010 at 11:26:21AM +0200, Coert Waagmeester wrote:
> Hello all,
> 
> Got myself the Linux Advanced Routing & Traffic control book
> http://lartc.org/howto/
> 
> All the commands in the guide do not survive reboots.
> 
> Could someone point me in the right direction, where I can find 
> CentOS/Redhat specific documentation on the whole 
> /etc/sysconfig/network* setup?

For static routes use /etc/sysconfig/network-scripts/route-ethN. The
format is:

for `ip r a 1.2.3.4 dev ethN.N' the route-ethN would be:
`1.2.3.4 dev ethN.N'.

For routing rules, use /etc/sysconfig/network-scripts/rule-ethN in
simmilar way as above.

-- 
Dominik Zyla

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20100908/f6219484/attachment-0005.sig>