Ночью спрашивал. Никто толком не онветил.
Упростим ситуацию.
lan--{ROU2}dhcp----wifi----
192.168.1.1{ROU3}100.66.145.46----ppp---100.66.0.1INET
wifi mtu 1500
ppp mtu 1492
С ROU2 на 100.66.145.46 ROU3 проходят пакеты любого размера.
pi@wifi-router:~ $ ping 100.66.145.46 -s 5000
PING 100.66.145.46 (100.66.145.46) 5000(5028) bytes of data.
5008 bytes from 100.66.145.46: icmp_seq=1 ttl=64 time=67.1 ms
5008 bytes from 100.66.145.46: icmp_seq=2 ttl=64 time=58.3 ms
5008 bytes from 100.66.145.46: icmp_seq=3 ttl=64 time=73.2 ms
Но. На шлюз провайдера за ppp никак. Упирается в mtu pppoe 1492.
pi@wifi-router:~ $ ping 100.66.0.1 -s 1464
PING 100.66.0.1 (100.66.0.1) 1464(1492) bytes of data.
1472 bytes from 100.66.0.1: icmp_seq=1 ttl=249 time=75.2 ms
1472 bytes from 100.66.0.1: icmp_seq=2 ttl=249 time=73.4 ms
1472 bytes from 100.66.0.1: icmp_seq=3 ttl=249 time=75.3 ms
pi@wifi-router:~ $ ping 100.66.0.1 -s 1465
PING 100.66.0.1 (100.66.0.1) 1465(1493) bytes of data.
From 100.66.145.46 icmp_seq=1 Frag needed and DF set (mtu = 1492)
^C
--- 100.66.0.1 ping statistics ---
3 packets transmitted, 0 received, +1 errors, 100% packet loss, time 2008ms
Как лечить?
Можно ли что сделать на ROU2?
ROU3 обычный huawei HG532e adsl модем. pppoe mtu 1492.