Netsh 배치 파일, 게이트웨이를 기억하지 못함

Netsh 배치 파일, 게이트웨이를 기억하지 못함

일부 네트워크 어댑터 설정을 변경하기 위해 작은 배치 파일을 만들고 있습니다.

누구든지 이것이 왜 작동하는지 설명해 주시겠습니까?

netsh interface ipv4 set address name="Local Area Connection" static 192.168.1.11 255.255.255.0 192.168.1.1

그러나 이는 그렇지 않습니다(IP, SUBNET은 수정하지만 게이트웨이는 변경되지 않음).

set /p FIRSTIP=Please type the IP address provided: 
set /p SUBNETIP=Please type the Subnet IP provided: 
set /p DFTGATEWAY=Please type the Gateway provided: 

netsh interface ipv4 set address name="Local Area Connection" static %FIRSTIP% %SUBNETIP% %GATEWAY%

이것은 Windows 10 컴퓨터에 있습니다. 나는 이것에 대해 머리를 긁적이고 대부분의 KB 기사는 거의 도움이 되지 않는 것 같습니다.

관련 정보