• litchralee@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    37
    ·
    3 days 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
    14
    ·
    3 days 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.

    • tomcatt360@lemmy.zip
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      3 days 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

      • frischkaesbagett@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        This works on my docking station. I can connect my phone with thunderbolt 4, dockingstation is connected via ethernet.

        Btw: I can also use a monitor, keyboard and a mouse. Never used it for anything useful I just noticed it works.

    • False@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      3 days ago

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

      • Shimitar@downonthestreet.eu
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days 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
          7
          ·
          2 days 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.

  • Astronut@lemmy.zip
    link
    fedilink
    arrow-up
    10
    arrow-down
    5
    ·
    edit-2
    3 days 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! )