Understanding Bridge Virtual Interface
Understanding Bridge Virtual Interface
Introduction:
Prerequisites
Requirements
Components Used
Bridge-Group Virtual Interface: (BVI): For platforms running IOS
Bridge Domain Interface (BDI): For platforms running IOS-XE
Introduction
This document helps in understanding the concept of BDI (Bridge Domain Interface) and BVI
(Bridge group Virtual Interface).
BVI and BDI interfaces are routed interfaces that represent a set of interfaces that are bridged.
For example, say that you want to bridge two interfaces on the router and want them to be in the
same Layer-2 broadcast domain. In this scenario, BVI/BDI interface would act as the routed
interface for those two bridged physical interfaces. All the packets coming in or going out of these
bridged interfaces will have to pass through the BVI/BDI interface.
Prerequisites
Requirements
Components Used
The information in this document is based on ISR router (for BVI) and ASR1K (for BDI).
Bridge-Group Virtual Interface: (BVI): For platforms running
IOS
A router will not allow us to configure two or more Layer-3 interfaces in the same broadcast
domain(Two or more interfaces in the same subnet). Let us consider a scenario where you want to
connect two PCs to the router and have them part of the same subnet in addition to internet
access from both the PCs.
Bridge-group --- Groups the physical interfaces into one logical group
On ISR-3:
=========
bridge irb
bridge 1 protocol ieee
bridge 1 route ip
! ISR-1: ISR-2:
interface GigabitEthernet0/0/1 ===== =====
bridge-group 1 int fa0/0 int fa0/0
! ip address 10.10.10.1 ip address 10.10.10.2
interface GigabitEthernet0/0/2 255.255.255.0 255.255.255.255
bridge-group 1
!
interface BVI 1
ip address 10.10.10.10
255.255.255.0
Bridge domain interface is a logical interface that allows bidirectional flow of traffic between a
Layer-2 bridged network and a Layer-3 routed network.
Here are couple of scenarios the describes the use of the Bridge Domain concept on IOS-
XE platforms:
A) Fa0/1 on both the switches are Layer-3 interfaces and are in the same broadcast domain. BDI
interface configuration on ASR is not required if the motive is to just establish connectivity
between the two switches.
ASR 1K:
======
interface GigabitEthernet1/2/3
no ip address
negotiation auto
cdp enable
service instance 100 ethernet SW1: SW2:
encapsulation untagged ===== =====
bridge-domain 100 interface FastEthernet0/1 interface FastEthernet0/1
! no switchport no switchport
interface GigabitEthernet1/2/4 ip address 10.1.1.1 255.255.255.0 ip address 10.1.1.3 255.255.255.0
no ip address
negotiation auto
cdp enable
service instance 100 ethernet
encapsulation untagged
bridge-domain 100
BGL.Q.16-3500-1#ping 10.1.1.3
!!!!!
Note: If you want to route outside of the ASR, BDI interface configuration is required.
interface BDI100
Configure separate Ethernet virtual circuits (EVC) under the physical interface for each of the
vlans. Bridge-domain is not supported under the sub-interface.
Here we have two vlans. Vlan 100 and vlan 200 to be bridged:
BGL.Q.16-3500-1#ping 10.1.1.3
!!!!!
BGL.Q.16-3500-1#ping 20.1.1.3
!!!!!