Re: [请益] 如何修改 IPv6 用户的 MSS 大小

楼主: asdfghjklasd (好累的大一生活)   2014-07-09 18:41:11
Cisco 2851
System image file is "flash:c2800nm-adventerprisek9-mz.124-4.T1.bin"
C2851(config)#ip tcp
async-mobility Configure async-mobility
chunk-size TCP chunk size
ecn Enable Explicit Congestion Notification
intercept Enable TCP intercepting
mss TCP initial maximum segment size
path-mtu-discovery Enable path-MTU discovery on new TCP connections
queuemax Maximum queue of outgoing TCP packets
selective-ack Enable TCP selective-ACK
synwait-time Set time to wait on new TCP connections
timestamp Enable TCP timestamp option
window-size TCP window size
由于我的CF卡只有64MB 所以我上不了 adv版本 ,2800也没有15.2 的版本
System image file is "flash:c2800nm-advsecurityk9-mz.151-4.M8.bin"
C2851(config)#ip tcp ?
RST-count Configure RST throttle count
async-mobility Configure async-mobility
chunk-size TCP chunk size
ecn Enable Explicit Congestion Notification
mss TCP initial maximum segment size
path-mtu-discovery Enable path-MTU discovery on new TCP connections
queuemax Maximum queue of outgoing TCP packets
selective-ack Enable TCP selective-ACK
synwait-time Set time to wait on new TCP connections
timestamp Enable TCP timestamp option
window-size TCP window size
C2851(config-if)#ip tcp adjust-mss ?
<500-1460> Maximum segment size in bytes
C2851(config-if)#ip tcp adjust-mss
C2851(config-if)#int gigabitEthernet 0/1
C2851(config-if)#ip?
ip iphc-profile
2851 没有 IPv6....也没你说那指令
这台从我卖给客户到现在都没上线用过...... @_@
※ 引述《zaknafein (zak)》之铭言:
: 因为用户对外连线有经过 GRE Tunnle
: 所以 IPv6 封包中的 TCP MSS 不得多于 1500 - 24 - 40 - 20 = 1416 bytes
: 如果是 IPv4,我可以透过在 Router 上下指令 ip tcp adjust-mss xxxx
: 来修改两端在 3-way handshake 协商的 mss value
: 可是针对 IPv6 我却没办法打 ipv6 tcp adjust-mss xxxx !
: 网络上找的的一两篇文章说,cisco IOS 在 15.2(4)M 后有支援这指令
: http://blog.ipspace.net/2013/01/mtu-issues-and-tcp-mss-clamping-in.html
: 可是我的 Cisco 2911 换到 c2900-universalk9-mz.SPA.152-4.M6a 还是不行
: 因为怀疑跟 Software License 可能也有关系,
: 所以我有尝试下载 Cisco Demo and Evaluation License 进行测试
: 但 Data, Security, UC 都用了,一样下不了指令 ....
: 唉~
: 不知道有没有人在玩这块?或是各位先进有其他解决办法?
作者: deadwood (T_T)   2014-07-09 19:10:00
ip tcp adjust-mss要进入接口设定那一层才有哦
作者: zaknafein (zak)   2014-07-09 22:06:00
报告 ip tcp adjust-mss v6,v4 tcp mss 大小都可以修改这是用wireshark 抓 handshake 封包的结果谢谢 deadwood 在 network 版的指点我前几天有台 2800 也是换到 advipservicek9才可以打 ipv6 相关指令
作者: deadwood (T_T)   2014-07-10 01:24:00
老实说我对IPV6完全不熟,只是看网站的说明而已OTZ可以请事主分享一下这个案例的架构跟设定吗?趁机偷学XD
楼主: asdfghjklasd (好累的大一生活)   2014-07-10 02:46:00
你2800用的是什么版号?我换到151后ipv6 都消失了要用advipservice的话,我得要把64MB的CF卡升级了..
作者: zaknafein (zak)   2014-07-10 08:56:00
2811 c2800nm-advipservicesk9-mz.124-21.bin 38MB

Links booklink

Contact Us: admin [ a t ] ucptt.com