[C2][5.0.0.43] Cellular IPv6 doesn't work because of missing default route

REPRODUCIBILITY: 100%
OS VERSION: 5.0.0.43
HARDWARE: Jolla C2
UI LANGUAGE: English (UK)
REGRESSION: -

DESCRIPTION:

When activating cellular connection, IPv6 default route is not set and therefore IPv6 traffic doesn’t work. Have to manually add it with ip -6 route add default dev seth_lte0 as root to make IPv6 routing to work.

PRECONDITIONS:

Use SIM card: SIM1| DNA (Finland)
Roaming: Always allow
Data accces point (default): dna internet / internet, protocol Dual, authentication None
Network mode: Prefer 4G
Using “4G calling (VoLTE)” and “Select network automatically”.
Network show DNA.

STEPS TO REPRODUCE:

  1. Disable all network connectiont (cellural + wifi) => no connection
  2. Activate only cellular connection
  3. Check that IPv6 doesn’t have default route and IPv6 doesn’t work

EXPECTED RESULT:

Expected to have default route set and have IPv6 working after cellural activation.

ACTUAL RESULT:

IPv6 doesn’t work.

MODIFICATIONS:

None.

ADDITIONAL INFORMATION:

IPv6 routes without any connection:

[root@JollaC2 defaultuser]# ip -6 route
::1 dev lo proto kernel metric 256 pref medium

Cellular connected and IPv6 routes before adding the default route manually:

[root@JollaC2 defaultuser]# ip -6 route
:: dev seth_lte0 metric 1 pref medium
::1 dev lo proto kernel metric 256 pref medium
2001:14b8:1000::1 dev seth_lte0 metric 1 onlink pref medium
2001:14b8:1000::2 dev seth_lte0 metric 1 onlink pref medium
2001:14bb:af:9372::/64 dev seth_lte0 proto kernel metric 256 pref medium

IPv6 connections failing:

[root@JollaC2 defaultuser]# ping6 www.google.fi
PING www.google.fi (2a00:1450:4026:808::2003): 56 data bytes
ping6: sendto: Network is unreachable

Adding route:

[root@JollaC2 defaultuser]# ip -6 route add default dev seth_lte0

Updated routes:

[root@JollaC2 defaultuser]# ip -6 route
:: dev seth_lte0 metric 1 pref medium
::1 dev lo proto kernel metric 256 pref medium
2001:14b8:1000::1 dev seth_lte0 metric 1 onlink pref medium
2001:14b8:1000::2 dev seth_lte0 metric 1 onlink pref medium
2001:14bb:af:9372::/64 dev seth_lte0 proto kernel metric 256 pref medium
default dev seth_lte0 metric 1024 pref medium

Verifying that conection works:

[root@JollaC2 defaultuser]# ping6 www.google.fi
PING www.google.fi (2a00:1450:4026:808::2003): 56 data bytes
64 bytes from 2a00:1450:4026:808::2003: seq=0 ttl=60 time=13.805 ms
64 bytes from 2a00:1450:4026:808::2003: seq=1 ttl=60 time=14.764 ms

Also tested same DNA/Finland SIM card with Jolla C 4.6.0.13 and it seems to have the same IPv6 problem. Had to manually add the route with ip -6 route add default dev rmnet_data0. Previously I’ve used Elisa and didn’t have problems.

4 Likes

Elisa works fine in my C2 in dual stack mode:

# ping -4 -c 1 google.fi
PING google.fi (216.58.209.163): 56 data bytes
64 bytes from 216.58.209.163: seq=0 ttl=59 time=39.485 ms

# ping -6 -c 1 google.fi
PING google.fi (2a00:1450:4026:805::2003): 56 data bytes
64 bytes from 2a00:1450:4026:805::2003: seq=0 ttl=59 time=32.737 ms

$ ip -4 route | grep default
default dev seth_lte0 scope link 

$ ip -6 route | grep default
default via fe80::1 dev seth_lte0 proto ra metric 1024 expires 20506sec mtu 1280 hoplimit 255 pref medium

I don’t have access to DNA SIM card, so I can’t test that myself.

DNA Finland, prepaid.
I switched from Dual to IPv6 in Settings > Mobile network > Data access point.
Then:

[root@JollaC2 defaultuser]# ping -4 -c 1 google.fi
PING google.fi (216.58.211.227): 56 data bytes
--- google.fi ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss

[root@JollaC2 defaultuser]# ping -6 -c 1 google.fi
PING google.fi (2a00:1450:4026:808::2003): 56 data bytes
ping: sendto: Network is unreachable

[root@JollaC2 defaultuser]# ip -4 route | grep default
default dev seth_lte0 scope link 

[root@JollaC2 defaultuser]# ip -6 route | grep default
[root@JollaC2 defaultuser]# 

[root@JollaC2 defaultuser]# ip -6 route add default dev seth_lte0
[root@JollaC2 defaultuser]# 

[root@JollaC2 defaultuser]# ping -6 -c 1 google.fi
PING google.fi (2a00:1450:4026:808::2003): 56 data bytes
64 bytes from 2a00:1450:4026:808::2003: seq=0 ttl=60 time=26.370 ms
--- google.fi ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 26.370/26.370/26.370 ms

[root@JollaC2 defaultuser]# ip -6 route | grep default
default dev seth_lte0 metric 1024 pref medium
2 Likes

Internal bug filed.
Thanks for reporting

6 Likes