1
24.1 Production Series / Re: fq_codel console flood
« on: March 02, 2024, 08:17:31 pm »
The ping command that pops up when you google when you search about finding WAN MTU this is not very useful.
If anyone is wondering how to determine your MTU on OPNsense:
You need to adjust the number "1472" greater and or less than until you get:
For Example:
"1473" is too high.
Please also note:
"1471" works but since "1472" works as well this is too low.
I hope this helps someone.
Cheers,
If anyone is wondering how to determine your MTU on OPNsense:
Code: [Select]
sudo ping -D -s 1472 1.1.1.1
"1472" is just right for me (and probably most people not on PPPoe ... but your mileage may vary; this is my hobby).You need to adjust the number "1472" greater and or less than until you get:
Code: [Select]
sudo ping -D -s 1472 1.1.1.1 ─╯
Password:
PING 1.1.1.1 (1.1.1.1): 1472 data bytes
1480 bytes from 1.1.1.1: icmp_seq=0 ttl=59 time=8.168 ms
1480 bytes from 1.1.1.1: icmp_seq=1 ttl=59 time=7.644 ms
1480 bytes from 1.1.1.1: icmp_seq=2 ttl=59 time=8.822 ms
1480 bytes from 1.1.1.1: icmp_seq=3 ttl=59 time=8.274 ms
^C
--- 1.1.1.1 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 7.644/8.227/8.822/0.418 ms
For Example:
Code: [Select]
sudo ping -D -s 1473 1.1.1.1 ─╯
PING 1.1.1.1 (1.1.1.1): 1473 data bytes
ping: sendto: Message too long
ping: sendto: Message too long
ping: sendto: Message too long
^C
--- 1.1.1.1 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
"1473" is too high.
Please also note:
Code: [Select]
sudo ping -D -s 1471 1.1.1.1 ─╯
PING 1.1.1.1 (1.1.1.1): 1471 data bytes
1479 bytes from 1.1.1.1: icmp_seq=0 ttl=59 time=11.158 ms
1479 bytes from 1.1.1.1: icmp_seq=1 ttl=59 time=14.895 ms
1479 bytes from 1.1.1.1: icmp_seq=2 ttl=59 time=8.327 ms
1479 bytes from 1.1.1.1: icmp_seq=3 ttl=59 time=11.253 ms
^C
--- 1.1.1.1 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 8.327/11.408/14.895/2.331 ms
"1471" works but since "1472" works as well this is too low.
I hope this helps someone.
Cheers,