With all due respect I don't think you understand. I'm talking about what leaf1 is doing inside the L2 virtual switch. Traffic never reaches the PE.
The vrf config is irrelevant here.
Sent from my iPhone
Well, that RIB group takes routes from VPN7 RIB and imports it into VPN10 RIB. Therefore, to import routes from VPN10 RIB into VPN7 RIB, you... -posted to the "Routing" community
Original Message:
Sent: 9/6/2024 1:34:00 AM
From: FARID AKHUNDOV
Subject: RE: EVPN-MPLS and inter-vlan communication
Well, that RIB group takes routes from VPN7 RIB and imports it into VPN10 RIB.
Therefore, to import routes from VPN10 RIB into VPN7 RIB, you should do the reverse.
------------------------------
FARID AKHUNDOV
------------------------------
Original Message:
Sent: 09-05-2024 08:50
From: arphillips
Subject: EVPN-MPLS and inter-vlan communication
Hi,
Whilst that is correct (although it works as is.) it doesn't answer why leaf1 is making switching decisions between vlans.
The VRF routes are separate from the L2 EVPN routes and the leaf knows nothing about the VRF routes.
Sent from my iPhone
Original Message:
Sent: 9/5/2024 8:42:00 AM
From: FARID AKHUNDOV
Subject: RE: EVPN-MPLS and inter-vlan communication
Hi,
Looks like on PE1 your rib-group to import routes from VPN10.inet.0 to VPN7.inet.0 seems to be wrong, you're using same rib-group under both routing instances -
routing-options { rib-groups { 7->10 { import-rib [ VPN7.inet.0 VPN10.inet.0 ]; import-policy ACCEPT_ALL; } }}
So, your second rib-group, to be applied under VPN10 routing-instance should be something like
routing-options { rib-groups { 10->7 { import-rib [ VPN10.inet.0 VPN7.inet.0 ]; import-policy ACCEPT_ALL; } }}
------------------------------
FARID AKHUNDOV
Original Message:
Sent: 09-03-2024 10:10
From: arphillips
Subject: EVPN-MPLS and inter-vlan communication
Hi,
I'm struggling to get my head around this and hoping someone can help.
I'm building out a POC using vMXs implementing an EVPN-MPLS based leaf/spine architecture. I've reached the point where most things work but there is one thing I can't understand.
I have a 2 leaf' connected to 2 hosts via multihoming with a trunk interface carrying vlan 7 and 10. on the leaf' I use virtual switches to ingest these frames and transport them up to PE devices. The PE devices contain the default gateways. The hosts can reach the default gateways.
The odd behaviour is that the hosts have an interface in vlans 7 & 10. If I ping host1's vlan 7 address from host2's vlan 10 address the traffic only goes to the leaf and then gets transported back down to the host. As it's crossing broadcast domains I would have expected it to travel up to the PE, be routed and then come back down to the leaf.
I've attached a screengrab of the topology. I've also attached configs for leaf1 and PE1, the 2s are just mirrors. The spines are just participating in the SR-ISIS domain.
Many thanks