Teach you how to make Win 7 support both DHCP and fixed IP

  
. With the popularity of the network, we often face different network environments. By default, the NIC in Windows 7 only allows you to select a fixed IP or dynamically obtain an IP from a DHCP server. Some network environments do not provide DHCP services. At this time, if we want to go online, we only have to modify the IP manually. When you switch to a network environment with DHCP service, you need to reset the network card. This is too much trouble.

In actual fact, if we carefully study allows to make Windows7 supports both DHCP and fixed IP, that is, if there is a DHCP server, it will obtain an IP from the DHCP server, otherwise we use a specific IP, so Will bring us a lot of convenience.

systems to offer a method of operation: Right-click the network icon in the taskbar, select "Network and Sharing Center", click "Change adapter settings" link in the window that opens, right-click the appropriate network card in the open window Select the "Properties" command, then double-click the "InternetProtocolVersion4 (TCP/IPv4)" item in the open window, and select the "Obtain an IP address automatically" and "Automatically obtain the DNS server address" items in the window that opens.

switch to the "Alternate Configuration" tab, then select the "User Configuration" item, and then enter the fixed IP address, subnet mask, default gateway, DNS server address of choice in the open window, such as 192.168 .1.8, 255.255.255.0, 192.168.1.1, 192.168.1.1, etc. After

be set up so that when our computers find DHCP exist, you'll get an IP address from the DHCP server. Otherwise, we will use the fixed IP, subnet mask, default gateway, preferred DNS server address, etc. we set. House

system prompt: WindowsXP system through the "My Network Places → Properties" command, open the "Network Connections" folder. Right-click the corresponding network card, such as "Local Area Connection", select "Properties → Internet Protocol (TCP/IP)" to set.
Copyright © Windows knowledge All Rights Reserved