ip config in xp using command prompt window

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how can I configure the host ip address and default gateway from the xp command prompt window ?
 
how can I configure the host ip address and default gateway from the xp command prompt window ?

Here's the command:

netsh interface ip set address <connection> static <ip> <mask>
<gateway> <gateway metric>

For example:

netsh interface ip set address "Local Area Connection" static
192.168.0.100 255.255.255.0 192.168.0.1 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
 
Back
Top