Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243216

Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone

From Tim Woodall <debianuser@woodall.me.uk>
Newsgroups linux.debian.user
Subject Re: IPv4 specific issue with USB tethering between my Debian laptop and my phone
Date 2021-12-17 08:20 +0100
Message-ID <DvfH4-7eV-7@gated-at.bofh.it> (permalink)
References <Dv8YW-2MU-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 17 Dec 2021, Vincent Lefevre wrote:

> Dan Ritter wrote:
>> ip link set USBNET0 mtu 1450, or something like that. I don't
>> know NetworkManager's syntax for that; random googling suggests
>> that they at least had a historical problem with not being able
>> to set MTU on anything other than a pure ethernet or wifi link,
>> but perhaps they've solved that?
>
> "ip link" works on its side. I can see with wireshark that something
> like "ip link set usb0 mtu 1300" is honored, but this doesn't solve
> the problem (I've tried various values from 1000 to 1450).
>
> Note that I could also see with wireshark that the iptables rules
> with --clamp-mss-to-pmtu did not change the packet lengths.
>

Does this happen on any connection or just some?

You said you could reproduce using ssh? Does that mean you can run
wireshark on both ends and see which packet is getting lost?

Did you try setting both mtu on the interface to something smallish plus
--clamp-mss-to-pmtu?


I'm pretty sure all ipv4 over mobile (which I think is what you are
testing) depends on NAT. So my other guess of a dodgy NAT device isn't
impossible. IIRC your ping tests suggested that ipv4 is being tunnelled
in ipv6

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

IPv4 specific issue with USB tethering between my Debian laptop and  my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-15 01:20 +0100
  Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Dan Ritter <dsr@randomstring.org> - 2021-12-15 01:40 +0100
    Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-15 07:10 +0100
      Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-15 18:00 +0100
        Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-15 18:10 +0100
          Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-16 23:50 +0100
        Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Dan Ritter <dsr@randomstring.org> - 2021-12-15 19:40 +0100
          Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-17 01:10 +0100
            Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-17 08:20 +0100
              Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Vincent Lefevre <vincent@vinc17.net> - 2021-12-19 00:00 +0100
                Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone didier gaumet <didier.gaumet@gmail.com> - 2021-12-19 09:10 +0100
                Re: IPv4 specific issue with USB tethering between my Debian laptop  and my phone Tim Woodall <debianuser@woodall.me.uk> - 2021-12-19 10:20 +0100

csiph-web