Virtual machines (VMs) residing on a Layer 2 extended network (VLAN) between an on-premises data center and a cloud site is is not able to communicate to OnPrem VM over L2C extended segment.
Symptoms:
Log Indicators: When DVS port group policies for MAC address changes and Forged transmits are set to Reject, the following error messages may appear in the HCX Network Extension appliance logs:
[Err-macUpdate] : Cannot send mac entries: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp <IP_ADDRESS>:8182: connect: connection refused"
OR
[Err-macUpdate] : Failed to stream update: rpc error: code = DeadlineExceeded desc = context deadline exceeded
Log Locations:
/var/log/messages* on the NE appliances.<bundle>/HCX/<appliance-name>-NE-*/var/log/messages*.When using HCX Network Extension (NE) to extend VLAN port groups associated with a vSphere Distributed Switch (DVS), the MAC address changes and Forged transmits policies must be in the Accept state.
If these policies are set to Reject, packets originating from a cloud VM can reach the on-premises NE appliance's sink port attached to the extended segment, but they are dropped by the DVS port group itself and fail to reach the on-premises VM.
Update the DVS security policies to Accept for the port groups involved in the HCX Network Extension.
Networking and select the Distributed Port Group used for the HCX Network Extension.Configure > Settings > Policies > Security.Edit and set the following policies to Accept:The difference between MAC Address Changes and Forged Transmits involves the direction of the traffic:
The HCX NE appliance requires both policies to be in the Accept state to bridge traffic effectively across the Layer 2 extension.