Jump to content

R3 MTU not working


Recommended Posts

There is. a specific reason why i would need lower MTU on router level

 

For example, if I lower MTU to 1492 on R3 wan advanced inteface, restart etc... Clients still get full 1500 MTU 

 ping -D -s 1472  www.google.com

PING www.google.com (142.251.41.68): 1472 data bytes

Request timeout for icmp_seq 0

Request timeout for icmp_seq 1

 

vs

 

 

ping -D -s 1473  www.google.com

PING www.google.com (142.251.41.68): 1473 data bytes

ping: sendto: Message too long

Link to comment
Share on other sites

I don't quite understand what you are trying to say. 1492 - 20 (Ethernet header) are the 1472 mentioned, which is why a ping with packet size 1472 goes through and 1473 does not.

If, as you say, the MTU restriction did not apply, packets up to 1480 would theoretically still go through.

EDIT:

sorry, I forgot the 8 bit for the ICMP header like @DanologyUK has mentioned below..

So yes it’s looks strange. What type of connection you use? PPPoE or DHCP / Static IP?

Link to comment
Share on other sites

1 hour ago, ChrisG82 said:

I don't quite understand what you are trying to say. 1492 - 20 (Ethernet header) are the 1472 mentioned, which is why a ping with packet size 1472 goes through and 1473 does not.

If, as you say, the MTU restriction did not apply, packets up to 1480 would theoretically still go through.

Isnt it 1492 - 28 (20 are reserved for the IP header and 8 bytes needed for the ICMP Echo Request header)?

Link to comment
Share on other sites

I have tested it in my network. My MTU is set to 1492. The maximum packet size for me is then 1464. From a packet size of 1465, the ICMP packet no longer goes out. So the limitation actually seems to work.

PS: my R3 establishes a PPPoE connection.

Link to comment
Share on other sites

its a dhcp, full dmz via fibre but that really doesnt matter, I am asking why netduma is not limiting MTU to clients if i set it up in advanced WAN settings?

Link to comment
Share on other sites

11 hours ago, rounder said:

its a dhcp, full dmz via fibre but that really doesnt matter, I am asking why netduma is not limiting MTU to clients if i set it up in advanced WAN settings?

So you're saying that giving technical details about a problem that apparently only you have doesn't matter? 
Okay, then it looks to me like you're not seriously interested in troubleshooting. 

It works completely problem-free for me. So it doesn't seem to be a general problem and only occurs in certain cases. But I'm sure you'll find out eventually.

Link to comment
Share on other sites

It doesn't work like the XR series (netgear)

The modification of the MTU is only at the WAN level, the LAN part is not affected! Devices downstream of the R3 will not take it into account. (Like for example a test on an xbox...)

Link to comment
Share on other sites

  • Administrators

As above, if your PC for example has an MTU set at 1500 it's still going to use that. You can use netsh interface ipv4 show subinterface in command prompt to check what MTU your PC is using (likely 1500 by default). What is your use case out of interest?

Link to comment
Share on other sites

@Fuzy @Netduma Fraser I think he wants to avoid packet fragmentation. And yes, of course a PC on which an MTU of 1500 is set uses this for the packets. However, if the packets are to be sent to the Internet via the WAN interface of the R3, packets that are larger than the set MTU should NOT be processed if there is a DF flag on the packet. But this is apparently not the case with him.

And in his example he has actually shown that he is sending an ICMP packet where he specifies the size manually.

If he has specified an MTU of 1492 in the advanced settings in R3, no packets with a DF flag that are larger than 1464 should go out. For me it works as it should. The question is whether it does not work for him because his connection runs via DHCP and mine via PPPoE

So I can only imagine exactly two things that could be the cause. Either the R3 ignores the maximum MTU set for a connection via DHCP or he has not connected his ISP router to the WAN port of the R3.

Link to comment
Share on other sites

4 hours ago, Fuzy said:

It doesn't work like the XR series (netgear)

