i am adding routr options with route add -net xxx dev eth0 but when i reset computer it is not in netstat table anymore -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100329/dc3c9340/attachment-0002.html>
cahit Eyig?nl? wrote:> i am adding routr options with > route add -net xxx dev eth0 > but when i reset computer it is not in netstat table anymoreyes, the route command is not persistent. someone explained many posts ago what files to edit to add permanent settings.
>i am adding routr options with? >route add -net xxx dev eth0 >but when i reset computer it is not in netstat table anymore?Search the docs for /etc/sysconfig/network-scripts/route-ethx scripts.
> i am adding routr options with > route add -net xxx dev eth0 > but when i reset computer it is not in netstat table anymoreIn about five (5) seconds I found this on Google: Adding Persistent Routes http://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=1927&forum=30 I suppose you would be able to find it too...
2010/3/28 cahit Eyig?nl? <cahit.eyigunlu at gmail.com>:> i am adding routr options with > route add -net xxx dev eth0 > but when i reset computer it is not in netstat table anymore > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > >As someone mentioned, check route-<ethx>. It's handy to look through the ifup/ifdown scripts to see what goes on when you start your network. -Matt Iavarone