Toon posts:

windows XP commanline ipadres /wijzigen alsmede subnet

Pagina: 1
Acties:
  • 38 views sinds 30-01-2008

Verwijderd

Topicstarter
Volgende probleem loop ik tegen aan.

Laptop aansluiten op verschillende netwerken, op verschillende locaties waar vaste ip adressering is ingesteld. (Geen dhcp beschikbaar). Ranges varieren.

Waar ik nu naar op zoek ben is het equivalent van ifconfig onder linux, maar dan voor windows xp, zodat ik m.b.v. een batchfile simpel ander ipadres en subnet kan instellen.

Helaas leverde google niet echt iets op, wel een franse post 8)7 maar helaas daar kan ik weinig zinnigs van maken.

  • RedHead
  • Registratie: Februari 2001
  • Laatst online: 16-08 23:27
Het antwoord komt heel simpel uit de help van XP.
Knip en plak levert het volgende op:

Netsh commands for Interface IP

You can use commands in the Netsh Interface IP context to configure the
TCP/IP
protocol (including addresses, default gateways, DNS servers, and WINS
servers)
and to display configuration and statistical information.

You can run these commands from the Windows XP command prompt or from the
command prompt for the Netsh Interface IP context. For these commands to
work
at the Windows XP command prompt, you must type netsh interface ip before
typing commands and parameters as they appear in the syntax below. To run
these
Netsh commands on a remote Windows 2000 Server, you must first use Remote
Desktop Connection to connect to a Windows 2000 Server that is running
Terminal
Server. There might be functional differences between Netsh context commands
on
Windows 2000 and Windows XP.

Netsh Interface IP example
The following command configures the interface named Local Area Connection
with
the static IP address 10.0.5.99, the subnet mask of 255.255.255.0, and a
default gateway of 10.0.5.1:

set address name="Local Area Connection" source=static addr=10.0.5.99
mask=255.255.255.0 gateway=10.0.5.1

Verwijderd

Zie de gegeven tip, en daarnaast hebben we hier net een grote discussie over gehad. Ik verwijs je naar dit topic: Wisselen tussen computernamen. Als je onoverkomelijke problemen met iets uit dat topic hebt mag je dat topic van mij schoppen :)

Succes! :Y)

/En weer dicht :)

Dit topic is gesloten.