Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Virtual Local area Network experiment-hybrid- routing Comprehensive experiment

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

-- Virtual local area network experiment-- hybrid- routing comprehensive experiment I. Preface

What is hybrid?

Hybrid is a port mode of Huawei and H3C switch. this interface can also allow multiple VLAN frames to pass through and specify which VLAN data frames are stripped from the label, mainly to achieve high isolation of wavelength division and multiplexing. When receiving data, Hybrid port and Trunk port deal with the same way of thinking, the only difference is that when sending data, Hybrid port has the function of untagging multiple VLAN tags, and Hybrid port can allow multiple VLAN messages to be sent without tagging, thus increasing the flexibility of the network and increasing security to a certain extent, while Trunk ports only allow default VLAN messages to be sent without tagging. Hybrid port and Trunk port can be switched directly. The Hybrid function can be used instead of the corresponding function that the Ethernet port of the Quidway small Business switch is set to the Trunk type. VLAN based on MAC addresses, protocols, and IP subnets is only valid for Hybrid port configurations.

two。 Experimental topology diagram

mark

three。 Experimental requirements

1. Brief introduction of pc1pingpc2 process

two。 Brief introduction of pc3pingpc5 process

3. Brief introduction of pc2pingpc5 process

four。 Experimental procedure

Let's start with the simplest configuration. Configure the two routers first. R1PowerR2 is configured as follows

mark

mark

R2 configuration is the same as R1 steps

mark

mark

After the two routers are configured, let's configure sw1 and sw2

First configure sw1's interface g0UniUnideb2.

mark

Sw1's g0UniUnix 1 interface

mark

Sw1's e0Compact 0Compact 1

mark

The step of sw1 e0Uniqq2 is the same as that of e0Uniqqq1.

mark

Next, configure sw2

Sw2's G0UniUnix 2 interface

mark

Sw2's g0UniUnix 1 interface

1573213425911

Sw2's e0UniUniplex 1 interface

mark

Sw2's e0UniUnix 2 interface

mark

Finally, we set up the PC, as shown in the picture.

Pc1

mark

Pc2

mark

Pc3

mark

Pc4

mark

Pc1pingpc2

mark

Pc2pingpc4

mark

Pc3pingpc4

mark

five。 Forwarding proc

1. Pc1 ping Pc2 forwarding process

The two PC belong to different network segments, so they need to be routed through the gateway. If pc1 wants to go to the gateway, first check the untag table through sw1,sw1. There are 10, untagged, 10 tagged and released. When you go to the 10-segment gateway, check the untag table by r1Mui-> R2-- > sw2,sw2. There are 10, untagged, tagged 20 to release, to sw1, and then to pc2 through access.

2. Pc3 ping Pc4 forwarding process

The two PC belong to the same network segment and do not need to go through the routing gateway. This forwarding belongs to layer 2 forwarding. The pc3 needs to check the untag table through sw2,sw2. If there are 10, untagged and labeled 20, it will be released to pc4.

3. Pc2 ping Pc4 forwarding process

The two PC belong to different network segments, so they need to be routed through the gateway. If pc2 wants to go to the corresponding gateway, it needs to check the untag table through sw1,sw1. There are 20, untagged, 10 tags released, go to sw2,sw2 to check untang tables, there are 10, untagged, 20 tagged release. When you go to the 20 segment gateway, the untag table is checked by R2UV-> R1-> sw1,sw1. There are 20, untagged, 10 tagged release, access to sw2,sw2 to check untag, there are 10. Take off the tag, label 20 to release, and go to PC5.

six。 Summary

This experiment is a slightly complicated comprehensive experiment. If I hadn't recorded the video, the experiment would have been difficult again. There are more orders in this experiment. Children's shoes that you can't remember can be abbreviated directly, but you should understand the meaning of shorthand. In addition to the configuration of various routes and switches, the principle of the experiment must be clear, how to label, release and so on, I also asked the boss to understand.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report