Home | Mirror | Search | ITEYE 博客 | OSChina 博客 | 51CTO 博客 |
route table
netstat -nr
Default Routes
freebsd# route add default 172.16.0.254 add net default: gateway 172.16.0.254
添加静态路由
route add 172.16.3.0/24 172.16.1.240
编辑/etc/rc.conf使上面命令开机时执行
static_routes="static1" route_static1="-net 172.16.3.0/24 172.16.1.240"