DISQUS

Tech-Recipes: XP & 2000 users that use static ip\’s in one office & dhcp in another office | Windows networking | Tech-Recipes

  • Anonymous · 5 years ago
    IBM Thinkpads come with a utility called Access Connections which allows you to switch networking profiles from the taskbar, and completely hide the complexities of networking from the end user.

    You can download this from their support site.
  • Anonymous · 5 years ago
    What about the DNS information? Doesn't that need to be set as well?
  • Anonymous · 5 years ago
    does anyone know how to set the DNS information???....this is a nice, easy quick fix, but I need to know how to set DNS also....I'm assuming it's just an additional line???
  • Anonymous Coward · 4 years ago
    Yes you can add a DNS address with the following line.

    netsh interface ip add dns "local area connection" 172.16.0.1
    netsh interface ip add dns "local area connection" 172.16.0.2

    It will add each additional dns entry behind the other two. To change that you can specify where you want the dns entry to be placed with the index option. So if you typed in:

    netsh interface ip add dns "local area connection" 172.16.0.3 index=1

    Your dns entries would look like:
    172.16.0.3
    172.16.0.1
    172.16.0.2

    Hope that helps.

    Does anyone know how to use the netsh command to change a dhcp address to a static address on a remote computer? I have tried the netsh -r <computername> int ip set address "local area connection" static 172.16.0.100 255.255.255.0 172.16.0.1, but it returns
    The following command was not found: int ip set address "local area connection" static 172.16.0.100 255.255.255.0 172.16.0.1.