ip 주소 수동, 자동 설정 스크립트


netsh -c int ip set addr name="Intel_Pro100" source=static addr=192.168.0.77 mask=255.255.255.0 gateway=192.168.0.1 gwmetric=30
netsh -c int ip set address name="Intel_Pro100" source=dhcp



DNS 서버 주소 수동, 자동 설정 스크립트


netsh -c int ip set dns name="Intel_Pro100" source=static addr=168.126.63.1 register=PRIMARY
netsh -c int ip set dns name="Intel_Pro100" source=dhcp



TCP 139, 445  UDP 137, 138포트 B클래스 대역에서 접근 가능케 하게


netsh -c firewall set portopening protocol = TCP 139 scope=custom address=192.168.0.0/255.255.0.0
netsh -c firewall set portopening protocol = TCP 445 scope=custom address=192.168.0.0/255.255.0.0
netsh -c firewall set portopening protocol = UDP 137 scope=custom address=192.168.0.0/255.255.0.0
netsh -c firewall set portopening protocol = UDP 138 scope=custom address=192.168.0.0/255.255.0.0

netsh 몇가지

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다