Jeffrey’s Blog

在Redhat AS 4 中增加一条永久性路由

简单莫过于将“route add -net 10.0.0.0/8 gw 10.1.1.1 ”放入以下文件中: /etc/rc.local

 

 

另外,也可以 vi /etc/sysconfig/network-scripts/route-eth0 加入下面内容:

ADDRESS0=10.0.0.0 NETMASK0=255.0.0.0 GATEWAY0=10.1.1.1

# Last modified at: October 12th, 2006 03:13pm
给本文打分: 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

转载本站文章请注明, 转载自:  Jeffrey’s Blog [http://blog.zhangjianfeng.com]
本文链接:  http://blog.zhangjianfeng.com/article/291
@ 阅读全文 | 2006/04/20 09:27am | Category: 电脑网络, 系统管理 | 1,387 views   Print This Post  
收藏到网摘: Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪ViVi 365Key网摘 天极网摘 和讯网摘 博拉网 POCO网摘 添加到饭否 QQ书签 Digbuzz我挖网

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

京ICP备06038449号