Windows下的routing設定方法
---------------------------------------------------------------------
@echo off
route add -p xxx.xxx.xxx.xxx mask 255.255.255.0 ooo.ooo.ooo.ooo
---------------------------------------------------------------------
解說:
route add xxx.xxx.xxx.xxx mask 255.255.255.0 ooo.ooo.ooo.ooo
只要是跑xxx.xxx.xxx.xxx的網段的封包,則都丟給ooo.ooo.ooo.ooo來做routing
沒有留言:
張貼留言