Jeffrey’s Blog

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

Filed under: 电脑网络, 系统管理 — Jeffrey @ Thursday, April 20th, 2006 9:27 am 1,216 views   Print This Post  

简单莫过于将“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

给本文打分: 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

京ICP备06038449号