A processing method for controlling packet broadcast, comprising: obtaining, by a first device, a cluster media access control MAC address of a target Network Load Balancing, NLB, cluster, and determining an egress port of the first device corresponding to the cluster MAC address; and establishing, by the first device, a cluster table, wherein the cluster table is used to record correspondence between address information and the egress port of the first device, and the address information comprises the cluster MAC address, so that the first device forwards a packet from the egress port of the first device corresponding to the cluster MAC address according to the cluster table after receiving the packet whose destination MAC address is the cluster MAC address; wherein: the first device is a layer-2 device; the obtaining, by a first device, a cluster MAC address, and determining an egress port of the first device corresponding to the cluster MAC address comprises: receiving, by the layer-2 device, a notification message sent by a layer-3 device, wherein the notification message comprises the cluster MAC address and a source MAC address; and determining, by the layer-2 device, an egress port of the layer-2 device corresponding to the source MAC address according to the source MAC address which is a private MAC address of an NLB node of the target NLB cluster, and determining that the egress port of the layer-2 device is the egress port of the first device corresponding to the cluster MAC address; and the establishing, by the first device, a cluster table comprises: establishing, by the layer-2 device, a cluster MAC table, wherein the cluster MAC table is used to record correspondence between address information of the layer-2 device and the egress port of the layer-2 device, and the address information of the layer-2 device comprises the cluster MAC address. obtaining, by a first device, a cluster media access control MAC address of a target Network Load Balancing, NLB, cluster, and determining an egress port of the first device corresponding to the cluster MAC address; and establishing, by the first device, a cluster table, wherein the cluster table is used to record correspondence between address information and the egress port of the first device, and the address information comprises the cluster MAC address, so that the first device forwards a packet from the egress port of the first device corresponding to the cluster MAC address according to the cluster table after receiving the packet whose destination MAC address is the cluster MAC address; wherein: the first device is a layer-2 device; the obtaining, by a first device, a cluster MAC address, and determining an egress port of the first device corresponding to the cluster MAC address comprises: receiving, by the layer-2 device, a notification message sent by a layer-3 device, wherein the notification message comprises the cluster MAC address and a source MAC address; and determining, by the layer-2 device, an egress port of the layer-2 device corresponding to the source MAC address according to the source MAC address which is a private MAC address of an NLB node of the target NLB cluster, and determining that the egress port of the layer-2 device is the egress port of the first device corresponding to the cluster MAC address; and the establishing, by the first device, a cluster table comprises: establishing, by the layer-2 device, a cluster MAC table, wherein the cluster MAC table is used to record correspondence between address information of the layer-2 device and the egress port of the layer-2 device, and the address information of the layer-2 device comprises the cluster MAC address. the first device is a layer-2 device; the obtaining, by a first device, a cluster MAC address, and determining an egress port of the first device corresponding to the cluster MAC address comprises: receiving, by the layer-2 device, a notification message sent by a layer-3 device, wherein the notification message comprises the cluster MAC address and a source MAC address; and determining, by the layer-2 device, an egress port of the layer-2 device corresponding to the source MAC address according to the source MAC address which is a private MAC address of an NLB node of the target NLB cluster, and determining that the egress port of the layer-2 device is the egress port of the first device corresponding to the cluster MAC address; and receiving, by the layer-2 device, a notification message sent by a layer-3 device, wherein the notification message comprises the cluster MAC address and a source MAC address; and determining, by the layer-2 device, an egress port of the layer-2 device corresponding to the source MAC address according to the source MAC address which is a private MAC address of an NLB node of the target NLB cluster, and determining that the egress port of the layer-2 device is the egress port of the first device corresponding to the cluster MAC address; and the establishing, by the first device, a cluster table comprises: establishing, by the layer-2 device, a cluster MAC table, wherein the cluster MAC table is used to record correspondence between address information of the layer-2 device and the egress port of the layer-2 device, and the address information of the layer-2 device comprises the cluster MAC address. establishing, by the layer-2 device, a cluster MAC table, wherein the cluster MAC table is used to record correspondence between address information of the layer-2 device and the egress port of the layer-2 device, and the address information of the layer-2 device comprises the cluster MAC address.