How long does it take for a computerized wired router to set up automatic lp acquisition
It usually takes only a few seconds to complete. If you can’t get it, you need to consider the problem of the router:
1, first of all, you need to check the connection line between the router and the computer is not a problem, make sure that the connection is good.
2, the computer will be set to the local connection to obtain an IP address automatically, the setup method is to open the “Network and Sharing Center” – & gt; “Local Connections” –> “Properties” –> “Internettcp/ip protocol” Set it to obtain an IP address automatically, because home routers support dhcp service to obtain an IP address automatically.
3, may be the router did not open the dhcp service, you need to log into the router background, the background of the hdcp service can be opened.
Time required for DHCP to obtain an IP address
Discover broadcast, in addition to the first time will wait 1 second, the rest of the time to wait for 9, 13, 16, respectively, if you do not get a response from the dhcp server, the system will be repeated in 5 minutes after the discovery broadcast.
My computer is so slow to boot up and get an IP address automatically it takes about 1 minute on average to find it
The wireless router resets. Then reset the boot program on one side. I guess it can be better, and the wireless router can be left on. That way it’s always there.
There is another situation that has nothing to do with the routing. It’s just looking at the main gateway in your neighborhood. Because the gateway is slow to respond, it causes your router to only upload data, not receive it, and not be able to determine the IP, causing slow IP address determination.
How computers get IP addresses automatically
How it works
Depending on whether a client logs on to the network for the first time or not, DHCP works differently.
When logging on for the first time:
Finding the Server
When a DHCP client logs on to the network for the first time, i.e., when the client realizes that there is no IP data set up on the local machine, it sends a DHCPDISCOVER packet to the network. Because the client doesn’t know which network it belongs to, the packet will have a source address of 0.0.0.0 and a destination address of 255.255.255.255, and will then be broadcast to the network with the DHCPdiscover message attached. In the Windows preset scenario, the waiting time for DHCPdiscover is preset to 1 second, that is, when the client sends the first DHCPdiscover packet out, and does not get a response within 1 second, then it will make a second DHCPdiscover broadcast. If there is no response, the client will have a total of four DHCPdiscover broadcasts (including the first one), in addition to the first one will wait for 1 second, the remaining three wait times are 9, 13, 16 seconds. If none of them get a response from the D-related picture HCP server, the client will display an error message declaring the failure of DHCPdiscover. After that, based on the user’s choice, the system will continue to repeat the DHCPdiscover process again after 5 minutes.
Providing IP Lease Addresses
When the DHCP server listens to a DHCPdiscover broadcast from a client, it selects the top vacant IP address from the range of addresses that have not yet been leased, along with other TCP/IP settings, and responds to the client with a DHCPOFFER packet. Since the client does not have an IP address at the beginning, the DHCPdiscover packet will have its MAC address information and an XID number to identify the packet, and the DHCP offer packet responded to by the DHCP server will be passed to the client requesting a lease based on this information. Depending on the server settings, the DHCPoffer packet will contain information about the duration of the lease.
Accepting an IP lease
If a client receives responses from multiple DHCP servers on the network, it will pick just one of the DHCPoffer packets (usually the one that arrives first) and send a DHCPrequest broadcast packet to the network to tell all of the DHCP servers that it will be designating which of them it wants to accept an IP address. At the same time, the client also sends an ARP packet to the network to check if any other machine on the network is using the IP address; if it finds out that the IP is already occupied, the client sends a DHCPDECLIENT packet to the DHCP server, refusing to accept its DHCP offer and resending the DHCPdiscover message. In fact, not all DHCP clients unconditionally accept the DHCP server’s offer, especially if these hosts have other TCP/IP-related client software installed. Clients can also use a DHCPrequest to propose DHCP choices to the server, and these choices will be filled in with different numbers in the DHCPOptionField.
In other words, the settings on the DHCP server may not be accepted by the client. The client can keep some of its own TCP/IP settings, and the initiative is always on the client’s side.
When the DHCP server receives a DHCPrequest from a client, it sends the client a
relevant image of the DHCPACK response, which confirms that the IP lease is in effect, and concludes the complete DHCP process.
DHCP issuance process after the first login: Once the DHCP client has successfully obtained a DHCP lease from the server, unless the lease has expired and the IP address has been reset back to 0.0.0.0, there is no need to send a DHCPdiscover message, and the DHCPrequest message is sent to the previous DHCP server with the IP address that has been leased. The DHCP server will try to let the client use the original IP address, and if there is no problem, it will respond directly to the DHCPack to confirm. If the address has been invalidated or has been used by other machines, the server will respond to a DHCPNACK packet to the client, requiring it to re-execute the DHCPdiscover. as for the lease period of the IP is a very careful, not as simple as we rent a house to NT as an example: DHCP client in addition to the power-on time to send a DHCPrequest request, halfway through the lease period, in addition to the DHCP request, the DHCP server will send a DHCPrequest message to the client to confirm the lease period. DHCP client in addition to the boot time to send a DHCPrequest, in the lease period half of the time will also send a DHCPrequest, if this time do not get the DHCP server to confirm the words, the client can continue to use the IP; when the lease period of 87.5%, if the client is still unable to contact with the original DHCP server, it will communicate with other DHCP servers. If there are no more DHCP servers running on the network, the client must stop using the IP address and repeat the process again, starting with sending a Dhcpdiscover packet. If you want to get out of the lease, you can always send the DHCPRELEASE command to cancel the lease, even if your lease was granted only a second before.
Cross-network DHCP operation From the process described earlier, it is easy to see that DHCPDISCOVER is broadcast, and can only be done within the same network, because routers do not send broadcasts out. But if the DHCP server is installed in other networks? Since the DHCP client does not have the IP environment settings, so it does not know the router address, and some routers will not pass out the DHCP broadcast packets, so in this case the DHCPDISCOVER will never reach the DHCP server, and of course OFFER and other actions will not occur. To solve this problem, we can use a DHCPA Agent (or DHCPProxy) host to take over the client’s DHCP request, then pass the request to the real DHCP server, and then pass the server’s reply to the client. Here, the Proxy host must have routing capabilities of its own and be able to pass packets from both sides to each other. If you don’t use Proxy, you can also install DHCP servers in each network, but in this case, the cost of equipment will increase, and the management is more decentralized. Of course, if in a very large network, such a balanced architecture is still desirable. It depends on your actual situation.
How to set your computer’s IP address to obtain automatically
windowsxp (XP system) to set the automatic acquisition of IP address method:
xp system right-click on the desktop of the computer’s “Online Neighborhood” icon, select “Properties”, enter the “Network Connections” window, and then enter the “Network Connections” window. “to enter the” Network Connections “window.
Find “Local Connection” in the Network Connections window, right-click and select “Properties”. In the General tab of the Local Connection Properties, find Internet Protocol and double-click on it to enter the Internet Protocol window.
Select “Obtain an IP address automatically” and “Obtain DNS server addresses automatically” in the “General” tab, and finally click the “OK” button.
Windows 7 (Win7 system) set the automatic acquisition of IP address method:
In the Win7 system, find the computer desktop “network” icon, right-click and select “Properties” (or). Right-click on the taskbar in the lower right corner of the computer’s “Network Connections” status icon, select “Open Network and Sharing Center”), enter the “Network and Sharing Center” window. Click the “Change adapter settings” menu in the left column. Go to the “Network Connections” window.
In the Network Connections window, locate “Local Connections”, right-click on the Local Connections icon and select “Properties”. In the Local Connection Properties “Network” tab, find “Internet Protocol Version 4” and double-click to enter the “Internet Protocol Version 4” window.
In the “General” tab, select “Obtain an IP address automatically” and “Obtain DNS server addresses automatically”. Finally, click the OK button.
Router how to set up automatically get ip
Router is now our most commonly used device to connect to the network, now the society whether it is work or life almost can not get away from the network, at the same time, we also need to learn some related knowledge and skills, then you know how to set up the router to automatically get ip? Here is some information I have compiled about router settings to automatically get ip, for your reference.
Router settings automatically get ip method:
First, set the computer IP address
In the wireless router settings before, you need to set the computer in the local connection (Ethernet) in the IP address, set to automatically obtain (dynamic IP), as shown in the figure below. Generally speaking, the IP address of the computer is automatically obtained by default, but it is still recommended to check.
Second, connect the wireless router
First of all, the broadband cable (wall outlet connected to the cable, other routers on the cable, etc.), connected to their wireless router WAN port; in the preparation of a cable, one end of the router connected to any one of the 1,2,3,4 port, the other end of the connection to the computer.
(1), in accordance with the above method of connecting to the wireless router, the computer can not temporarily access the Internet; when the router is set up successfully, the computer automatically can access the Internet.
(2), many novice users have doubts, so that after the connection of the computer can not access the Internet, how to set up the router? Here: when setting up the router, you do not need a computer to be able to access the Internet, as long as the computer is connected to the router 1, 2, 3, 4 port of any one, you can log into the router setup interface, set up the router networking. This involves the principle of LAN communication, don’t ask why, just follow the tutorial.
(3), in addition, please ensure that the network cable is working properly.
Third, set the router dynamic IP Internet
1, enter the router setup URL
In the browser address bar, enter the router setup URL, in this case: 192.168.1.1 and then press the Enter button on the keyboard.
Enter the router setup URL in the browser
The router setup URL, please check the label on the bottom of the router body, there are IP addresses, such as: 192.168.1.1, 192.168.0.1, 192.168.16.1, and so on, as shown in the figure below.
Some routers are labeled with “Management Page”, which means the information after the management page is the router’s setup URL, generally: tplogin.cn, melogin.cn,alogin.cn, as shown in the figure below.
2. Log in to the setup interface
Enter the default user name and password to log in to the setup interface.
(1), the router’s default username and password, the same can be viewed on the label at the bottom of the router, generally: admin. specific to your router label given on the subject.
(2), the current new TP-Link, Mercury, Xunjie routers, there is no default login password. These routers, when opening the setup interface for the first time, will first prompt the user to set the administrator password before logging into the setup interface, as shown in the following figure. When you open the setup interface again in the future, you will be prompted to enter the administrator password that you set before to log in.
3. Setting up dynamic IP access
(1) Setting up through the Setup Wizard:
After logging in to the router setup interface, click on “Setup Wizard” (or “Internet Setup” in some routers), and then there will be a selection of Internet access methods, as shown in the figure below. This time, please select: Dynamic IP (some routers are called: automatically obtain IP, or: DHCP)
(2), WAN port connection type settings
Click “Network Parameters” – > “WAN Port Settings” – > “WAN Port Settings” – > “WAN Port Settings” – > “WAN Port Settings” – >. WAN Port Settings” -> “WAN Port Connection Type” select: Dynamic IP -> Click “WAN Port Connection Type” select: Dynamic IP ->. gt; Click “Save”.
Note: Different router setup interface will be different, please remember to choose: Dynamic IP (Auto IP, DHCP).
Fourth, MAC address cloning
Generally do not need to MAC address cloning, part of the region’s broadband operators will limit the user to use the router, in the router in accordance with the appeal set up, can not access the Internet. This is the first time that you will need to use the MAC address cloning function in your router to break through the broadband operator’s blockade.
Click “Network Parameters” -> “MAC Address Cloning” -> “MAC Address Cloning” -> “MAC Address Cloning” ->. gt; “Clone MAC Address”.
Warm tips: Different router setup interfaces are different, please look for the “MAC address cloning” option in your router setup interface, and then follow the prompts.
Fifth, modify the router’s IP address
Generally, there is no need to modify the router’s IP address, only when the broadband operator assigns the IP address network, and the router’s IP address network is the same, then you need to modify the router’s IP address. This may be difficult to understand, but here are some examples
For example, the IP address assigned by the broadband operator (or other routers) is 192.168.1.X (2