I had to test a device with a fixed 172…. IP address and win10 will not send an ARP outside subnet addresses. I even added to the arp table but win10 would not address it.
Just download the netsh reference guide and do it from command line or a batch file. I have 2 internet services in my home. 50 mbps and 100 mbps. Both are connected to a single 8 port switch to which even my PC and laprops are connected. As and when I need to switch my ISP I just run appropriate batch file and it is done.
Here is the content one …..
netsh interface ip set address name=realtek static 192.168.1.200 255.255.255.0 192.168.1.1 1
set DNS1=8.8.8.8
set DNS2=8.8.4.4
set INTERFACE=Realtek
netsh int ipv4 set dns name=”%INTERFACE%” static %DNS1% primary validate=no
netsh int ipv4 add dns name=”%INTERFACE%” %DNS2% index=2
3 Responses to “How to change the Subnet Mask in Windows (5 ways)”
I had to test a device with a fixed 172…. IP address and win10 will not send an ARP outside subnet addresses. I even added to the arp table but win10 would not address it.
Just download the netsh reference guide and do it from command line or a batch file. I have 2 internet services in my home. 50 mbps and 100 mbps. Both are connected to a single 8 port switch to which even my PC and laprops are connected. As and when I need to switch my ISP I just run appropriate batch file and it is done.
Here is the content one …..
netsh interface ip set address name=realtek static 192.168.1.200 255.255.255.0 192.168.1.1 1
set DNS1=8.8.8.8
set DNS2=8.8.4.4
set INTERFACE=Realtek
netsh int ipv4 set dns name=”%INTERFACE%” static %DNS1% primary validate=no
netsh int ipv4 add dns name=”%INTERFACE%” %DNS2% index=2
ipconfig /flushdns
exit
Change the details to suit your system.