Bug 203916 - ethernet and wlan interfaces both have the same mac-address after upgrade to r289486
Summary: ethernet and wlan interfaces both have the same mac-address after upgrade to ...
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-STABLE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-net (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2015-10-21 07:00 UTC by Oleksandr Kryvulia
Modified: 2021-03-22 04:54 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksandr Kryvulia 2015-10-21 07:00:42 UTC
After upgrade to r289486 ethernet interface on my laptop no longer works and have the same mac-address as a wireless interface. On re0 I see incoming traffic, but all outgoing traffic goes through wlan0 interface.

re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether 68:5d:43:92:3a:88
        inet 10.1.1.133 netmask 0xffffff00 broadcast 10.1.1.255 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 68:5d:43:92:3a:88
        inet 10.1.1.166 netmask 0xffffff00 broadcast 10.1.1.255 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
        status: associated
        ssid LIS channel 1 (2412 MHz 11g ht/20) bssid 18:8b:9d:d3:96:00
        regdomain NONE country UA authmode WPA2/802.11i privacy ON
        deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 10 scanvalid 60
        protmode CTS ampdulimit 64k ampdudensity 8 -amsdutx amsdurx shortgi
        wme roaming MANUAL bintval 102
        groups: wlan
Comment 1 Enji Cooper freebsd_committer freebsd_triage 2015-10-21 07:12:03 UTC
See the thread "Upgrading to r297291 LAGG(4) stops working." -- it might help you out with this issue:

https://lists.freebsd.org/pipermail/freebsd-current/2015-August/057322.html
https://lists.freebsd.org/pipermail/freebsd-current/2015-September/057354.html

What's your wireless interface (ath, iwn, etc)?
Comment 2 Oleksandr Kryvulia 2015-10-21 07:44:19 UTC
Yes, I had that issue earlier and change my lagg setup to use wlan's mac-address. But few days ago I figured out that my lagg interface not working via re0 member. I commented out lagg setup in rc.conf and reboot laptop, but when it boots I have re0 interface with mac of wlan interface. 

/etc/rc.conf:

wlans_iwn0="wlan0"
ifconfig_wlan0="WPA country UA"

#ifconfig_re0="ether 68:5d:43:92:3a:88"
#cloned_interfaces="lagg0"
#ifconfig_lagg0="laggproto failover laggport re0 DHCP laggport wlan0"

This situation is reproduced even in a single user mode, when startup scripts is not running yet. My wlan card is iwn0 (Intel Centrino Wireless-N 2230).
Comment 3 Oleksandr Kryvulia 2015-10-22 14:27:35 UTC
After complete power down laptop and removing battery re0 restored its original mac and network is working now. But it stop working when re0 becomes a lagg member and problem with fake mac-address repeats again until power down.
Comment 4 Oleksandr Kryvulia 2021-03-14 17:28:38 UTC
Out of date, closed.
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2021-03-22 04:54:08 UTC
^Triage: Correct resolution