Qmimux interface

Hi,

I have noticed that after a /etc/init.d/network restart the qmimux interface increments (not always). It clears after a reboot but my main concern is that keep adding qmimux interface may have other implications in the performance. I’m using the mwan3 for managing the failover and FW 07.07.1

Here’s the output of logread

Tue May 14 14:27:58 2024 user.notice mwan3track[3496]: Interface mob1s1a1 (qmimux0) is online
Tue May 14 14:28:15 2024 user.notice mwan3-hotplug[10546]: Execute ifup event on interface mob1s1a1 (qmimux0)
Tue May 14 14:28:24 2024 user.info mwan3track[3496]: Detect ifup event on interface mob1s1a1 (qmimux0)
Tue May 14 14:28:24 2024 user.notice mwan3track[3496]: Interface mob1s1a1 (qmimux0) is online
Tue May 14 14:28:27 2024 user.notice firewall: Reloading firewall due to ifup of mob1s1a1_4 (qmimux0)
Tue May 14 14:28:49 2024 user.info mwan3track[3496]: Check (ping) failed for target "1.1.1.1" on interface mob1s1a1 (qmimux0). Current score: 2
Tue May 14 14:31:36 2024 user.info mwan3track[3496]: Check (ping) failed for target "1.1.1.1" on interface mob1s1a1 (qmimux0). Current score: 2
Tue May 14 14:31:37 2024 user.info mwan3track[3496]: Check (ping) failed for target "8.8.8.8" on interface mob1s1a1 (qmimux0). Current score: 2
Tue May 14 14:31:37 2024 user.notice mwan3track[3496]: Interface mob1s1a1 (qmimux0) is disconnecting
Tue May 14 14:32:08 2024 daemon.notice netifd: mob1s1a1 (15869): Calculated qmimux ifname: qmimux1
Tue May 14 14:32:26 2024 daemon.notice netifd: mob1s1a1 (15869): Setting up qmimux1
Tue May 14 14:32:26 2024 daemon.notice netifd: mob1s1a1 (15869): Setting dynamic MTU: 1500 on qmimux1
Tue May 14 14:32:28 2024 daemon.notice netifd: mob1s1a1 (15869): Setting up qmimux1 V4 DCHP
Tue May 14 14:32:28 2024 daemon.notice netifd: Network device 'qmimux1' link is up
Tue May 14 14:32:31 2024 user.notice mwan3track[3496]: Interface mob1s1a1 (qmimux0) is offline
Tue May 14 14:32:35 2024 user.notice mwan3-hotplug[17561]: Execute disconnected event on interface mob1s1a1 (qmimux0)
Tue May 14 14:32:51 2024 user.info mwan3track[3496]: Detect ifup event on interface mob1s1a1 (qmimux0)
Tue May 14 14:33:02 2024 user.notice mwan3-hotplug[19388]: Execute ifup event on interface mob1s1a1 (qmimux1)
Tue May 14 14:33:07 2024 user.notice firewall: Reloading firewall due to ifup of mob1s1a1_4 (qmimux1)
Tue May 14 14:33:11 2024 user.notice mwan3track[3496]: Interface mob1s1a1 (qmimux1) is online
Tue May 14 14:33:24 2024 user.info mwan3track[3496]: Check (ping) failed for target "1.1.1.1" on interface mob1s1a1 (qmimux1). Current score: 2
Tue May 14 14:33:27 2024 user.info mwan3track[3496]: Check (ping) failed for target "8.8.8.8" on interface mob1s1a1 (qmimux1). Current score: 2
Tue May 14 14:33:27 2024 user.notice mwan3track[3496]: Interface mob1s1a1 (qmimux1) is disconnecting
Tue May 14 14:33:36 2024 daemon.notice netifd: Network device 'qmimux1' link is down
Tue May 14 14:33:40 2024 daemon.notice netifd: mob1s1a1_4 (17510): udhcpc: can't bind to interface qmimux1: No such device
Tue May 14 14:33:45 2024 user.info mwan3track[3496]: Detect ifdown event on interface mob1s1a1 (qmimux1)
Tue May 14 14:33:45 2024 daemon.notice netifd: mob1s1a1 (21598): Calculated qmimux ifname: qmimux1
Tue May 14 14:33:45 2024 user.notice mwan3track[3496]: Interface mob1s1a1 (qmimux1) is offline
Tue May 14 14:33:49 2024 user.notice mwan3-hotplug[21941]: Execute disconnected event on interface mob1s1a1 (qmimux1)
Tue May 14 14:33:54 2024 daemon.notice netifd: mob1s1a1 (21598): Setting up qmimux1
Tue May 14 14:33:54 2024 daemon.notice netifd: mob1s1a1 (21598): Setting dynamic MTU: 1500 on qmimux1
Tue May 14 14:33:54 2024 daemon.notice netifd: mob1s1a1 (21598): Setting up qmimux1 V4 DCHP
Tue May 14 14:33:54 2024 daemon.notice netifd: Network device 'qmimux1' link is up
Tue May 14 14:34:09 2024 user.notice mwan3track[3496]: Interface mob1s1a1 (qmimux1) is offline
Tue May 14 14:34:12 2024 user.notice mwan3-hotplug[23469]: Execute disconnected event on interface mob1s1a1 (qmimux1)
Tue May 14 14:34:22 2024 user.info mwan3track[3496]: Detect ifup event on interface mob1s1a1 (qmimux1)
Tue May 14 14:34:23 2024 user.notice mwan3track[3496]: Interface mob1s1a1 (qmimux1) is online
Tue May 14 14:34:29 2024 user.notice mwan3-hotplug[24596]: Execute ifup event on interface mob1s1a1 (qmimux1)
Tue May 14 14:34:34 2024 user.info mwan3track[3496]: Detect ifup event on interface mob1s1a1 (qmimux1)
Tue May 14 14:34:34 2024 user.info mwan3track[3496]: Check (ping) failed for target "1.1.1.1" on interface mob1s1a1 (qmimux1). Current score: 2
Tue May 14 14:34:35 2024 user.notice firewall: Reloading firewall due to ifup of mob1s1a1_4 (qmimux1)
Tue May 14 14:34:38 2024 user.notice mwan3track[3496]: Interface mob1s1a1 (qmimux1) is online

Here’s the function incrementing the id.

	get_last_mux_id() {
		local tid interface
		ifid=0
		tid=0
		for interface in /sys/class/net/qmimux*; do
			tid="$(cat "${interface}/qmap/mux_id" 2>/dev/null | awk '{printf "%d", $1}')"
			[ "$tid" != "" ] && [ "$tid" -gt "$ifid" ] && ifid="$tid"
		done
		let "ifid++"
	}

...

	#Create new qmimux interface
	get_last_mux_id
	echo "$ifid" > "/sys/class/net/${ifname}/qmi/add_mux" 2>/dev/null
	get_qmimux_by_id "$ifid"

#~ Connectivity part----------------------------------------------------
	echo "Calculated qmimux ifname: $qmimux"

Here’s the output of ip link show

9: wwan0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 4096 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 1000
    link/none 
15: qmimux0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/none 
26: qmimux1: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
    link/none 
28: br-lan: ...
29: eth0.1@eth0: ...
30: eth0.2@eth0: ...
31: qmimux2: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/none 

Can’t we use the already existing qmimux interface (rm the let ifid++) or maybe delete the old interface given that it’s Down

Thanks

Hello,

Thank you for bringing this to our attention. We have forwarded the issue to our Research and Development department for investigation.

Kind regards,

This topic was automatically closed after 15 days. New replies are no longer allowed.