2018. 1. 17. 15:12

L4(LVS) 셋팅을 위한 네트웍 설정


Weak Host Model 설정을 위해 Cmd창에서 명령어를 날려줍니다.

서버의 기존 Real IP 아답터 이름을 Public 라 가정하고, Loopback 아답터 이름을 loopback이라 가정하면

netsh interface ipv4 set interface "Public" weakhostreceive=enabled
netsh interface ipv4 set interface "Public" weakhostsend=enabled
netsh interface ipv4 set interface "loopback" weakhostsend=enabled
netsh interface ipv4 set interface "loopback" weakhostreceive=enabled   



설정 후 확인 최종확인

netsh interface ipv4 dump



* DSR구조 Loopback을 이용하여,

netsh interface ipv4 set interface " 인터페이스명" weakhostsend= enable
netsh interface ipv4 set interface " 인터페이스명" weakhostsend= disable

을 통하여, 서버단에서 L4 투입, 제어를 할 수 있다.