[an error occurred while processing this directive][an error occurred while processing this directive]

Configuring Integrated Routing and Bridging for a Bridge Domain in a Layer 2 Virtual Switch

Integrated routing and bridging (IRB) provides simultaneous support for Layer 2 bridging and Layer 3 IP routing on the same interface. IRB enables you to route local packets to another routed interface or to another bridge domain that has a Layer 3 protocol configured. You configure a logical routing interface by including the irb statement at [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 virtual switch with IRB support, include the following statements:

[edit]routing-instances {routing-instance-name {instance-type virtual-switch;bridge-domains {bridge-domain-name {domain-type bridge;interface interface-name;routing-interface routing-interface-name;vlan-id (none | number);vlan-tags outer number inner number;}}}}

To enable a virtual switch, you must specify virtual-switch as the instance-type. The instance-type virtual-switch statement is not supported at the [edit logical-systems logical-system-name] hierarchy level.

For each bridge domain that you configure for the virtual switch, specify a bridge-domain-name. You must also specify the value bridge for the domain-type statement.

For the vlan-id statement, you can specify either a valid VLAN identifier or the none option.

Note: For a single bridge domain, you can include 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 irb] hierarchy level.

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.

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.


Published: 2010-05-11

[an error occurred while processing this directive]