2. Referencethe IRB interfaceat the bridge domain level of the configuration.
IRBsupports Layer 2 bridging and Layer 3 routing on the same interface.If the MAC
addresson the arriving frame is the same as that of the IRB interface,then the packet
insidethe frame is routed.Otherwise, the MAC address is learned or lookedup in the MAC
addressdatabase.
NOTE: YouconfigureIRB on Router 2 and Router 3. The Virtual Router
RedundancyProtocol(VRRP) is configured on the IRB interface so that both
linkscan be used to carry traffic between the bridgedomain and the router
network.
Toconfigure IRB on Router2 and Router 3:
1. Configurethe router link and IRB on Router 2:
[edit]
interfaces{
xe-2/1/0{
unit0 {
familyinet {
address10.0.10.2/24;# Routing interface
}
}
}
irb{
unit0 {
familyinet {
address10.0.1.2/24 {
vrrp-group1 {
virtual-address10.0.1.51;
priority254;
}
}
}
}
unit1 {
familyinet {
address10.0.2.2/24 {
vrrp-group2 {
virtual-address10.0.2.51;
priority100;
}
}
}
}
}
}
bridge-domains{
vlan-100{
domain-typebridge;
vlan-id100;
interfacege-2/2/2.100;
35Copyright© 2010, Juniper Networks,Inc.
Chapter2: Basic Layer 2 Featureson MX Series Routers