Update ip-renew/README.md

This commit is contained in:
2024-08-23 06:38:11 -04:00
parent 91fdcbd02d
commit 43730d3a00

View File

@@ -3,6 +3,7 @@
- 아래의 방법으로 원하는 LAN카드의 MAC주소를 변경할 수 있다.
- MAC주소가 변경되면 ISP 모뎀에서 새로운 기기로 인식하고 새로운 IP를 할당한다.
- Powershell (관리자로 실행):
```powershell
# 현재 네트워크 어댑터 목록 확인
Get-NetAdapter
@@ -21,6 +22,7 @@
# 원하는 MAC 주소로 변경
Set-NetAdapter -Name "이더넷" -MacAddress "00-11-22-33-44-55"
# 랜덤 MAC 주소 생성 및 설정
$randomMac = (0..5 | ForEach-Object { "{0:X2}" -f (Get-Random -Minimum 0 -Maximum 255) }) -join '-'
Set-NetAdapter -Name "이더넷" -MacAddress $randomMac