[CentOS] LARTC and CentOS question

Dominik Zyla gavroche at gavroche.pl
Wed Sep 8 10:56:38 EDT 2010

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 dev ethN.N' the route-ethN would be:
` 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.bin 

More information about the CentOS mailing list