A network device (10, 1300, 1500, 1600) that supports a WLAN communication function, wherein the network device (10, 1300, 1500, 1600) comprises a processing unit (1301, 1502, 1602) and a transceiver unit, wherein the transceiver unit comprises multiple antenna interfaces (11, 1503, 1603), and the network device (10, 1300, 1500, 1600) is configured to operate with multiple basic service sets, wherein at least two basic service sets correspond to different antenna interfaces (11, 1503, 1603), the processing unit (1301, 1502, 1602) is configured to generate a correspondence information element, wherein the correspondence information element comprises correspondence indication information, and the correspondence indication information is used to indicate correspondences between the basic service sets and the antenna interfaces (11, 1503, 1603); and the transceiver unit is configured to send the correspondence information element to a station (20, 1400, 1700) that supports the WLAN communication function, wherein at least two basic service sets in the multiple basic service sets belong to one fast roaming group, and the transceiver unit is further configured to send a fast roaming information element to the station, wherein the fast roaming information element comprises fast roaming grouping indication information, and the fast roaming grouping indication information is used to indicate basic service sets comprised in the fast roaming group, so that when the station (20, 1400, 1700) switches association in multiple basic service sets in a same fast roaming group, the station (20, 1400, 1700) does not need to disassociate with a basic service set before switching, and does not need to authenticate a basic service set after switching, but the station (20, 1400, 1700) directly switches to and associates with one basic service set in the fast roaming group to another basic service set in the fast roaming group, to implement fast roaming, and wherein the fast roaming information element and the correspondence indication information are carried in a same management frame for sending. the processing unit (1301, 1502, 1602) is configured to generate a correspondence information element, wherein the correspondence information element comprises correspondence indication information, and the correspondence indication information is used to indicate correspondences between the basic service sets and the antenna interfaces (11, 1503, 1603); and the transceiver unit is configured to send the correspondence information element to a station (20, 1400, 1700) that supports the WLAN communication function, wherein at least two basic service sets in the multiple basic service sets belong to one fast roaming group, and the transceiver unit is further configured to send a fast roaming information element to the station, wherein the fast roaming information element comprises fast roaming grouping indication information, and the fast roaming grouping indication information is used to indicate basic service sets comprised in the fast roaming group, so that when the station (20, 1400, 1700) switches association in multiple basic service sets in a same fast roaming group, the station (20, 1400, 1700) does not need to disassociate with a basic service set before switching, and does not need to authenticate a basic service set after switching, but the station (20, 1400, 1700) directly switches to and associates with one basic service set in the fast roaming group to another basic service set in the fast roaming group, to implement fast roaming, and wherein the fast roaming information element and the correspondence indication information are carried in a same management frame for sending.