Analysis on layer-2 bridging of Cisco Routers

Source: Internet
Author: User

Analysis of the layer-2 bridging function of a Cisco router a router has been widely used in the process of establishing a modern enterprise LAN. When a router enables a sub-interface,
Supports a variety of data frame encapsulation (such as ISL and 802 .. 1Q), the Layer 2 bridging function of the router, that is, the data frame
The processing capability plays an active role, so that we can use routers to connect Layer 2 devices with different frame encapsulation standards. Cisco routers provide Integrated Routing and Bridging (IRB) functions.
When IRB is configured, protocol data streams that are not routable can be switched over ports configured as the same bridge group,
Protocol data streams that can be routed are routed between other routing ports or different bridge groups. Sub-interface
Add to different bridge groups. Each bridge group corresponds to a BVI Virtual Interface,
Routing Between Different BVI or between BVI and other ports can be achieved. Www.2cto.com
I. Two vswitches want to use a unified VLAN division. Even if the clients connected to VLAN 1 of SW1 and the clients connected to VLAN 1 of SW2 use the same network segment and the same gateway,
And the clients accessing VLAN 2 of SW1 and VLAN 2 connected to SW2 use the same network segment and the same gateway,
In this case, you need to enable the Layer 2 bridging function of the router.
2. The specific configurations of the vro are described as follows: Enable two sub-interfaces F0/0.1 and F0/0.2 on the vrof0 F0/0 interface, both of which adopt ISL frame encapsulation: int f0/0.1 encapsulation ISL 1 int f0/0.2 encapsulation ISL 2 enable two sub-interfaces F0/1.1 and F0/1.2 On the F0/1 interface of the router, both of which adopt the 802.1Q frame encapsulation: int f0/1.1 encapsulation dot1q 1 int f0/1.2 encapsulation dot1q 2 add F0/0.1 and F0/1.1 to bridge group 1: int f0/0.1 bridge-group 1 int f0/1.1 bridge-group 1 add F0/0.2 and F0/1.2 to bridge group 2: int f0/0.2 bridge-group 2 int f0/1.2 bridge -Create bridge-group 1 and 2 in group 2 Global mode: www.2cto.com bridge 1 protocol ieee // the ieee option here enables the IEEE Spanning Tree protocol bridge 2 protocol ieee in global mode to specify the protocol to be bridging: bridge 1 route ip bridge 2 route ip in global mode enable integrated routing and bridging: bridge irb create BVI logical port and configure ip Address: interface bvi 1 ip add 192.168.1.1 255.255.255.0 interface bvi 2 ip add 192.168.2.1 255.255.255.255.255.0 follow the steps above to use the Layer 2 bridging function of the router. I hope you will get some benefits.
This article is from the fat shark network.

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.