The TCP/IPv4 default gateway address is deleted when you use the Netsh tool to configure the network interface IP address for DHCP in Windows Vista

Article translations Article translations
Article ID: 942275 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

In Windows Vista, the TCP/IPv4 default gateway address is deleted when you use the Netsh command-line tool to configure the network interface IP address for the Dynamic Host Configuration Protocol (DHCP).

For example, you type the following command at a command prompt:
netsh interface ipv4 set address name="Local Area Connection" source=dhcp
If you check the default gateway address by using the ipconfig command, you see that the IPv4 default gateway address is deleted.

Note This problem occurs if the network interface has already configured by using DHCP.

WORKAROUND

To work around this problem, type the following commands at a command prompt to renew the IP address configuration. Press ENTER after each command.
ipconfig /release
ipconfig /renew

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 942275 - Last Review: September 20, 2007 - Revision: 1.0
APPLIES TO
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
Keywords: 
kbtshoot kbexpertiseinter KB942275

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com