Mwan3 on qmi protocol interface

I have a router with Quectel EP06-E modem.
I setup an interface named wwan and using pdp type ipv4/ipv6
The wwan interface gets an ipv6 address. Then router creates an wwan_4 interface and it gets ipv4 address.
In shell, I see that there is a single wwan0 interface which has both ipv4 and ipv6 addresses.

I am able to setup mwan3 to use wwan as an interface, but it does not work to setup wwan_4 because it is a virtual interface without gateway metric.

I tried to manually create a wwan_4 and add gateway metric. The mwan3 gateway warning disappears but it says interface wwan_4 is unknown and tracking is disabled

How can I use mwan3 with both ipv6 and ipv4 on the wwan interface? Mwan3 allows choosing only one protocol per interface and I can't add another interface....

Thanks!

since you're using mwan3, do you have a 2nd uplink ?

Yes, I have a wan uplink from another ISP. But how does it solve the problem or how is it related to solution?

it doesn't, but using mwan3 for a single uplink would be pointless, and since you left that piece of information out, question had to be asked.

2 Likes