Open command prompt with administrative rights
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
C:\>netsh interface ipv4 show interface Idx Met MTU State Name --- ---------- ---------- ------------ --------------------------- 1 75 4294967295 connected Loopback Pseudo-Interface 1 4 25 1500 disconnected Wi-Fi 7 35 1500 connected Ethernet 3 25 1500 disconnected Local Area Connection* 1 5 25 1500 connected Ethernet 2 9 25 1500 disconnected Local Area Connection* 2 8 65 1500 disconnected Bluetooth Network Connection 16 35 1500 connected VMware Network Adapter VMnet1 11 35 1500 connected VMware Network Adapter VMnet8 47 25 1500 connected Ethernet 3 C:\>netsh interface ipv4 set interface interface="Ethernet 2" dhcpstaticipcoexistence=enabled C:\>netsh interface ipv4 add address "Ethernet 2" 192.168.0.22 255.255.255.0 |