Diagram of how a wireless router works with a vswitch

Source: Internet
Author: User

Diagram of how a wireless router works with a vswitch

Today, I encountered a problem when studying serial port application programming in embedded linux. After I connected my PC to the Development Board through a network cable, I couldn't access the Internet, and I had no money to use any wlan, I have a wireless router in my lab, and then I will stick it up for a while. I can access the Internet through a wireless route without affecting other friends in the lab to connect to the Internet through a switch. Take a note below.
Background: My lab has a total of seven independent IP addresses, all of which are campus networks. Now, I want to connect one of the ports of a vswitch to a wireless router through a network cable. Then, I access the Internet through a wireless router without affecting other users to access the Internet through the vswitch. It is a block diagram:
 
I believe you will probably know how to connect to this block diagram. The following is the configuration problem.
Here, the network segment of our lab is 211.64.20.156-211.64.425162. It turns out that the IP address I used for Wired connection is 211.64.20.162. Now I still use this IP address, in fact, the essence is to set the IP address of the wireless router to 211.64.425162. The steps are as follows:
1. Power your wireless router in, and the five ports of the wireless router are not connected to the network cable.
2. Find the name of your vro through the wireless search function of your computer, and then click "Connect ". The name of my wireless router is TP-LINK_C4E620
 
Click Connect. A dialog box is displayed.
 
Click "OK" and enter your vropin PIN. You can find the vropin PIN on the back of your vro.
 
Enter the PIN and click "Next ",
 
Enter a name for your wireless network and click "Next". The setting successful box shown in figure is displayed.
 
 

You can see that we are already connected to the wireless router, but we are not able to access the Internet now. Further configuration is required.
 
Enter the IP address of the vro in your browser. Note that the initial values of the vro IP address are all written on your vro. Generally, they are 192.168.1.1. Enter the IP address and press Enter.
 
 

You can also view the user name and password on your wireless router. Enter the user name and password and select OK. The configuration page is displayed.
Select Wireless Settings/basic configuration, which is mainly to modify your SSID name. The other settings remain unchanged by default. Click Save
 
In wireless settings select wireless security settings, select WPA-PSK/WPA2-PSK, and then enter your password in the PSK password, here is your subsequent login password; then, select 0 in the primary key update period. The other values remain unchanged by default. Click Save.
 
 
Select "network parameters/LAN port settings" and enter the actual IP address in the IP address column. Here is the 211.64.20.162 allocated to me, and click Save. The following prompt box is displayed:
 
Click OK
At this time, the interface cannot be connected to the network. That is because we changed the IP address of the router in the previous step. Of course, the interface cannot be connected.
Next, connect one end of your network cable to the vswitch, and the other end to any LAN port of the vro. Do not connect to the WAN port, right-click "properties" on your network name, enter the password you set last time, connect to your route, and enter the actual address you just set in the input column, here I am 211.64.20.162,
 
Press Enter, prompting you to Enter the user name. Just Enter the user name, click OK, and return to the configuration page again.
Select the DHCP server/DHCP service. This is the most important step in setting. Select enable the DHCP server and enter a virtual IP address at the start address of the address pool. If your IP address is 192.168.0.0, you can set the address pool range to 192.168.0.1 ~ 192.168.0.x (x is an arbitrary value, but do not set it too large to save unnecessary trouble ).
 
Click Save"
 
Click restart vro
This time is not complete, because the connection is not connected to the Internet.
You also need to configure in your wireless network, right-click on your wireless network, and configure IPV4
 
In the IP4 configuration bar, enter any number of IP addresses in the IP address pool you set above.
 
After configuration, select OK.
 

Select "yes". Now you can 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.