Article ID: 308199
Article Last Modified on 10/31/2006
APPLIES TO
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional Edition
- Microsoft BackOffice Small Business Server 2000 Service Pack 1
This article was previously published under Q308199
For a Microsoft Windows Server 2003 version of this article, see 323444.
IN THIS TASK
SUMMARY How to Change the IP Address That Is Assigned to a Network Adapter
SUMMARY
This article describes how to change the Internet Protocol (IP) address that is assigned to a network adapter. An IP address may be assigned automatically if your network has a Dynamic Host Configuration Protocol (DHCP) server, or you can specify an IP address.
back to the top
How to change the IP address that is assigned to a network adapter
- Log on to the computer by using the Administrator account.
- Click Start, click Settings, and then click Control Panel.
- In Control Panel, double-click Network and Dial-up Connections. The Network and Dial-up Connections dialog box opens.
- Right-click the local area connection that you want, and then click Properties. The Local Area Network Connection Properties dialog box opens.
- In the Components checked are used by this connection box, click Internet Protocol (TCP/IP), and then click Properties. The Internet Protocol (TCP/IP) Properties dialog box appears.
- Continue with the steps in one of the following two sections.
How to automatically obtain an IP address
Use these steps to configure the computer to obtain an IP address from a DHCP server. Note that you must have a DHCP server.
- Click Obtain an IP address automatically.
- Click Obtain DNS server address automatically if you do not want to specify the IP address of the Domain Name System (DNS) server.
- Click OK. In the Local Area Connection Properties dialog box, click OK.
- Click Start, and then click Run.
- In the Open box, type cmd, and then click OK.
- At the command prompt, type ipconfig /release, and then press ENTER.
- Type ipconfig /renew, and then press ENTER. The network adapter is assigned an IP address by the DHCP server, and a message similar to the following message appears:
Windows 2000 IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :dns.microsoft.com
IP Address. . . . . . . . . . . . :192.168.0.201
Subnet Mask . . . . . . . . . . . :255.255.255.0
Default Gateway . . . . . . . . . :192.168.0.1 - Type exit and then press ENTER to quit the command prompt.
How to specify an IP address
Follow these steps to assign an IP address to the network adapter.
- Click Use the following IP address if you want to specify the IP address for the network adapter.
- In the IP address box, type the IP address that you want to be assigned to this network adapter. This IP address must be a unique address in the range of addresses that are available for your network. Contact the network administrator to obtain a list of valid IP addresses for your network.
- In the Subnet mask box, type the subnet mask for your network.
- In the Default gateway box, type the IP address of the computer or device on your network that connects your network to another network, or to the Internet.
- In the Preferred DNS server box, type the IP address of the computer that resolves host names to IP addresses.
- In the Alternate DNS server box, type the IP address of the DNS computer that you want to use if the preferred DNS server becomes unavailable.
- Click OK. In the Local Area Connection Properties dialog box, click OK.
- Close the Network and Dial-up Connections window.
Troubleshooting
- There is an IP address conflict: If you attempt to assign an IP address that is already in use, you receive the following error message:
In this case, assign an unused IP address to the network adapter.
- Your computer cannot connect to other computers on the network: If you assign an incorrect subnet mask address to the network adapter, the computer is effectively located on a different network. You cannot connect to other computers on the network.
- Your computer cannot connect to other computers by using host names: If you assign an incorrect DNS server IP address, or if you do not use a DNS server, you cannot connect to computers by using their host names. This prevents you from browsing the Internet. You can connect to other computers by using their IP addresses.
You can work around this issue in a local network by adding host-name-to-IP-address mappings in a Hosts file.
Keywords: kbhowtomaster KB308199