[Windows]Window route 설정

Network 2015.02.10 14:08 Posted by 애플자라
# 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

 

 

출처 - http://bluebreeze.co.kr/m/post/575

'Network' 카테고리의 다른 글

방화벽 tcpdump  (0) 2015.02.13
SSH IP / 계정 차단  (0) 2015.02.10
[EMAIL]SPF 레코드 확인 방법  (0) 2015.02.10
[Windows]Window route 설정  (0) 2015.02.10
ping 체크 방법  (0) 2014.10.22
트렁크 포트 상태확인  (0) 2014.10.22

댓글을 달아 주세요