Home | Mirror | Search | ITEYE 博客 | OSChina 博客 | 51CTO 博客

9.7. Route

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"
		
comments powered by Disqus