The LAN is divided into two different CIDR blocks.

Source: Internet
Author: User


The LAN is divided into two different CIDR blocks: Router 1 Address: 192.168.1.1 router 2 address: 192.168.2.1

Step 1:
First, we pull a network cable from any vswitch in the LAN (CIDR Block 1) to the WAN Interface of our 2nd routers, connect a network cable to our computer on the 1-4 interface of vro2 2. (Vro2 2 ):
Www.2cto.com
 

(Figure 1)
 
 

(Figure 2)
Step 2:
If the default IP address of vro2 2 is 192.168.1.1, we need to set the IP address and gateway of the Local Machine, depending on the situation in the company. Here we set the IP address to 192.168.1.100 (set by yourself, but do not conflict with the IP address of vro1 1). The Gateway is 192.168.1.1. Log on to vro2 2 and set it. The settings are as follows:
Network Parameter-set the LAN port, and change the IP address to the network segment we want to set, that is, 192.168.2.1 (if it is a 3 network segment, you can set it to 192.168.3.1)
We are divided into 2 CIDR blocks, so we need to change the address of vro2 2 to 192.168.2.1.
 


(Figure 3) www.2cto.com
Then let's change the local network settings as follows:
 

 
(Figure 4)
Note: Set the preferred DNS server on the local machine to 8.8.8.8 or 202.106.0.20.
Step 3:
Then we log on to vro2 2 again to set it.
Select "Network Parameters"-"WAN interface settings"-"WAN port connection type", and select "static IP ". Change the IP address to 192.168.1.2, subnet mask: 255.255.255.0, and Gateway: 192.168.1.1.
Note: the IP address of the WAN Interface of vro2 2 is the IP address connected to the Internet, which is equivalent to connecting to our 1 network segment instead of 192.168.1.1. The IP address here can be any IP address of the 1 network segment (except the occupied IP address ).
As shown in:
 


(Figure 5)
After setting, click "save" and exit.
At this time, our local machine belongs to the 2 CIDR Block and can also access the internet.


 

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.