我在rotuer中使用QINQ secend标记作为pppoe服务器
interface TenGigabitEthernet2/0/0.904
description Cust1-QINQ
encapsulation dot1Q 904 second-dot1q any
pppoe enable group PPPOE-SERVER3
interface Virtual-Template2
**mtu 1492**
ip unnumbered Loopback0
ip nat inside
no logging event link-status
peer default ip address pool interface localpool2
keepalive 15
ppp mtu adaptive
ppp authentication chap ms-chap ms-chap-v2 eap pap
ppp ipcp dns 8.8.8.8 8.8.4.4
ppp timeout idle 172800 either
end使用的连接,但他们有一些网站不开放和一些应用程序不太工作,我认为与MTU的问题,因为我使用了双标签(qinq),那么MTU的大小必须是什么?
发布于 2020-04-24 14:39:30
基本方法是使用ping,将don't fragment位设置为具有不同数据包大小的ping,直到找到正确的值为止:
在Mac OS系统上使用
ping -D -s <packetsize> <pingable IP accross the tunnel>
在Windows上
ping -f -l <packetsize> <pingable IP accross the tunnel>
在linux上,默认设置不要片段位:
ping -s <packetsize> <pingable IP accross the tunnel>
找到响应的最大值后,为ICMP (8)和IP (20)报头添加28,就有了MTU。
https://networkengineering.stackexchange.com/questions/67461
复制相似问题