Pages

IP switch command

If you have two internet connections and want to manually switch between them using the command line, you can do this by changing your IP address, subnet mask, and gateway for your network interface

netsh interface ipv4 set address name="Ethernet" static 10.70.72.10 255.255.255.0 10.70.72.20
netsh interface ipv4 set dns name="Ethernet" static 8.8.8.8
netsh interface ipv4 add dns name="Ethernet" 8.8.4.4 index=2

IP switch command

netsh interface ipv4 set address name="Ethernet" static 10.70.72.10 255.255.255.0 10.70.72.20
netsh interface ipv4 set dns name="Ethernet" static 8.8.8.8
netsh interface ipv4 add dns name="Ethernet" 8.8.4.4 index=2

IP switch command

If you have two internet connections and want to manually switch between them using the command line, you can do this by changing your IP a...