[THIN] Re: Scripts or Utility for changing IP's

  • From: "Mark Noordzij" <mark@xxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Fri, 19 Dec 2003 23:38:39 +0100

You can use netsh for this, it is standard from w2k and up.

Example:

netsh interface ip set address name="Local Area Connection" source=static 
addr=192.168.2.11 mask=255.255.255.0 netsh interface ip set address name="Local 
Area Connection" gateway=192.168.2.1 gwmetric=0 netsh interface ip set dns 
name="Local Area Connection" source=static addr=192.168.2.1 register=PRIMARY 
netsh interface ip set wins name="Local Area Connection" source=static addr=none

Mark

        -----Oorspronkelijk bericht----- 
        Van: Bennett, Cameron [mailto:CBennett@xxxxxxxxxxxxxx] 
        Verzonden: vr 19-12-2003 20:53 
        Aan: thin@xxxxxxxxxxxxx 
        CC: 
        Onderwerp: [THIN] Scripts or Utility for changing IP's
        
        

        I am looking for some sort of software or utility or whatever that I 
can use on a user's laptop that will allow them to select from different IP 
configurations.

        Any suggestions for such a beast?? 

        Thanks, 

        Cameron 

        Cameron Bennett 
        MIS, Technical Support Specialist 
        Rouge Valley Health System 
        phone: 416.284.8131 x4660 
        cbennett@xxxxxxxxxxxxxx 

Other related posts: