Instance resolution dual-router connection shared Internet access implementation

Source: Internet
Author: User

Vro connection Environment Description

To achieve 5 computers at the same time, there are 2 routes: TP-LINK 40 m and TP-LINK 402

Router connection method

How can I connect five computers to the Internet at the same time? How do I set the route entry? The specific method is: the first ServerVroThe wan port of is empty, and the lan port is connected to the computer and the lan port of the second router. The WAN port of the second router is still connected to the Internet, and the LAN port is connected to the computer and the first router. Set network parameters in the second route.

Most people use adsl to access the Internet. Simply put, the network cable from the modem is connected to the first vro and the wan is set. The second router can be used as a computer. To change the IP address, the default value is 192.168.1.1. Connect the network cables of other computers to the second vro so that they can access the Internet.

Router connection procedure

Step 1) connect the w port of router A to the Internet and connect the L port of router B to the L port of router B.

Step 2) disable the fixed DHCP of Route B

Step 3) change the lan ip address of Route B to an IP address in the same address pool of route.

See:

Achieve shared Internet access through dual-router connection

Call the router connected to the MODEM 1) and the router connected to the computer 2!

Settings:

1. Set Route 1 to the default value of the factory. Use a dynamic IP address to access the Internet and clone the MAC of a computer to the MODEM.

2. Set Route 2 as the routing method we usually use. We use PPPoE to access the Internet, enter the bandwidth account and password, and select automatic connection.

Link:

Connect all the network cables connected to the computer to vro 2). 2) use a short network cable to connect the WAN port of vro 1 to vro1 1 ~ 4. Remember to connect a single port instead of a WAN port), connect the cable to the RJ45 standard, and then use the MODEM with such a network cable and 1) vro1 1 ~ 4. connect any port! In general, it is best to turn these three power supplies on together. Sometimes the power cannot be dropped, and the three power supplies must be turned off and then switched on. Otherwise, it will be difficult to access the Internet!

Use a route to connect to the Internet directly with the MODEM. When the route is running, you can see that the dial-up Internet access is available, but packets are sent, but few messages are returned and cannot be sent to the Internet. Then, connect the line connecting the WAN port to the MODEM to 1 ~ 4. You can use a LAN port to access the Internet. If you try to add another vro, A vswitch is inserted between the MODEM and the route, but it only carries a route. The middle route clones the MAC address of the NIC of the computer, at that time, I wanted to see the sky go across the sea? The result is OK!

For example, two routers, A and B, A, let them take advantage of the routing function, dial-up Internet access. Therefore, the WAN port of route A must be connected to the MODEM. Then route B only acts as A hub, and pulls A network cable from the LAN port of route A to connect the LAN port of Route B, connect the network cable of the computer to the LAN port of Route B, so that route B can access the Internet through router A without any settings. Route B only acts as A channel.

Step 1: Adsl --- ROTER1 (dial-up) --- Roter2 (dynamic) --- pc.

Step 2 recommended Gateway: Use 10.10.10.111 for Route 1 --- use 10.10.9.111 for Route 2

The principle is that the network Vanguard can only detect the signal of the first route and the signal of the second route cannot be detected. After the dual-roter package signal, you can. (Remember to have two routers. It is best to open the fire wall to prevent all DDOS attack firewalls from checking and attacking unknown packets)

In the second router (dynamic), the dynamic IP address is included in the route, that is, the dynamic IP address is automatically obtained! You can try it yourself! All the routes on the market have this setting! For example, for a general router, the ip address on the lan side is basically configured with DHCP and the ip address is automatically assigned. We recommend that you disable DHCP on the lan side of vro1 1 and set the gateway to 10.10.10.111.

Set the wan side of vro2 2 to a specified ip address, for example, 10.10.10.112, 10.10.10.111, 255.255.255.0, and DHCP is enabled on the lan side of vro2 2, for example, 10.10.9.100 ~ Section 255. Do you have more than 255 PCs )? The mask uses 255.255.0.0, And the ip address can be set from 10.10.1-254). 1-254). If not, use 255.255.255.0. Ip from 10.10.9.1-254 ).

Edit recommendations]

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.