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