How to use two vrouters to share Internet access

Source: Internet
Author: User

Problem: I use an ADSL to access the Internet. There are two routers with one WAN port and four LAN ports, but currently there are five computers sharing the internet, that is to say, a line after the first route is sent is followed by the second route and then the second route. The wiring method and settings of the route are obtained.

Answer: This situation is common. First, let's talk about the principle:

Router 1 provides layer-3 services (physical, data link, and network layer), and router 1 is a hub. Vro2 2 provides layer-4 services, that is, it acts as a vswitch.

Vro2 2 can be viewed as a hub, that is to say, the five computers in the room are actually under the jurisdiction of vro1 1. Therefore, the fixed IP address allocated from Route 1 cannot be assigned to router 2, which is only used as a vswitch at the same time.

Solution:

Method 1: Start the DHCP service of vro1 1. Then, your room will receive the lan ip address allocated to you by vro1 1, note that your vro2 2 only acts as a vswitch here (you can change it to another vswitch) [recommended method]

Method 2: divide the IP address of vro1 1 into two subnet segments (by setting the subnet mask) your route 2 belongs to the subnet of Route 1, vro2 2 provides the routing function, and DNS servers are recommended to use large companies (we do not recommend using routes as DNS servers ).

Connection Method: connect two Routers

Route 1 is used to pull a line from the LAN port of Route 1 to Route 2. It is inserted in the LAN port of Route 2, not in the Ethernet port, the network segment of the host must be the same as that of Route 1, and the gateway is the IP address of Route 1. No matter what route 2 is set, no matter what it is, Route 2 is equivalent to a switch.

Summary:

1. In fact, a Broadband Router is a vswitch without using the WAN port. You can directly use the vswitch cascade.

2. Before connecting the second router to the network, modify its default LAN port IP address to prevent conflicts with the first LAN port IP address.

3. Use a direct connection to connect a LAN of the second router to the LAN port of the first router, connect the original computer and the new computer to the remaining LAN port of the second router through a direct connection.

Related Article

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.