參考網址:http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1249455204872+28353475&threadId=1308739
修改 /etc/rc.config.d/netconf
在檔案最後增加設定,格式如下:
ROUTE_DESTINATION[1]="net 192.168.4.0"
ROUTE_MASK[1]=255.255.255.0
ROUTE_GATEWAY[1]=192.168.24.1
ROUTE_COUNT[1]=1
ROUTE_DESTINATION[2]="net 192.168.12.0"
ROUTE_MASK[2]=255.255.255.0
ROUTE_GATEWAY[2]=192.168.24.1
ROUTE_COUNT[2]=1
增加完畢後
/sbin/init.d/net stop
/sbin/init.d/net start
/sbin/init.d/net start
Posted by 椰子殼
