Hi everybody,
Please consider following simple EVPN set up:
HOST1 ------------MX1------Cloud-----MX4---HOST2
MX1 and MX2 are PE with EVPN instance defined.
#HOST1##
MAC:aa:aa:aa;aa:aa:aa
IP: 100.100.100.1/24
#HOST2##
MAC:22.22.22.22.22.22
IP: 100.100.100.2/24
MX4 has following EVPN table:
root@MX4> show route table EVPN-1.evpn.0
2:1.1.1.1:1::0::aa:aa:aa:aa:aa:aa/304 MAC/IP
*[BGP/170] 00:00:41, localpref 100, from 2.2.2.2
AS path: I, validation-state: unverified
> to 24.24.24.2 via ge-0/0/0.0, Push 18
2:1.1.1.1:1::0::aa:aa:aa:aa:aa:aa::100.100.100.1/304 MAC/IP
*[BGP/170] 00:00:41, localpref 100, from 2.2.2.2
AS path: I, validation-state: unverified
> to 24.24.24.2 via ge-0/0/0.0, Push 18
So we have two routes, one is MAC , the other one is MAC+IP for host1.
Let say host 2 ( 100.100.100.2) sends ping to 100.100.100.1 with destination mac: aa:aa:aa:aa:aa:aa
Which entry will MX4 use to forward this packet? is it 2:1.1.1.1:1::0::aa:aa:aa:aa:aa:aa/304 MAC/IP or
2:1.1.1.1:1::0::aa:aa:aa:aa:aa:aa::100.100.100.1/304 MAC/IP ?
Thanks in advance!!