Hi everyone!
I am currently studying for an exam using Juniper vLabs. Within "OSPF Multi-area" sandbox, I tried connecting vMX1 and vMX2 with a trunk link. Then I setup IRB interfaces on both devices and bind them to their bridge domains. However, it doesn't seem like it can ping each other. I've tried various configurations from the internet but non works so far. Below are some debugging of the interfaces and the configurations.
Configuration
interfaces {
ge-0/0/2 {
unit 0 {
family bridge {
interface-mode trunk;
vlan-id-list 100;
}
}
}
irb {
unit 100 {
family inet {
address 10.100.0.1/24;
}
}
}
}
bridge-domains {
VLAN100 {
domain-type bridge;
vlan-id 100;
routing-interface irb.100;
}
}
Show commands
jcluser@vMX1# run show interfaces ge-0/0/2
Physical interface: ge-0/0/2, Enabled, Physical link is Up
Interface index: 151, SNMP ifIndex: 529
Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 1000mbps, BPDU Error: None, Loop Detect PDU Error: None,
Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled,
Remote fault: Online
Pad to minimum frame size: Disabled
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Current address: 00:50:56:be:b5:9b, Hardware address: 00:50:56:be:b5:9b
Last flapped : 2024-08-18 16:30:04 UTC (00:57:41 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
Active alarms : None
Active defects : None
PCS statistics Seconds
Bit errors 0
Errored blocks 0
Ethernet FEC statistics Errors
FEC Corrected Errors 0
FEC Uncorrected Errors 0
FEC Corrected Errors Rate 0
FEC Uncorrected Errors Rate 0
Interface transmit statistics: Disabled
Logical interface ge-0/0/2.0 (Index 332) (SNMP ifIndex 545)
Flags: Up SNMP-Traps 0x24024000 Encapsulation: Ethernet-Bridge
Input packets : 0
Output packets: 40
Protocol bridge, MTU: 1514
Flags: Is-Primary, Trunk-Mode
jcluser@vMX1# run show bridge domain
Routing instance Bridge domain VLAN ID Interfaces
default-switch VLAN100 100
ge-0/0/2.0
jcluser@vMX1# run show interfaces terse | match ge
ge-0/0/0 up up
ge-0/0/0.0 up up inet 10.100.12.1/24
ge-0/0/1 up up
ge-0/0/1.0 up up inet 10.100.14.1/24
ge-0/0/2 up up
ge-0/0/2.0 up up bridge
ge-0/0/3 up up
ge-0/0/3.0 up up inet 10.100.15.1/24
jcluser@vMX1# run show interfaces terse | match irb
irb up up
irb.100 up up inet 10.100.0.1/24
jcluser@vMX1# run show route 10.100.0.0/24
inet.0: 24 destinations, 24 routes (24 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.100.0.0/24 *[Direct/0] 00:49:59
> via irb.100
10.100.0.1/32 *[Local/0] 00:49:59
Local via irb.100
vMX3
Configuration
interfaces {
ge-0/0/2 {
unit 0 {
family bridge {
interface-mode trunk;
vlan-id-list 100;
}
}
}
irb {
unit 100 {
family inet {
address 10.100.0.3/24;
}
}
}
}
bridge-domains {
VLAN100 {
domain-type bridge;
vlan-id 100;
routing-interface irb.100;
}
}
Show commands
jcluser@vMX3# run show interfaces ge-0/0/2
Physical interface: ge-0/0/2, Enabled, Physical link is Up
Interface index: 151, SNMP ifIndex: 529
Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 1000mbps, BPDU Error: None, Loop Detect PDU Error: None,
Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled,
Remote fault: Online
Pad to minimum frame size: Disabled
Device flags : Present Running
Interface flags: SNMP-Traps Internal: 0x4000
Link flags : None
CoS queues : 8 supported, 8 maximum usable queues
Current address: 00:50:56:be:63:a6, Hardware address: 00:50:56:be:63:a6
Last flapped : 2024-08-18 16:30:26 UTC (00:55:55 ago)
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
Active alarms : None
Active defects : None
PCS statistics Seconds
Bit errors 0
Errored blocks 0
Ethernet FEC statistics Errors
FEC Corrected Errors 0
FEC Uncorrected Errors 0
FEC Corrected Errors Rate 0
FEC Uncorrected Errors Rate 0
Interface transmit statistics: Disabled
Logical interface ge-0/0/2.0 (Index 332) (SNMP ifIndex 545)
Flags: Up SNMP-Traps 0x24024000 Encapsulation: Ethernet-Bridge
Input packets : 0
Output packets: 20
Protocol bridge, MTU: 1514
Flags: Is-Primary, Trunk-Mode
jcluser@vMX3# run show bridge domain
Routing instance Bridge domain VLAN ID Interfaces
default-switch VLAN100 100
ge-0/0/2.0
jcluser@vMX3# run show interfaces terse | match ge
ge-0/0/0 up up
ge-0/0/0.0 up up inet 10.100.34.1/24
ge-0/0/1 up up
ge-0/0/1.0 up up inet 10.100.23.2/24
ge-0/0/2 up up
ge-0/0/2.0 up up bridge
ge-0/0/3 up down
ge-0/0/3.16386 up down
ge-0/0/4 up up
ge-0/0/4.0 up up inet 10.100.35.1/24
jcluser@vMX3# run show interfaces terse | match irb
irb up up
irb.100 up up inet 10.100.0.3/24
jcluser@vMX3# run show route 10.100.0.0/24
inet.0: 24 destinations, 24 routes (24 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
10.100.0.0/24 *[Direct/0] 00:48:53
> via irb.100
10.100.0.3/32 *[Local/0] 00:48:53
Local via irb.100
------------------------------
Khine Lin Kyaw
------------------------------