Netsh command on Windows XP

When trying to change default gateway on windows xp on vm machine using the following command:
set address name="Local Area Connection" source=dhcp addr=192.168.25.22 mask=255.255.255.0 gateway=192.168.31.3
Command didn't change anything.
Any idea why?
( I tried to launch it when I already had a default gateway configured and also after I deleted the gateway)

In addition , I tried to add at the beginning of command: netsh interface ipv4 or even netsh int ipv4
But it said "The following command was not found"

8 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like