Any input from you guys would be greatly appreciated
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 accessset interfaces ge-0/0/1 unit 0 family bridge vlan-id 10
set interfaces ge-0/0/0 flexible-vlan-taggingset interfaces ge-0/0/0 encapsulation flexible-ethernet-services
set interfaces ge-0/0/0 unit 15 encapsulation vlan-bridgeset interfaces ge-0/0/0 unit 15 family bridge interface-mode trunkset 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?
set interfaces ge-0/0/0 unit 0 vlan-id 1set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24set interfaces ge-0/0/0 unit 0 family mpls
set interfaces ge-0/0/0 unit 0 vlan-id 1set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.2/24set 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
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.