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.
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.
/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@centos.org http://lists.centos.org/mailman/listinfo/centos
Kahlil Hodgson wrote:
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 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
This is indeed the starting point I was looking for.
Thanks.