Return-path: Received: from mail-io0-f170.google.com ([209.85.223.170]:55642 "EHLO mail-io0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751330AbdINUfH (ORCPT ); Thu, 14 Sep 2017 16:35:07 -0400 Received: by mail-io0-f170.google.com with SMTP id z187so3549907ioz.12 for ; Thu, 14 Sep 2017 13:35:07 -0700 (PDT) Subject: Re: ROAM/CONNECT event with PORT_AUTHORIZED To: Ben Greear , Johannes Berg , Arend van Spriel , Arend van Spriel , Jouni Malinen Cc: Avraham Stern , linux-wireless References: <1505378361.31630.2.camel@sipsolutions.net> <1505389462.31630.6.camel@sipsolutions.net> <1505416658.31630.15.camel@sipsolutions.net> <9219316a-5556-6acf-30de-e9aa65a05706@gmail.com> <6d0ad07b-ca89-19a1-d3c2-ad94915b942a@candelatech.com> <5436d106-0b4a-9158-58bf-ff84b231cd19@candelatech.com> <8a26a838-adde-08f1-5f64-c98e1d947675@candelatech.com> From: Denis Kenzior Message-ID: <756be45c-fd13-56a7-b8d4-129c4fd07dc8@gmail.com> (sfid-20170914_223511_343312_52A23F96) Date: Thu, 14 Sep 2017 15:35:05 -0500 MIME-Version: 1.0 In-Reply-To: <8a26a838-adde-08f1-5f64-c98e1d947675@candelatech.com> Content-Type: text/plain; charset=utf-8; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Ben, On 09/14/2017 03:29 PM, Ben Greear wrote: > On 09/14/2017 01:26 PM, Denis Kenzior wrote: >> Hi Ben, >>> >>> How do you re-confirm them? There are definitely cases where >>> SSID/Security is the same but each >>> AP has its own DHCP server and roaming between them will require >>> getting a new DHCP address (on >>> the same (NAT'd) subnet and with same gateway, likely as not). >>> >> >> Using DHCPREQUEST to verify obtained parameters, or the DHCPv6 >> equivalent Confirm message. This obviously requires some integration >> between the dhcp daemon and >> the supplicant. > > Do you want to allow the just-now-roamed station to use its old IP > address(es) while you are > confirming? I think it is sane to assume that the IP address _should_ be the same. The 802.11 spec expects this even. This is to handle bizarre networks that don't do this properly. > > If not, how is this different from just re-doing DHCP like normal? > You get to use your old IP address. So e.g. your VoIP call doesn't disappear if you decide to switch access points. > And if so, you will in some cases be allowing duplicate IP addresses on > a network? > Life is never perfect ;) Regards, -Denis