Configure layer-3 Switch for Huawei 3500

Source: Internet
Author: User
Today, I am doing a big internship in hcna experiment. I am based on a very full network system. The center switch is Huawei 3500, followed by two 3026 S, and uplinked to a vro, the route configuration is complete. on the Intranet, I have made two network segments, vlan20 (192.168.2.0), vlan30 (192.168.3.0), and The vro Intranet interface is 192.168.1.1, which is connected to E0/1 of 3500, e0/1 belongs to vlan10, And the IP address is 192.168.1.2. 3500 the configuration is as follows:

Interface VLAN Port-linktype Connected Device IP address of the connected Device Description
E0/1 Vlan10 Access Vro 192.168.1.1 Router connection
E0/2 Trunk all Trunk S3026a Connect to a vswitch
E0/3 Trunk all Trunk S3026b Connect to a vswitch

Vlan10: 192.168.1.2/24
Vlan20: 192.168.2.1/24
Vlan30: 192.168.3.1/24

IP route-static 0.0.0.0 0.0.0.0 192.168.1.1 (default route pointing to vro)

After the configuration is complete, ping all the machines in 3500 to communicate with each other. However, if you connect a computer 192.168.2.2 to 3026a, you cannot ping the router. You can ping all the IP addresses of layer-3 vswitch 3500. Later, I added a route entry to the vro:
IP route-static 192.168.2.0 0.0.0.0 192.168.1.2 (pointing to a layer-3 Switch)
IP route-static 192.168.3.0 0.0.0.0 192.168.1.2 (pointing to a layer-3 Switch)

In this way, the communication will be normal. On the surface, do you doubt "Do You Want to ping the router and add your own IP address in its route table ?"
In fact, let's think about how ping works. First, the PC sends a packet, and its gateway is a layer-3 Switch. Because it is vlan20, it sends it to 192.168.2.1, the routing function of the layer-3 Switch forwards data packets to 192.168.1.1 (on the vro1.1), because there is a default route pointing to it in the layer-3 switch, after receiving the ping packet, the router should return a response to 192.168.2.2 (the host that sent the ping packet), but because it does not have a route in it, it does not know who to return, therefore, we can't ping the client.

This experiment is basically a very detailed experiment in hcna. Due to the time relationship, I have no time to talk about it. When I have time, I will release all the topology diagrams. It also helps beginners.

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.