os/Window

window route 설정

C/H 2011. 11. 25. 15:56
# LAN Card 2개 이상일 경우 필요에 따른 라우터 설정


#routeSetting.bat
@ECHO OFF
CLS
@echo ##################################
@echo # ALL ROUTE DELTE....
@echo # @author uncaose
@echo ##################################
route delete 218.145.31.0
route delete 114.108.151.0
route delete 222.231.0.0
route delete 14.63.213.0
route delete 64.4.9.0
route delete 203.226.253.0
route delete 120.50.139.0
route delete 120.50.140.0
route delete 125.141.140.0
route delete 112.175.244.0
route delete 202.131.25.0
route delete 180.70.134.0
route datele 110.45.229.0
route delete 180.70.93.0

@echo ROUTE DELTED OK....

@echo other uncaose Route setting ...
route -p add 218.145.31.0   MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2
route -p add 114.108.151.0  MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2
route -p add 222.231.0.0    MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2
route -p add 14.63.213.0    MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2
route -p add 64.4.9.0       MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2
route -p add 203.226.253.0  MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2
route -p add 120.50.139.0   MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2
route -p add 120.50.140.0   MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2

@echo myasset.com Route setting ...
route -p add 125.141.140.0  MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2	
route -p add 112.175.244.0  MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2

@echo gmail.com Route setting ...
route -p add 58.141.61.0  MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2

@echo ndrive.naver.com Route setting ...
route -p add 202.131.25.0  MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2

@echo cloud.daum.net Route setting ...
route -p add 180.70.134.0 MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2
route -p add 180.70.93.0  MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2
@echo tistory.net Route setting ...
route -p add 110.45.229.0 MASK 255.255.255.0 192.168.219.1 METRIC 20 IF 0x2

route print
PAUSE
^Z
@ECHO ON

반응형