Ask the Expert

What happens when wireless stations roam?

What happens when wireless stations roam?

    Requires Free Membership to View

Wireless stations roam at layer 2 by disconnecting from one Access Point (AP) and re-connecting to another AP in the same LAN (broadcast domain). Layer 2 roaming occurs automatically in infrastructure WLANs where several APs use the same Service Set Identifier (SSID). Wireless stations continuously listen to nearby APs. A station can decide to roam because it finds an AP with the same SSID and stronger signal or is experiencing too much loss with the current AP. Exactly how the station makes this decision depends on the product.

To initiate a layer 2 roam, the station sends an Associate (or Reassociate) Request to the new AP. It may Disassociate from the old AP, or the old AP may notice the station is no longer there. Depending upon the product, there may be some non-standard interaction between the old AP and the new AP to buffer and relay frames destined for the station during handoff. After the station successfully roams, LAN traffic for the station must be relayed through the new AP. MAC address tables and ARP caches on other devices in the same LAN are automatically updated to reflect this, although there may be some frame loss during transition.

Some organizations put many APs in the same Virtual LAN (VLAN) to enable layer 2 roaming over larger areas where the APs can't be on the same physical LAN segment. However, VLANs only scale so far, which brings us to layer 3 roaming.

Wireless stations roam at layer 3 when they disconnect from one AP and reconnect to another AP in a different IP subnet. After layer 2 roaming completes, layer 3 roaming occurs if the station obtains a new IP address -- for example, using DHCP when wireless interface status changes from up to down to up again. Layer 3 traffic re-routing requires more than updating MAC address tables and ARP caches. Network layer devices (routers and L3 switches) must somehow be told to forward IP packets to the station's new subnet. Without some kind of subnet mobility extension, applications will timeout trying to reach the station's old IP and must be reconnect with the station's new IP.

There are many ways of supporting subnet mobility. For example, the Mobile IP standard uses a Home Agent (HA) to forward IP packets to a Foreign Agent (FA) in the node's new subnet. The HA and FA advertise themselves using the ICMP Router Discovery Protocol (IRDP). When a Mobile IP-enabled station roams to a new subnet, it must discover and register itself with a nearby FA. The FA forwards that request to that station's original HA. If the request is accepted, a tunnel is established between the HA and FA to relay incoming packets sent to the node's original IP address. Outbound packets are routed back through the tunnel from the FA to HA, and then on to their destination. Mobile IP preserves subnet connectivity for roaming stations, but results in sub-optimal routing and longer roaming delay. Some vendors have developed other proprietary layer 3 roaming methods to address these concerns.

Today, layer 3 roaming is far from ubiquitous; subnet mobility methods vary widely and are typically found only in enterprise products like WLAN switches and Mobile VPN servers. Basic layer 2 roaming is supported by all WLAN products, but AP-to-AP extensions to make roaming faster or reduce loss work only in homogenous WLANs.

This was first published in February 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: