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? Kind regards, Coert Waagmeester
On Wed, 2010-09-08 at 11:26 +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?iptables rules will survive reboots if you do "service iptables save" after entering them and making sure that the iptables service starts. -- Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>
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-0001.sig>
On 08/09/10 19:26, Coert Waagmeester wrote:> Could someone point me in the right direction, where I can find > CentOS/Redhat specific documentation on the whole > /etc/sysconfig/network* setup?Might want to have a look at /usr/share/doc/initscripts-8.45.30/sysconfig.txt Kal