26 March 2012

bsd route

static route:
route add -net 10.0.0.0/24  192.168.1.20

permanent static route:
file: /etc/rc.conf
static_routes="lan1 lan2"
route_lan1="-net 10.0.0.0/24 192.168.1.20"
route_lan2="-net 10.0.1.0/24 192.168.1.20"  

No comments:

Post a Comment

Terima kasih