M-Net Fiber in Munich.
igb0 set to mtu 1512
VLAN 40 set to mtu 1508
PPPoE set to mtu 1500 (in advanced settings)
WAN no mtu set.
ifconfig shows
OPNsense passes pings with MTU 1500:
A Debian machine passes pings with MTU 1500:
Windows passes pings with MTU 1500:
HOWEVER, OPNsense still shows a calculated MTU of 1492 in the "WAN" interface section, and http://pmtud.enslaves.us/ shows a mtu of 1492 only as well:
igb0 set to mtu 1512
VLAN 40 set to mtu 1508
PPPoE set to mtu 1500 (in advanced settings)
WAN no mtu set.
ifconfig shows
Code Select
igb0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1512
vlan0.40: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1508
pppoe0: flags=1008ad1<UP,POINTOPOINT,RUNNING,NOARP,ALLMULTI,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500OPNsense passes pings with MTU 1500:
Code Select
@OPNsense:~ % sudo ping -D -s 1472 8.8.8.8
Password:
PING 8.8.8.8 (8.8.8.8): 1472 data bytes
1480 bytes from 8.8.8.8: icmp_seq=0 ttl=120 time=4.469 ms
1480 bytes from 8.8.8.8: icmp_seq=1 ttl=120 time=5.022 msA Debian machine passes pings with MTU 1500:
Code Select
$ ping -M do -s 1472 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 1472(1500) bytes of data.
1480 bytes from 8.8.8.8: icmp_seq=1 ttl=119 time=8.17 ms
1480 bytes from 8.8.8.8: icmp_seq=2 ttl=119 time=5.31 msWindows passes pings with MTU 1500:
Code Select
ping 1.1.1.1 -f -l 1472
Ping wird ausgeführt für 1.1.1.1 mit 1472 Bytes Daten:
Antwort von 1.1.1.1: Bytes=1472 Zeit=4ms TTL=59
Antwort von 1.1.1.1: Bytes=1472 Zeit=4ms TTL=59HOWEVER, OPNsense still shows a calculated MTU of 1492 in the "WAN" interface section, and http://pmtud.enslaves.us/ shows a mtu of 1492 only as well:
QuotePath MTU Discovery Test
Results
Direction Tested Maximum Size Segment Client Sent MSS Notes
Server to Client IPv4 1452 (MTU 1492) 1452 (MTU 1492) OK
Client to Server IPv4 unlimited (n/a) OKCode Selectgot server to client probe for mss 536 (max seg 1452)
got server to client probe for mss 1452 (max seg 1452)
got server to client probe for mss 1452 (max seg 1452)
finished s2c4 probing, maximum mss 1452 peer mss 1452 initial peer mss 1452
got client to server probe for mss 400
got client to server probe for mss 1453
got client to server probe for mss 9000
finished c2s4 probing, maximum mss 9000
"