摘要 |
The present invention discloses a method and a switch for sending a packet, which belongs to the field of computer network technologies. A layer 3 switch which is configured with an aggregated VLAN containing a plurality of VLANs searches information regarding correspondence between IP addresses and the VLANs to determine if there is a VLAN in the aggregated VLAN that corresponds to a destination IP address in a packet; if there is a VLAN that corresponds to the destination IP address, sends the packet to only that VLAN. In the technical solutions of the present invention, the number of invalid packets that are sent can be effectively reduced, thereby reducing an influence of the invalid packets on the whole virtual local area network. |