將以下複製貼到文字檔上,然後改成.bat檔

---------------------------------------------------------------------

@echo off
route add 66.2.0.0 mask 255.255.0.0 66.1.0.254
route add 66.3.0.0 mask 255.255.0.0 66.1.0.254
route add 66.5.0.0 mask 255.255.0.0 66.4.0.254
route add 66.7.0.0 mask 255.255.0.0 66.6.0.254
route add 66.9.0.0 mask 255.255.0.0 66.8.0.254
route add 66.11.0.0 mask 255.255.0.0 66.11.0.254
route add 66.13.0.0 mask 255.255.0.0 66.13.0.254

---------------------------------------------------------------------

 

解說:
route add 66.2.0.0 mask 255.255.0.0 66.1.0.254
只要是跑66.2的網段的封包,則都丟給66.1.0.254來做routing

 

若以上有錯誤的話,也請各位告知! 謝謝~

 

dreamtails 發表在 痞客邦 PIXNET 留言(0) 人氣()