ROS软路由小包优先策略.doc:..如果你需要做网络优化你可以做小包优先的策略。以下提供两种小包优先的配置方法鮫简单的小包优先配置方法:/ipfirewallmangle更改MSSaddchain=forwardprotocoltcptcp-flags=synaction=change-mssnew-mss=ment—”'disabled=no设置包大小0-32字节的为smalladdchain=forwardpacket-size=0-32action=mark-packetnew-packet-mark=smallpassthrough=ment="disabled=no设置包大小为33-511字节的为small_BIGaddchain=forwardpacket-size=33-511action=mark-packetnew-packet-mark=small_BIGpassthrough=ment」’disabled=no设置包人小为512-1500字节的为bigaddchain=forwardpacket-size=512・1500action=mark-packetnew-packet-mark=bigpassthrough=ment』disabled=noparent=lan,Ian是内网的接口,下面依次设置刚刚标记的包的优先级和带宽(带宽根据实际网络情况设置)priority:small5,small_BIG6,big8/queuetreeaddname=,,smaHHparent=lanpacket-mark=smalllimit-at=0queue=defaultpriority=5max-limit=8Mburst-limit=Oburst-threshold=0burst-time=Osdisabled=noaddname=nsmall_bignparent=Ianpacket-mark=small_BIGlimit-at=0queue=defaultpriority=6max-limit=8Mburst-limit=Oburst-threshold=0burst-time=Osdisabled=noaddname=HbigHparent=lanpacket-mark=biglimit-at=0较详细的小包优先配置力法:/ipfirewallmangleaddchain=forwardprotocoltcptcp-flags=synaction=change・mssnew-mss=ment—”'disabled=noaddchain=forwardp2p=all-p2paction=mark-connectionnew-connection-mark=p2p_connpassthrough=ment—'”disabled=noaddchain=forwardconnection-mark=p2p_connaction=mark-packetnew-packet-mark=p2ppassthrough=ment』disabled=noaddchain=forwardconnection-mark=!p2p_connaction=mark-packetnew-pac
ROS软路由小包优先策略 来自淘豆网m.daumloan.com转载请标明出处.