|
windows
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Help with NETSH INTERFACE IP PleaseI'm trying to write a batch file to set the local IP address to static as
follows: netsh interface ip set address name="Local Area Connection" source=static addr=10.0.0.55 mask=255.255.255.0 gateway=10.0.5.1 I keep getting "the syntex for this command is not valid" What's worng with it... Any help would be much appreciated. Alan In article <6080722C-4FB4-41A6-972B-C2E1DFB32***@microsoft.com>,
DaDuck <DaD***@discussions.microsoft.com> wrote: > When you specify a gateway address, you also have to specify a value>I'm trying to write a batch file to set the local IP address to static as >follows: > >netsh interface ip set address name="Local Area Connection" source=static >addr=10.0.0.55 mask=255.255.255.0 gateway=10.0.5.1 > >I keep getting "the syntex for this command is not valid" What's worng with >it... Any help would be much appreciated. >Alan for the gateway metric. For example: netsh interface ip set address name="Local Area Connection" source=static addr=10.0.0.55 mask=255.255.255.0 gateway=10.0.5.1 gwmetric=10 -- Best Wishes, Steve Winograd, MS-MVP (Windows Networking) Please post any reply as a follow-up message in the news group for everyone to see. I'm sorry, but I don't answer questions addressed directly to me in E-mail or news groups. Microsoft Most Valuable Professional Program http://mvp.support.microsoft.com
XP Peer to Peer Networking is driving me nuts!
Intermittent Internet Connection Lose...PLEASE HELP Outlook / Work Group question WinXP <--> Vista via LLTD CLOSING NETWORK CONNECTIONS take years... Uncontrolled Downloads Strange problem... Trust Relationship problem networking computers to 1 printer I don't want one machine on the LAN to have Internet access |
|||||||||||||||||||||||