Understanding IRB
IRB provides Layer 2 bridging service between hosts that are within a Layer 2 domain. Also, it provides routing service for hosts that are in different subnets within a Layer 3 VPN.
Bridge-Group Virtual Interface
The BVI is a virtual interface within the router that acts like a normal routed interface. A BVI is associated with a single bridge domain and represents the link between the bridging and the routing domains on the router. To support receipt of packets from a bridged interface that are destined to a routed interface, the BVI must be configured with the appropriate IP addresses and relevant Layer 3 attributes. The BVI does not support bridging itself, but acts as a gateway for the corresponding bridge-domain to a routed interface within the router.
BVI supports these attributes, and has the following characteristics:
-
Uses a MAC address taken from the local chassis MAC address pool, unless overridden at the BVI interface.
-
Is configured as an interface type using the interface bvi command and uses an IPv4 or IPv6 address that is in the same subnet as the hosts on the segments of the bridged domain.
-
The BVI identifier is independent of the bridge-domain identifier.
-
BVI interfaces support a number range of 1 to 4294967295.
BVI Interface and Line Protocol States
Like typical interface states on the router, a BVI has both an Interface and Line Protocol state.
The BVI interface state is Up when the following occurs:
-
The BVI interface is created.
-
The bridge-domain that is configured with the routed interface bvi command has at least one available active bridge port (Attachment circuit [AC]).
Note
A BVI will be moved to the Down state if all of the bridge ports (Ethernet flow points [EFPs]) associated with the bridge domain for that BVI are down. However, the BVI will remain up if at least one bridgeport is up, even if all EFPs are down.
These characteristics determine when the the BVI line protocol state is up:
-
The bridge-domain is in Up state.
-
The BVI IP address is not in conflict with any other IP address on another active interface in the router.