I have the problem, that the 1st defined alias is lost sometimes.
My WiFi card is a:
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xe0204000-0xe0204fff irq 11 at device 6.0 on pci2
My IP configuration in /etc/rc.conf is:
ifconfig_wlan0="DHCP WPA country DE"
ifconfig_wlan0_alias0="inet 192.168.0.201 netmask 255.255.255.255"
ifconfig_wlan0_alias1="inet 192.168.0.202 netmask 255.255.255.255"
After a reboot all is working as expected. Then, every ~ hour I have a message like this in /var/log/messages, which is IMHO ok:
Dec 21 18:43:30 freebsd wpa_supplicant: WPA: Group rekeying completed with 0c:0c:0b:14:cd:98 [GTK=CCMP]
Of course, sometimes I have:
Dec 21 19:43:30 freebsd wpa_supplicant: CTRL-EVENT-DISCONNECTED bssid=0c:0c:0b:14:cd:98 reason=0
Dec 21 19:43:30 freebsd kernel: wlan0: link state changed to DOWN
Dec 21 19:43:32 freebsd wpa_supplicant: Trying to associate with 0c:0c:0b:14:cd:98 (SSID='WLAN' freq=2472 MHz)
Dec 21 19:43:32 freebsd wpa_supplicant: Associated with 0c:0c:0b:14:cd:98
Dec 21 19:43:32 freebsd kernel: wlan0: link state changed to UP
Dec 21 19:43:32 freebsd wpa_supplicant: WPA: Key negotiation completed with 00:1a:4f:93:4a:97 [PTK=CCMP GTK=CCMP]
Dec 21 19:43:32 freebsd wpa_supplicant: CTRL-EVENT-CONNECTED - Connection to 0c:0c:0b:14:cd:98 completed (reauth) [id=0 id_str=]
And the first time this occurs, my first alias (ifconfig_wlan0_alias0 192.168.0.201) is lost and not listed in "ifconfig wlan0" anymore.
If this occurs another time, nothing happens and my second alias ifconfig_wlan0_alias1 is still alive.
Over to maintainer(s).
in "production" setup I'm using the 1st alias for a jail with my mailsserver. And every time I lost this alias, I can't connect to/from my mailserver :-/
If anyone else has this problem too... As a workaround I'm defining my aliases like:
| ifconfig_wlan0_alias0="inet 192.168.0.200 netmask 255.255.255.255"
| ifconfig_wlan0_alias1="inet 192.168.0.201 netmask 255.255.255.255"
| ifconfig_wlan0_alias2="inet 192.168.0.202 netmask 255.255.255.255"
And I don't use "192.168.0.200" anywhere. Thus it doesn't matter if I lost this alias.
-------- Original-Nachricht --------
> Datum: Sun, 23 Dec 2012 19:00:00 GMT
> Von: FreeBSD-gnats-submit@FreeBSD.org
> An: Carsten Wiedmann <email@example.com>
> Betreff: Re: kern/174661: lost alias on wlan interface
> Thank you very much for your problem report.
> It has the internal identification `kern/174661'.
> The individual assigned to look at your
> report is: freebsd-bugs.
> You can access the state of your problem report at any time
> via this link:
> >Category: kern
> >Responsible: freebsd-bugs
> >Synopsis: lost alias on wlan interface
> >Arrival-Date: Sun Dec 23 19:00:00 UTC 2012
For bugs that match the following
- Status Is In progress
- Untouched since 2018-01-01.
- Affects Base System OR Documentation
Reset to open status.
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.