freebsd 7 添加永久静态路由的方法
freebsd 7 添加永久静态路由,本是一件灰常灰常简单的事情,结果倒霉搞了老半天,怎么都格式不对,我倒!终于搞定了,记住了:
在/etc/rc.conf中添加:
static_routes="net1 net2 net3"
route_net1="-net 192.168.102.0/24 172.23.9.9"
route_net2="-net 172.24.10.0/24 172.23.9.9"
route_net3="-net 219.216.129.0/24 172.23.9.9"
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/78845/showart_2026444.html
页:
[1]