A non-transitory machine-readable storage medium that provides instructions that, if executed by a processor of a network device implementing a first provider edge (PE) providing multihoming in an ethernet virtual private network (EVPN), will cause the first PE to perform operations for proactively learning and advertising host addresses in the EVPN, the operations comprising:
- receiving a first address advertisement message from a second PE in the EVPN, wherein the first address advertisement message includes an internet protocol (IP) address associated with a host that is reachable via the second PE and an ethernet segment identifier identifying an ethernet segment;
- responsive to receiving the first address advertisement message and determining that the first PE is attached to the ethernet segment identified by the ethernet segment identifier, sending an address resolution request message for the IP address included in the first address advertisement message via a local interface;
- receiving an address resolution response message corresponding to the address resolution request message via the local interface, wherein the address resolution response message includes a media access control (MAC) address corresponding to the IP address;
- and
- responsive to receiving the address resolution response message, sending a second address advertisement message to one or more remote PEs in the EVPN, wherein the second address advertisement message includes the MAC address corresponding to the IP address.