Integrated routing and bridging (IRB) provides simultaneous support for Layer 2 bridging and Layer 3 routing on the same interface. IRB enables you to route packets to another routed interface or to another bridge domain that has an IRB interface configured. You configure a logical routing interface by including the irb statement at the [edit interfaces] hierarchy level and include that interface in the bridge domain. For more information about how to configure a routing interface, see the JUNOS Network Interfaces Configuration Guide.
![]() |
Note: You can include only one routing interface in a bridge domain. |
To configure a bridge domain with IRB support, include the following statements:
- [edit]
-
bridge-domains {
-
-
bridge-domain-name {
-
domain-type bridge;
-
vlan-id (none | number);
-
vlan-tags outer number inner number;
-
interface interface-name;
-
routing-interface routing-interface-name;
- }
- }
For each bridge domain that you configure, specify a bridge-domain-name. You must also specify bridge as the domain-type.
For the vlan-id statement, you can specify either a valid VLAN identifier or the none option. For more information about configuring VLAN identifiers, see Configuring VLAN Identifiers for a Bridge Domain or a VPLS Routing Instance.
![]() |
Note: If you configure a routing interface to support IRB in a bridge domain, you cannot use the all option for the vlan-id statement. |
The vlan-tags statement enables you to specify a pair of VLAN identifiers; an outer tag and an inner tag.
![]() |
Note: For a single bridge domain, you can configure either the vlan-id statement or the vlan-tags statement, but not both. |
To include one or more logical interfaces in the bridge domain, specify the interface-name for each Ethernet interface to include that you configured at the [edit interfaces] hierarchy level.
![]() |
Note: A maximum of 4000 active logical interfaces are supported on a bridge domain or on each mesh group in a VPLS routing instance configured for Layer 2 bridging. |
To associate a routing interface with a bridge domain, include the routing-interface routing-interface-name statement and specify a routing-interface-name you configured at the [edit interfaces irb] hierarchy level. You can configure only one routing interface for each bridge domain. For more information about how to configure logical and routing interfaces, see the JUNOS Network Interfaces Configuration Guide.
Beginning with JUNOS Release 9.0, IRB interfaces are supported for multicast snooping. For more information about multicast snooping, see the JUNOS Multicast Protocols Configuration Guide.