Routing

Expand all | Collapse all

Bridge Domain on MX

Jump to Best Answer
  • 1.  Bridge Domain on MX

    Posted 04-09-2018 02:15

    Hello guys,

     

    Any input from you guys would be greatly appreciated

     

    Host1----------MX1-----MX2-----------Host2

     

    I need to have Layer 2 connectivity between Host1 and 2. Currently, both of them are connected via two switches and works fine. 

    Let's say if I replace the switch with the MX routers and still I need to provide L2 connectivity. I  decided to use bridge domains.

     

    MX1 ge-0/0/1 interfaces connected to Hosts and ge-0/0/0 interfaces between both MXs. 

     

    MX1 and MX2

    set bridge-domains VLAN10 vlan-id 10

    set interfaces ge-0/0/1 unit 0 family bridge interface-mode access
    set interfaces ge-0/0/1 unit 0 family bridge vlan-id 10

     

    set interfaces ge-0/0/0 flexible-vlan-tagging
    set interfaces ge-0/0/0 encapsulation flexible-ethernet-services

    set interfaces ge-0/0/0 unit 15 encapsulation vlan-bridge
    set interfaces ge-0/0/0 unit 15 family bridge interface-mode trunk
    set interfaces ge-0/0/0 unit 15 family bridge vlan-id-list 10-20

     

    (Reason for the interface mode trunk is I have another Host 3 and 4 on different VLAN)

    Everything works fine and I have L2 connectivity.

     

    Let's say I need L3 connectivity between two MXs, how can I achieve this without assigning a VLAN-ID to the family inet logical unit.

    If I assign VLAN-ID 1, what impact it would have?

     

    MX1

    set interfaces ge-0/0/0 unit 0 vlan-id 1
    set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24
    set interfaces ge-0/0/0 unit 0 family mpls

     

    MX2

    set interfaces ge-0/0/0 unit 0 vlan-id 1
    set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.2/24
    set interfaces ge-0/0/0 unit 0 family mpls

     

    Not sure If I explain al the info in detail, please let mw know if you have any questions 🙂

     

    Thanks in advance

     

     

     

     



  • 2.  RE: Bridge Domain on MX
    Best Answer

     
    Posted 04-09-2018 18:26

    Hi,

     

    You need to assign a vlan-id to the inet interface to separate the traffic from the BD's. The impact is that you are unable to use vlan 1 within the BD. I have deployed MX's with this same interface configuration to support layer 2 and layer3 mpls on the same physical interface.

     

    The inet interface is allocated a high number that is outside the range allocated for the site LANs.

     

    Tim



  • 3.  RE: Bridge Domain on MX

    Posted 04-11-2018 06:01

    Thanks