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