beautypg.com

Juniper Networks JUNOS OS 10.4 User Manual

Page 55

background image

IRB supports Layer 2 bridging and Layer 3 routing on the same interface. If the MAC
address on the arriving frame is the same as that of the IRB interface, then the packet
inside the frame is routed. Otherwise, the MAC address is learned or looked up in the MAC
address database.

NOTE:

You configure IRB on Router 2 and Router 3. The Virtual Router

Redundancy Protocol (VRRP) is configured on the IRB interface so that both
links can be used to carry traffic between the bridge domain and the router
network.

To configure IRB on Router 2 and Router 3:

NOTE:

The configurations in this chapter are only partial examples of

complete and functional router configurations. Do not copy these
configurations and use them directly on an actual system. The ae1 and ae3
interfaces have been previously configured in

“Example Step: Configuring

Interfaces and VLAN Tags” on page 24

.

1.

Configure the router link and IRB on Router 2:

[edit]
interfaces {

xe-2/1/0 {

unit 0 {

family inet {

address 10.0.10.2/24; # Routing interface

}

}

}
irb {

unit 0 {

family inet {

address 10.0.1.2/24 {
vrrp-group 1 {

virtual-address 10.0.1.51;

priority 254;

}

}

}

}
unit 1 {

family inet {

address 10.0.2.2/24 {
vrrp-group 2 {

virtual-address 10.0.2.51;

priority 100;

}

}

}

}

35

Copyright © 2013, Juniper Networks, Inc.

Chapter 2: Basic Layer 2 Features on MX Series Routers