Quantcast
Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Assigning static IP address

  1. #1
    busster8 is offline Junior Member
    Enjoys Windows 8 Forums
     
    Join Date
    Mar 2013
    Posts
    6
    Windows Vista/Server 2008 Chrome 25.0.1364.172

    Assigning static IP address

    I use my Lenovo twist for work. From time to time I have to assign a static IP address to my network card based on the customer premise. What I have found is that if I do a ipconfig from the command line, these static ip addresses are not released.
    If I assign ip1, then customer site ip2, customer site ip3, all three ip addresses will show up doing an ipconfig from the command line. From time to time, this also plays havoc with my wireless network card.
    The only way I have been able to resolve the issue is to remove the device(s) and reboot.
    Upon reboot, both devices are back to dhcp and normal.

    Reply With Quote Reply With Quote

  2. #2
    Saltgrass is offline Senior Member
    Enjoys Windows 8 Forums
     
    Join Date
    Sep 2011
    Location
    Dallas
    Posts
    329
    Windows 8 Firefox 19.0

    Re: Assigning static IP address

    I am not the network aware poster on this forum, but I was wondering what process you are using to set the IP addresses?

    Have you looked into using Powershell to change the addresses and possibly there would be a way to script the actions you need?

    I know you can start the Powershell Admin window by using Winkey and typing Powershell then CTRL+Shift+Enter. Or you could just attach it to the Taskbar or Start. I have found some references to changing IP Addresses using Powershell and will give you one that might be a good place to start.

    Someone else on the forum might be able to give you an efficient way to do what you need.

    How to Change Your IP Address Using PowerShell

    Reply With Quote Reply With Quote

  3. #3
    busster8 is offline Junior Member Thread Starter Thread Starter
    Enjoys Windows 8 Forums
     
    Join Date
    Mar 2013
    Posts
    6
    Windows Vista/Server 2008 Chrome 25.0.1364.172

    Re: Assigning static IP address

    I have just been going through the control panel to change IP settings.

    Reply With Quote Reply With Quote

  4. #4
    Saltgrass is offline Senior Member
    Enjoys Windows 8 Forums
     
    Join Date
    Sep 2011
    Location
    Dallas
    Posts
    329
    Windows 8 Firefox 19.0

    Re: Assigning static IP address

    I haven't tried this either, but could you set up 3 or 4 network connections in the Network Connections panel? It appears, each name would have different configurations so you could enable or disable the ones you needed?

    Reply With Quote Reply With Quote

  5. #5
    busster8 is offline Junior Member Thread Starter Thread Starter
    Enjoys Windows 8 Forums
     
    Join Date
    Mar 2013
    Posts
    6
    Windows Vista/Server 2008 Chrome 25.0.1364.172

    Re: Assigning static IP address

    But the "name" of my network adapter is always "local area network". I just open control panel > Network > right click on "local area network" > Properties > ipv4 and set a static IP address. I didn't even know the ip addresses were "sticking" until I plugged into a clients network, thinking I was DHCP to get a IP conflict message. Doing a ipconfig from the command line let me know I the adapter still had about 4 ip addresses from previous customer sites.

    Reply With Quote Reply With Quote

  6. #6
    patcooke is offline Senior Member
    Microsoft MVP
     
    Join Date
    Nov 2012
    Location
    North Lincolnshire, England
    Posts
    104
    Windows 8 Firefox 19.0

    Re: Assigning static IP address

    Static assigned IP addresses are not allocated on a "lease" basis as are DHCP allocations - they are assigned manually and remain so until "released" manually. You can do this from a command prompt using the ipconfig command. Once released setting DHCP allocation will allow the adapter to obtain a new address automatically. The release command may or may not be optionally supplied with further parameters - this basic from will release all IP addresses from all adapters

    ipconfig /release

    To release the address from a specific adapter you can add the name of the adapter, eg:

    ipconfig /release Local Area Connection 1

    You may also use "wildcards" to release a group of addresses, eg:


    ipconfig /release Local*

    will release addresses from all adapters starting with the word local.
    Last edited by patcooke; 03-27-2013 at 07:05 AM.

    Reply With Quote Reply With Quote

  7. #7
    busster8 is offline Junior Member Thread Starter Thread Starter
    Enjoys Windows 8 Forums
     
    Join Date
    Mar 2013
    Posts
    6
    Windows Vista/Server 2008 Chrome 25.0.1364.172

    Re: Assigning static IP address

    I understand all of the above. ipconfig /release has no effect. Reboots, both warm or cold have no effect. The only way I have found to clear the old ip addresses is to remove the device and reboot. Upon reboot, the device is back and in dhcp mode.

    Reply With Quote Reply With Quote

  8. #8
    patcooke is offline Senior Member
    Microsoft MVP
     
    Join Date
    Nov 2012
    Location
    North Lincolnshire, England
    Posts
    104
    Windows 8 Firefox 19.0

    Re: Assigning static IP address

    Just to check - you have tried executing a release for specific named adapters as well as for all?

    Reply With Quote Reply With Quote

  9. #9
    patcooke is offline Senior Member
    Microsoft MVP
     
    Join Date
    Nov 2012
    Location
    North Lincolnshire, England
    Posts
    104
    Windows 8 Firefox 19.0

    Re: Assigning static IP address

    Just realised, we have not mentioned setting the "obtain an IP address automatically" on the adapter properties - it this a case of missing the obvious - have you in fact done that to go from static to dhcp?

    Reply With Quote Reply With Quote

  10. #10
    busster8 is offline Junior Member Thread Starter Thread Starter
    Enjoys Windows 8 Forums
     
    Join Date
    Mar 2013
    Posts
    6
    Windows Vista/Server 2008 Chrome 25.0.1364.172

    Re: Assigning static IP address

    Yes, you can change from static to dhcp. The adapter will get an ip address from the server. When you do an ipconfig, you will see the acquired ip address, AND the static ip addresses still listed. If you go to another site, get another ip address via dhcp, you will see the newly assigned ip address, the old ip assigned via dhcp is gone, but any staticly assigned ip addresses remain. The only way to remove them is to remove the device and reboot. DHCP assigned ip addresses work as expected. Only statically assigned ip addresses are troublesome.

    Reply With Quote Reply With Quote

Page 1 of 2 12 LastLast

LinkBacks (?)

  1. 03-26-2013, 08:41 PM

Similar Threads

  1. Jujuba Software Introduces IP Address Modern UI App for Windows 8
    By Windows 8 Forums in forum Windows 8 News
    Replies: 0
    Last Post: 02-28-2013, 04:41 AM
  2. Jujuba Software Introduces IP Address Modern UI App for Windows 8
    By Windows 8 Forums in forum Windows 8 News
    Replies: 0
    Last Post: 02-28-2013, 03:13 AM
  3. Replies: 0
    Last Post: 06-13-2012, 11:00 PM
  4. Microsoft to address Windows 8 Start Screen concerns
    By Windows 8 Forums in forum Windows 8 News
    Replies: 0
    Last Post: 10-05-2011, 10:58 AM
  5. Windows 8 design flaws Microsoft MUST address
    By Windows 8 Forums in forum Windows 8 News
    Replies: 0
    Last Post: 09-22-2011, 10:34 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •