Score:0

Wireless Access Point using a modem connection is not working correctly, probably due to MTU

um flag

With netplan, I created a modem connection:

network:
 version: 2
 renderer: NetworkManager
 modems:
  cdc-wdm0:
   optional: false
   dhcp4: true
   auto-config: true
   pin: 2832
   apn: internet.proximus.be

I also created a wireless access point

network:
 version: 2
 renderer: NetworkManager

     # Wireless configuration
     wifis:
      wlp2s0:
       dhcp4: true
       optional: false
       access-points:
        DCA632784996:
         mode: ap

On the server itself, I can perfectly ping to www.google.be (using the modem connection), and browse to whatever site I want.

When I connect with another device (mobile phone, or other ubuntu) through the access point, I can ping to www.google.be, I can search in Google and get results, but I cannot browse to other sites.

I already had problems with MTU on this server for another project, since the modem has an MTU of 1430. So I changed both netplan configurations:

network:
 version: 2
 renderer: NetworkManager
 modems:
  cdc-wdm0:
   optional: false
   dhcp4: true
   auto-config: true
   pin: 2832
   apn: internet.proximus.be
   mtu: 1429

and

network:
 version: 2
 renderer: NetworkManager

     # Wireless configuration
     wifis:
      wlp2s0:
       dhcp4: true
       optional: false
       mtu: 1429
       access-points:
        DCA632784996:
         mode: ap

If I check my interfaces (ip addr show), the wlp2s0 show mtu=1429

But this doesn't solve the problem. I believe the "client" still tries to send packages with MTU 1500, although it connects to an access point with the MTU set to 1429.

Any idea how this could be resolved?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.