這次有遇到 ipv6 走 80 port 正常但走 443 port 卻失敗

會在 ssl handshake 的時候 timeout

因為 NAS 上設定 MTU 最小就是 1500 

但 ipv6 routing path 中的 router 有不吃 1500 bytes 的 MTU

所以造成這問題

後來 MTU 改成 1402 就正常了

指令

sysctl -w net.ipv6.conf.eth0.mtu=1402

查看設定

sysctl -a | grep mtu

 

後來上網查了一下 ipv6 MTU 最小是 1280 bytes

http://www.tcpipguide.com/free/t_IPv6DatagramSizeMaximumTransmissionUnitMTUFragment.htm

https://blogs.cisco.com/enterprise/ipv6-mtu-gotchas-and-other-icmp-issues

arrow
arrow
    全站熱搜

    JohnDX 發表在 痞客邦 留言(0) 人氣()