[CentOS] LARTC and CentOS question

Robert Stuart r.stuart at qut.edu.au
Wed Sep 8 19:54:28 EDT 2010


/usr/share/doc/initscripts-8.45.30/sysconfig.txt covers the syntax of 
sysconfig files.

also browsing through /etc/sysconfig/network-scripts/ifup* scripts will 
give some good info (eg ifup-routes).

Dominik Zyla wrote:
> 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.
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


-- 
Robert Stuart
IT Systems Administrator
Institute of Health and Biomedical Innovation, QUT. CRICOS No. 00213J
Phone: +61 7 3138 6017 Mob: 0410 088 042  QUT speed dial: #6 7099

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20100909/2c685a48/attachment.html 


More information about the CentOS mailing list