top of page

Windows cmd ile statik ip verme

Berat Bey

Selamlar,

Bazı durumlarda windows işletim sistemlerine cmd ile statik ip vermemiz gerekirse alttaki komutları kullanabilirsiniz. Burada önemli nokta hangi adaptöre ip adresi vereceğimizi bilmektir.


1- Komut Satırını yönetici olarak çalıştıralım. netsh interface ip show config komutu ile tüm adaptörleri görüntüleyelim.


2- İstediğimiz adaptöre alttaki örneği kullanarak statik ip ataması yaparız.

netsh interface ip set address name= "Network Interface Name" static [IP address] [Subnet Mask] [Gateway]


Örnek komutlar;

netsh interface ip set address name="Wi-Fi" static 192.168.50.10 255.255.255.0 192.168.50.1.

netsh interface ip set address name="Ethernet 4" static 172.20.16.200 255.255.255.0 172.20.16.196


3- İp adresini değiştirmemiz gerekiyorsa alttaki komut kullanılır.

netsh interface ip set address name= "Network Interface Name" static [IP address] [Subnet Mask] [Gateway]. Replace [IP address] [Subnet Mask] [Gateway]


4- DHCP üzerinden ip almasını istiyorsak alttaki komut kullanılır.

netsh interface ip set address name= "Network Interface Name" dhcp


Örnek Komutlar;

netsh interface ip set address name="Wi-Fi" dhcp

netsh interface ip set address name="Local Area Connection" dhcp

481 görüntüleme0 yorum

Son Yazılar

Hepsini Gör

Comments


Time never comes again.

Thanks for submitting!

                   © 2023

    bottom of page