Kurt Mosiejczuk <[email protected]> wrote: > > > >Synopsis: Old IP addresses and routes don't get cleared > >Category: system > >Environment: > System : OpenBSD 6.4 > Details : OpenBSD 6.4-current (GENERIC.MP) #711: Wed Feb 13 > 15:36:44 MST 2019 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > When I wake up my laptop and get a new IP address, the old ones > stay configured on iwn0, along with all the non-default routes > from the old network. Relately, ifconfig(1) only shows the first > assigned address on the interface unless you specifically list > that network interface. > >How-To-Repeat: > Move between wireless environments while the laptop is slept. Even > going back to a previous environment will get another address added > if DHCP assigns a new address. > >Fix: > A reboot fixes the problem easily (naturally enough). The only > other option I can think of would be to manually remove the old > addresses and routes.
The behaviour is completely intentional. Suspend/resume does not change anything.
