A virtual extensible local area network, VXLAN, packet processing method, wherein the method comprises: receiving, by a first provider edge, PE, device, a data packet from a first customer edge, CE, device; determining, by the first PE device, that the data packet is a broadcast, unknown unicast, and multicast, BUM, packet, and encapsulating the BUM packet into a first VXLAN packet, wherein the first VXLAN packet comprises a first Ethernet segment identifier, ESI, and the first ESI is used to identify an interface connecting the first PE device and the first CE device; and sending, by the first PE device, the first VXLAN packet to a second PE device, wherein the first CE device is connected to the first PE device and the second PE device through enhanced Trunk, E-Trunk, dual homing, the E-Trunk being a cross-device link aggregation protocol, the second PE device comprises a second ESI, the second ESI is used to identify an interface connecting the second PE device and the first CE device, the first ESI is equal to the second ESI, and the first ESI is used to instruct the second PE device not to forward the first VXLAN packet to the first CE device based on the first ESI; wherein the first PE device and the second PE device are connected using a VXLAN tunnel; wherein the first PE device and the second PE device are an active-active gateway, wherein an active-active gateway is when the first PE device and the second PE device form a load balancing group and both can carry a service, and forward a packet simultaneously; and wherein the method further comprises: receiving, by the first PE device, a third VXLAN packet sent by a third PE device, and determining that the third VXLAN packet comprises a BUM traffic label, wherein the BUM traffic label is used to indicate that the BUM packet is encapsulated in the third VXLAN packet; and when the interface connecting the first PE device and the first CE device is a secondary designated forwarder, DF, interface, skipping sending, by the first PE device, the third VXLAN packet to the first CE device, wherein the third PE device communicates with a second CE device. receiving, by a first provider edge, PE, device, a data packet from a first customer edge, CE, device; determining, by the first PE device, that the data packet is a broadcast, unknown unicast, and multicast, BUM, packet, and encapsulating the BUM packet into a first VXLAN packet, wherein the first VXLAN packet comprises a first Ethernet segment identifier, ESI, and the first ESI is used to identify an interface connecting the first PE device and the first CE device; and sending, by the first PE device, the first VXLAN packet to a second PE device, wherein the first CE device is connected to the first PE device and the second PE device through enhanced Trunk, E-Trunk, dual homing, the E-Trunk being a cross-device link aggregation protocol, the second PE device comprises a second ESI, the second ESI is used to identify an interface connecting the second PE device and the first CE device, the first ESI is equal to the second ESI, and the first ESI is used to instruct the second PE device not to forward the first VXLAN packet to the first CE device based on the first ESI; wherein the first PE device and the second PE device are connected using a VXLAN tunnel; wherein the first PE device and the second PE device are an active-active gateway, wherein an active-active gateway is when the first PE device and the second PE device form a load balancing group and both can carry a service, and forward a packet simultaneously; and wherein the method further comprises: receiving, by the first PE device, a third VXLAN packet sent by a third PE device, and determining that the third VXLAN packet comprises a BUM traffic label, wherein the BUM traffic label is used to indicate that the BUM packet is encapsulated in the third VXLAN packet; and when the interface connecting the first PE device and the first CE device is a secondary designated forwarder, DF, interface, skipping sending, by the first PE device, the third VXLAN packet to the first CE device, wherein the third PE device communicates with a second CE device. receiving, by the first PE device, a third VXLAN packet sent by a third PE device, and determining that the third VXLAN packet comprises a BUM traffic label, wherein the BUM traffic label is used to indicate that the BUM packet is encapsulated in the third VXLAN packet; and when the interface connecting the first PE device and the first CE device is a secondary designated forwarder, DF, interface, skipping sending, by the first PE device, the third VXLAN packet to the first CE device, wherein the third PE device communicates with a second CE device.