Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • NetworkManager NetworkManager
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 165
    • Issues 165
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • NetworkManagerNetworkManager
  • NetworkManagerNetworkManager
  • Issues
  • #791
Closed
Open
Issue created Aug 31, 2021 by Martin Ling@martinling

Hotspot fails to share an IPv6-only connection correctly

I was trying to run a hotspot from a Pinephone running Mobian (Debian/Gnome adapted for phones), to provide connectivity to a laptop running a standard Debian install.

Both devices are running NetworkManager 1.30.6 from the Debian repositories, which is the latest packaged version available.

The phone's LTE modem is managed through ModemManager and NetworkManager. The cdc-wdm0 interface is assigned a public IPv6 address, and no IPv4 address. Web browsing works correctly from the phone and whatismyip.com shows the public IPv6 address assigned to the interface.

On the phone I enabled the hotspot from the Wifi section in the Gnome settings app. This created a connection called "Hotspot", in which both IPv4 and IPv6 address modes are shown as "Shared with other computers".

On the laptop, I connected to the SSID for the hotspot by selecting it from the NM applet. This created a connection with the same name as the SSID, in which the IPv4 and IPv6 modes are shown as "Automatic (DHCP)" and "Automatic" respectively.

The laptop is assigned an address in the 10.42.0.0 range, with the phone as gateway and DNS on 10.42.0.1. A link-local IPv6 address is assigned, but no IPv6 default route is created.

DNS lookups work on the laptop since they are handled by the phone, but no connectivity is available on either IPv6 or IPv4, due to the lack of default routes at the laptop and phone respectively:

$ ping -6 www.google.com
ping: connect: Network is unreachable
$ ping -4 www.google.com
PING www.google.com (172.217.169.4) 56(84) bytes of data.
From mobian.local (10.42.0.1) icmp_seq=1 Destination Net Unreachable

Expected result:

The laptop is assigned an IPv6 address and can send and receive IPv6 traffic.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking