IPV6 affecting data usage
Posted: Mon Feb 10, 2020 9:09 am
Current configuration:
WE1326V5- GO2019-04-09, MC7455- Generic Version 02.33.03.00, QMI Mode, IPV6 disabled on modem, Verizon post paid unlimited tablet plan.
I have been fighting hotspot usage since first receiving the equipment in July. Some data would count towards hotspot while other would not. After reaching the 15GB hotspot limit, the speed was throttled to 600Kbs. I tried all of the usual TTL settings with no definite affect.
I use the Status|Firewall screen to check that the TTL setting have taken effect and recently realized that there is also a IPV6 tab and it got me to thinking that if the TTL settings are only for IPV4 maybe IPV6 is affecting how my data is logged. Looking under the Status|Firewall|IPV6 screen at the bottom Table: Mangle section does not show anything for TTL or HL (Hop Limit as it's refereed to under IPV6). I could see I had an IPV6 upstream connection from Status|Overview screen and knew that the desktop used for all of my testing had IPV6 enabled.
I started researching how to set the Hop Limit using IPtables as is done for the TTL in IPV4. What I came up with is very similar to what is used for TTL. For IPV6 the syntax that worked is
ip6tables -t mangle -I POSTROUTING -o wwan0 -j HL --hl-set 64
ip6tables -t mangle -I PREROUTING -i wwan0 -j HL --hl-set 64
and can be inserted in the Network|Firewall|Custom Rules screen as the next to the last line before #endTTL, under the TTL lines. This can be verified effective by looking in the Tables:Mangle section at the bottom of Status|Firewall IPV6 tab after Restart Firewall.
Since my plan has reached the hotspot limit and is throttled to 600Kbs it should be easy to see what makes a difference. Entering the above lines, Restarting Firewall and AT!reset to the modem, a speed test confirmed the speed had jumped from, 600Kbs to over 20Mbs. I noticed that I had also lost the IPV6 upstream connection in Status|Overview so I was not sure if the IP6TABLES had solved the issue or the fact that I no longer had IPV6 and now the traffic was using the TTL values.
Here's what I learned by testing different configurations.
1) GO2019-04-09 in QMI mode- the ip6tables strings cause the ipv6 upstream connection to not connect. This is the only version of GO I have used so no prior history, but based on a comment by Jim Helms ("UPDATE: 01/15/2020 IPV6 in QMI composition is now available via GoldenOrb") in https://wirelessjoint.com/viewtopic.php?f=21&t=233, it appears that ipv6 was previously only possible in MBIM Mode so this may be an issue with the latest version GO in QMI mode.
2) Without the ipv6 connection the TTL setting effects the routed traffic and it is not counted as hotspot.
3) Disabling ipv6 on the desktop has the same effect, regardless of ip6tables use or ipv6 connection, data is not hotspot.
4) Switching to MBIM mode has a different effect. The ipv6tables work as expected. The ipv6 connection is maintained and with ipv6 enabled on the desktop speed is 20Mbs so no hotspot data. 64 worked the best for both TTL or HL, others (63, 65, 117) reverted back to throttled speed. I got mixed results by just clicking Restart Firewall after changing the TTL, HL number. Suggest Reset Modem as well or just disconnect | reconnect router power.
5) Disabling ipv6 on the modem with at!custom="IPV6ENABLE",0 has the same effect since there's no ipv6 connection.
Wondering what most people are doing for their setups? Running older versions of GO in QMI (no ipv6), MBIM with ipv6 disabled on all LAN connected computers, disabling ipv6 on the modem, or something else that I missed in the tutorials I have read. This is the first time in 6 months that I feel I have a usable solution. I don't claim to understand how this all works, but this definitely made a difference in my setup.
WE1326V5- GO2019-04-09, MC7455- Generic Version 02.33.03.00, QMI Mode, IPV6 disabled on modem, Verizon post paid unlimited tablet plan.
I have been fighting hotspot usage since first receiving the equipment in July. Some data would count towards hotspot while other would not. After reaching the 15GB hotspot limit, the speed was throttled to 600Kbs. I tried all of the usual TTL settings with no definite affect.
I use the Status|Firewall screen to check that the TTL setting have taken effect and recently realized that there is also a IPV6 tab and it got me to thinking that if the TTL settings are only for IPV4 maybe IPV6 is affecting how my data is logged. Looking under the Status|Firewall|IPV6 screen at the bottom Table: Mangle section does not show anything for TTL or HL (Hop Limit as it's refereed to under IPV6). I could see I had an IPV6 upstream connection from Status|Overview screen and knew that the desktop used for all of my testing had IPV6 enabled.
I started researching how to set the Hop Limit using IPtables as is done for the TTL in IPV4. What I came up with is very similar to what is used for TTL. For IPV6 the syntax that worked is
ip6tables -t mangle -I POSTROUTING -o wwan0 -j HL --hl-set 64
ip6tables -t mangle -I PREROUTING -i wwan0 -j HL --hl-set 64
and can be inserted in the Network|Firewall|Custom Rules screen as the next to the last line before #endTTL, under the TTL lines. This can be verified effective by looking in the Tables:Mangle section at the bottom of Status|Firewall IPV6 tab after Restart Firewall.
Since my plan has reached the hotspot limit and is throttled to 600Kbs it should be easy to see what makes a difference. Entering the above lines, Restarting Firewall and AT!reset to the modem, a speed test confirmed the speed had jumped from, 600Kbs to over 20Mbs. I noticed that I had also lost the IPV6 upstream connection in Status|Overview so I was not sure if the IP6TABLES had solved the issue or the fact that I no longer had IPV6 and now the traffic was using the TTL values.
Here's what I learned by testing different configurations.
1) GO2019-04-09 in QMI mode- the ip6tables strings cause the ipv6 upstream connection to not connect. This is the only version of GO I have used so no prior history, but based on a comment by Jim Helms ("UPDATE: 01/15/2020 IPV6 in QMI composition is now available via GoldenOrb") in https://wirelessjoint.com/viewtopic.php?f=21&t=233, it appears that ipv6 was previously only possible in MBIM Mode so this may be an issue with the latest version GO in QMI mode.
2) Without the ipv6 connection the TTL setting effects the routed traffic and it is not counted as hotspot.
3) Disabling ipv6 on the desktop has the same effect, regardless of ip6tables use or ipv6 connection, data is not hotspot.
4) Switching to MBIM mode has a different effect. The ipv6tables work as expected. The ipv6 connection is maintained and with ipv6 enabled on the desktop speed is 20Mbs so no hotspot data. 64 worked the best for both TTL or HL, others (63, 65, 117) reverted back to throttled speed. I got mixed results by just clicking Restart Firewall after changing the TTL, HL number. Suggest Reset Modem as well or just disconnect | reconnect router power.
5) Disabling ipv6 on the modem with at!custom="IPV6ENABLE",0 has the same effect since there's no ipv6 connection.
Wondering what most people are doing for their setups? Running older versions of GO in QMI (no ipv6), MBIM with ipv6 disabled on all LAN connected computers, disabling ipv6 on the modem, or something else that I missed in the tutorials I have read. This is the first time in 6 months that I feel I have a usable solution. I don't claim to understand how this all works, but this definitely made a difference in my setup.