Need help on using netsh to configure remote machine's static IP

  • Thread starter Thread starter Qunli Qiang
  • Start date Start date
Q

Qunli Qiang

I have two Windows 2000 machines in a workgroup, not a domain. The
user Administrator on both machines have the same password. I tried to
change another machine's static IP using netsh without success.

C:\>netsh
netsh>set machine pf3testdb2

[pf3testdb2] netsh>show address
The following command was not found: show address.
[pf3testdb2] netsh>

It looks like a privelege issue. Can someone tell me how to make it
work?

Thanks in advance!
 
Qunli said:
I have two Windows 2000 machines in a workgroup, not a domain. The
user Administrator on both machines have the same password. I tried to
change another machine's static IP using netsh without success.

C:\>netsh
netsh>set machine pf3testdb2

[pf3testdb2] netsh>show address
The following command was not found: show address.
[pf3testdb2] netsh>

It looks like a privelege issue. Can someone tell me how to make it
work?

It's telling you the problem here - "show address" isn't a valid
command. - You need to change the netsh context to "interface".

try using

"interface ip show address"
 
Ben Cottrell said:
Qunli said:
I have two Windows 2000 machines in a workgroup, not a domain. The
user Administrator on both machines have the same password. I tried to
change another machine's static IP using netsh without success.

C:\>netsh
netsh>set machine pf3testdb2

[pf3testdb2] netsh>show address
The following command was not found: show address.
[pf3testdb2] netsh>

It looks like a privelege issue. Can someone tell me how to make it
work?

It's telling you the problem here - "show address" isn't a valid
command. - You need to change the netsh context to "interface".

try using

"interface ip show address"

Thanks for your reply.

Following are the results:

C:\Documents and Settings\qqiang>netsh -r pf3testdb2
[pf3testdb2] netsh>interface ip
[pf3testdb2] interface ip>show config

Configuration for interface "{2792E8A5-003C-454B-B37A-F82443F68AC1}"
DHCP enabled: Yes
InterfaceMetric: 1
DNS servers configured through DHCP
WINS servers configured through DHCP

The remote machine is configured to use static IPs. The "show config"
command actually showed my local settings. Any ideas?
 
Back
Top