IOS to Junos (I2J) Tips
IOS to Junos (I2J) Tips

bridge irb

‎04-30-2012 07:53 AM

 

 

  Hi All.

 

  Here you have a basic configuration about bridge groups and IRB. To those don't know what is it, Integrated Routing and Bridging. This is the way to extend a Vlan across routers, routers that can't offer ethernet switching services or through non ethernet interfaces.

 

  First have to configure the bridge group, and assign this to the interfaces that will belong to the same bridge domain. The bridge route ip will allow to configure the L3 or routed interface that will bind to the bridge group.

 

 

--------------------------------------------------------------------
IOS configuration

--------------------------------------------------------------------

 

----------------------------------------------------------------------------------------

R1 configuration

----------------------------------------------------------------------------------------

 

bridge irb

bridge 100 protocol ieee
bridge 100 route ip

 

interface GigabitEthernet 0/0

  description Link with R2 Ge0/0

  bridge-group 100

 

interface BVI100

  ip add 1.1.1.1 255.255.255.0

 

----------------------------------------------------------------------------------------

R2 configuration

----------------------------------------------------------------------------------------

 

bridge irb

 

bridge 100 protocol ieee
bridge 100 route ip

 

interface GigabitEthernet 0/0

  description Link to R1 Ge 0/0

  bridge-group 100

 

interface GigabitEthernet 0/1

 description Link to R3 Ge 0/1

  bridge-group 100

 

interface BVI100

  ip add 1.1.1.2 255.255.255.0

 

 

----------------------------------------------------------------------------------------

R3 configuration

----------------------------------------------------------------------------------------

 

bridge irb

 

bridge 100 protocol ieee
bridge 100 route ip

 

interface GigabitEthernet 0/1

  bridge-group 100

 

interface BVI100

  ip add 1.1.1.3 255.255.255.0

 

 

 

 

--------------------------------------------------------------------
JunOS configuration

--------------------------------------------------------------------

 

--------------------------------------------------------------------
R1 configuration
--------------------------------------------------------------------

 

/* We could configure ethernet interfaces both in access or trunk mode, but have to assign vlan. */

set interfaces ge-1/1/0 unit 0 family bridge interface-mode access
set interfaces ge-1/1/0 unit 0 family bridge vlan-id 100
set interfaces ge-1/1/0 description "Link to R2 ge-1/1/0"

 

/* This is the L3 interface that belongs to the bridge domain. */

set interfaces irb unit 100 family inet address 1.1.1.1/24

 

/* This is how we configure the bridge-group under JunOS. Have to configuration the domain type, vlan id, and bind the routing L3 interface to this domain.

*/
set bridge-domains vlan100 domain-type bridge
set bridge-domains vlan100 vlan-id 100
set bridge-domains vlan100 routing-interface irb.100

 


--------------------------------------------------------------------
R3 configuration
--------------------------------------------------------------------

 

/* Repeat configuration above. */

 

set interfaces ge-1/1/0 unit 0 family bridge interface-mode access
set interfaces ge-1/1/0 unit 0 family bridge vlan-id 100
set interfaces ge-1/1/0 description "Link to R1 ge-1/1/0"


set interfaces ge-1/1/1 unit 0 family bridge interface-mode access
set interfaces ge-1/1/1 unit 0 family bridge vlan-id 100
set interfaces ge-1/1/1 description "Link to R3 ge-1/1/1"

set interfaces irb unit 100 family inet address 1.1.1.2/24


set bridge-domains vlan100 domain-type bridge
set bridge-domains vlan100 vlan-id 100
set bridge-domains vlan100 routing-interface irb.100

 

--------------------------------------------------------------------
R3 configuration
--------------------------------------------------------------------

 

/* Repeat configuration above. */

 

set interfaces ge-1/1/1 unit 0 family bridge interface-mode access
set interfaces ge-1/1/1 unit 0 family bridge vlan-id 100
set interfaces ge-1/1/1 description "Link to R2 ge-1/1/1"

set interfaces irb unit 100 family inet address 1.1.1.3/24


set bridge-domains vlan100 domain-type bridge
set bridge-domains vlan100 vlan-id 100
set bridge-domains vlan100 routing-interface irb.100

 

 

 

--------------------------------------------------------------------
Verifications

--------------------------------------------------------------------

 

 

IOS

 

show bridge X

show bridge verbose

 

JunOS

 

show bridge domain

show bridge mac-table

 

 

 

Br
Alex

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

If you want to say thanks, the word is Kudos!!.

Thx.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

JNCIA-JUNOS, JNCIS-ENT, JNCIS-SP, JNCIP-SP.
CCNA, CCNP, Written CCIE.