• litchralee@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    26
    ·
    6 hours ago

    Technically yes. In fact, that’s exactly what smartphones do when they operate as a wifi hotspot: packets come in from the mobile provider and are IP routed to the Wifi network, and vice versa. Whether this happens using Legacy IPv4 and NAT, or with prefix-delegation on IPv6, it’s still routing.

  • Toes♀@ani.social
    link
    fedilink
    arrow-up
    11
    ·
    6 hours ago

    it could, root it and setup iptables, connect it’s USB port to an hub of Ethernet adapters.

    It would probably be slow though but sounds like a fun experiment.

  • Astronut@lemmy.zip
    link
    fedilink
    arrow-up
    9
    arrow-down
    3
    ·
    edit-2
    5 hours ago

    I don’t think the router bits would fit in the phone slot and you would have to manually turn the phone to get the bits to route any design into the edge of the wood. I don’t think it would work at all! ( No stupid questions, then no stupid answer’s amiright! )

  • ShimitarA
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 hours ago

    Yes, but which long of router? The lack of physical Ethernet ports will be kind of a limit…

    • tomcatt360@lemmy.zip
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      5 hours ago

      I mean, USB-C Ethernet adapters exist

      Edit: Though you would also need power passthrough for the phone to work as a router full time

    • False@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      4 hours ago

      Technically you only need one (or even 0 with WiFi) ports. Look up “router on a stick”

      • ShimitarA
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 hours ago

        Yes, but I was thinking more of a real router, one with many Ethernet plugs. Afterall an Android phone already is a router if you enable wifi hot spot…

        • Onomatopoeia@lemmy.cafe
          link
          fedilink
          English
          arrow-up
          4
          ·
          58 minutes ago

          Generally a consumer router only needs 2 interfaces - local and external.

          Most consuner devices are a combination router, switch, and access point - the switch requires the multiple ports.