The modification of the MTU is only at the WAN level, the LAN part is not affected! Devices downstream of the R3 will not take it into account. (Like for example a test on an xbox...)

OK, thx, thats what i wanted to know coz it had no effect on connected devices. I assumed changing mtu would affect clients too...

Link to comment
Share on other sites

4 hours ago, ChrisG82 said:

So you're saying that giving technical details about a problem that apparently only you have doesn't matter? 
Okay, then it looks to me like you're not seriously interested in troubleshooting. 

It works completely problem-free for me. So it doesn't seem to be a general problem and only occurs in certain cases. But I'm sure you'll find out eventually.

sry, i didnt mean to be rude, its just i think we misunderstand each other what i was trying to do :)

 

btw, R3 is in advanced DMZ mode via telco fiber modem so it gets public WAN IP, no pppoe, 1500 mtu, basically changing MTU on R3 wan advanced interface  doesn't affect any clients connected to R3,  

Link to comment
Share on other sites

Yeah, no problem.
But I still don't understand exactly why it works for me and not for you. The only difference is that my R3 establishes a PPPoE connection and you use DHCP.

If I reduce the MTU in my advanced settings, all clients are affected. They then can only send packets with the DF flag that comply with this maximum MTU and without the DF flag the packets are fragmented accordingly...

And I think this behaviour is completely correct. Because with this setting I tell the R3 that it should only send packets up to a certain size to the outside via the WAN interface.

So here is my request to @Netduma Fraser
Please clarify with the devs what behaviour is really desired when the MTU is changed in the advanced settings. 

Link to comment
Share on other sites

Thank you, that is what i exactly need to know, is it a bug or as intended but then how are you able to limit MTU for clients ?...

On 3/19/2024 at 2:46 PM, ChrisG82 said:

Yeah, no problem.
But I still don't understand exactly why it works for me and not for you. The only difference is that my R3 establishes a PPPoE connection and you use DHCP.

If I reduce the MTU in my advanced settings, all clients are affected. They then can only send packets with the DF flag that comply with this maximum MTU and without the DF flag the packets are fragmented accordingly...

And I think this behaviour is completely correct. Because with this setting I tell the R3 that it should only send packets up to a certain size to the outside via the WAN interface.

So here is my request to @Netduma Fraser
Please clarify with the devs what behaviour is really desired when the MTU is changed in the advanced settings. 

 

Link to comment
Share on other sites

I have only reduced the MTU in the advanced settings. If I now (like you) send an ICMP to Google, for example, and set the packet size manually, I just don't get above 1464. Of course, only if I also say that the packets should not be fragmented. 

EDIT:

So here are two screenshots, one with a registered MTU of 1492 and one with an MTU of 1450.

The first ping per screenshot is directly against the R3. Here you can see that the LAN side is not affected and accepts packets with 1472 bytes without any problems. 

However, as soon as the packets go out via the WAN interface of the R3, you can see that the packets are limited in size. Depending on the MTU in the R3 settings 

(And no: I have not changed any settings on the client itself)

 

 

Advanced WAN Setings MTU 1492.png

Advanced WAN Setings MTU 1450.png

Edited by ChrisG82
Link to comment
Share on other sites

Ich habe die MTU mal auf 1 gestellt beim Netduma R3. Theroetisch sollte ich so nicht zum Beispiel Call of Duty zocken können , oder ? Meine Verbindungen sind PS5 --- Netduma --- Glasfaserkonverter . Beim Glasfaserkonverter kann ich keine MTU einstellen. 

Link to comment
Share on other sites

The Deutsche Telekom use 1492 MTU.

To find the right MTU for Router and Windows you can use SG TCP Optimizer and then go to MTU / Latancy and klick on Largest MTU.

Link to comment
Share on other sites

Different MTU numbers are for different kinds of connections. 1492 is specifically for those who are using PPPOE connections. That is what I use, I forgot what other numbers may be used for but you need to check with your internet provider to see what connection you use and then just google the answer from there. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...