Re: Failover Mode between ether/wlan panics
- Reply: Mario Lobo : "Re: Failover Mode between ether/wlan panics"
- In reply to: Mario Lobo : "Re: Failover Mode between ether/wlan panics"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Aug 2022 14:01:10 UTC
Hi, Something is wrong about getting ether and wlan mac adresses. dmesg shows the same address: --- iwlwifi0: Detected Intel(R) Wi-Fi 6 AX201 160MHz, REV=0x351 iwlwifi0: base HW address: 6c:6a:77:df:09:21 (...) re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0x3000-0x30ff mem 0xb4204000-0xb4204fff,0xb4200000-0xb4203fff at device 0.0 on pci3 re0: Ethernet address: 6c:6a:77:df:09:21 --- and ifconfig shows: --- re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> ether 6c:6a:77:df:09:21 media: Ethernet autoselect (100baseTX <full-duplex>) status: active nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff000000 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 6c:6a:77:df:09:21 inet 192.168.1.74 netmask 0xffffff00 broadcast 192.168.1.255 groups: wlan ssid MEO-3637C0 channel 1 (2412 MHz 11g) bssid 00:06:91:36:37:c0 regdomain ETSI country PT authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60 protmode CTS wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet OFDM/24Mbps mode 11g status: associated nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> --- I disabled wireless at bios and same mac address for ethernet. I don't see a possibility of both cards sharing same mac address... Cheers Mario Lobo <lobo@bsd.com.br> escreveu no dia segunda, 1/08/2022 à(s) 13:15: > > On Sun, Jul 31, 2022, 21:05 Nuno Teixeira <eduardo@freebsd.org> wrote: > >> Hello, >> >> I'm trying to setup a failover mode ethernet/wireless as shown in >> https://docs.freebsd.org/en/books/handbook/book/#networking-lagg-wired-and-wireless >> and I got a panic. >> >> /etc/rc.conf: >> --- >> ifconfig_re0="ether <wlan0 mac address>" >> wlans_iwlwifi0="wlan0" >> ifconfig_wlan0="WPA" >> create_args_wlan0="country PT" >> cloned_interfaces="lagg0" >> ifconfig_lagg0="up laggproto failover laggport re0 laggport wlan0 DHCP" >> --- >> >> Any ideas of what's wrong? >> BTW, no kernel dump and I have dumpdev="AUTO" in /etc/rc.conf... >> >> Thanks in advance, >> Nuno Teixeira >> > > Hi. > > For this to work, you'll have to clone your wifi MAC to your eth MAC. > >>