How to set up two routers

Source: Internet
Author: User
Tags bind

First of all, there should be a general framework, so that in the network and design, configuration will not be messy. It is often necessary to consider which computers each router is connected to, because the IP address allocation for different routers is not the same, but the IP assigned to the DHCP method is not considered. At the same time we need to tag with the router to prevent confusion.

Hardware connection:

Label the primary and secondary routers, where the primary router is connected to the broadband RJ-45 interface through the WAN interface, and the secondary router connects to any LAN interface through the WAN port, while the PC is connected to the other LAN interfaces of the two routers. The overall architecture diagram is as shown in the figure:

Settings for the primary router:

Login to the main router management interface, expand network parameters → "LAN settings" in turn, set IP address to "192.168.0.1", subnet mask set to "255.255.255.0", and finally click "OK" button to restart the router.

Then the "192.168.0.1" as the main router management address for landing. Switch to the "WAN interface" item and select "WLAN Port connection type" based on the type of connection provided by the telecommunications service provider, this example is explained by a static IP address. If the telecommunications service provider is a static IP address landing mode, according to the IP related information provided by the set as shown:

Next click on "DHCP server" → "DHCP service", then on the right, check the "Enable DHCP" service and set the start and end addresses of the address pool, because they are two routers, so you can set the number of computers connected to the current router, such as the parameters set by the small series, which range from " 192.168.0.3 "~" 192.168.0.19 ". Finally, click on the "OK" button.

Bind the secondary router IP to its Mac. Switch to the static Address Assignment tab, and then click the Add New Entry button to bind the secondary router IP to its MAC address, ensuring that the IP address of the secondary router is always "192.168.0.19" when the dynamic IP address is assigned.

At this point, the primary router setup is complete.

Settings for the secondary router:

Login to the secondary router management interface, expand the network parameters → "wan port settings", the "WAN connection type" set to "Static IP", and then set the IP address to "192.168.0.19", the subnet mask is set to "255.255.255.0", The other settings are consistent with the primary router's corresponding location settings. Finally click on the "OK" button to restart the router.

Expand network parameters → LAN settings in turn, set the IP address to "172.16.1.1", set the subnet mask to "255.255.255.0", and then restart the router with the "OK" button.

Then the "172.16.1.1" as a secondary router management address for landing. Then click on the "DHCP server" → "DHCP service" to select the "Enable DHCP" service on the right. For example, the parameters set by the small series, the range of "172.16.1.2" ~ "192.168.1.199" (as long as sufficient on the line). Finally, click on the "OK" button.

At this point, all the settings are complete. The last thing to do is to use network cable and router LAN port and computer network interface can be connected to the Internet. If the computer cannot open the Web page, a static DNS address is set.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.