用户名: 密码: 验证码:
基于Linux系统TC框架的带宽控制研究与在校园网中的应用
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着计算机网络技术的快速发展和普及,园区网得到了迅速的发展,几年来一些大学、医院、公司等都建立了自己的局域网。特别是对于校园网来说发展更为迅速,各种新型业务不断涌现,譬如像视频教学、视频点播、远程教育等多媒体的应用很是普及,网络正在从以前的单纯传送数据向可传送语音、图像等多媒体教学的趋势发展。对于相对的有限带宽和大流量的业务,很容易造成网络拥塞,已经成为网络发展的瓶颈。如何解决好这个问题呢?这就要求我们去研究网络服务质量(QoS)和带宽的管理和控制。另外作为学校这样一个很特殊的群体,由于需要保障教学和科研的需要,必须给予一些重点单位或实验室专用的带宽以避免网络的拥塞和中断。这也是为什么校园网必须增加带宽控制的一个重要原因。
     近几年来,Linux内核得到不断的发展和完善,网络功能在不断地增加,其中Linux系统下的TC控制包就是内核新增的专门用来开发带宽控制的软件包,其众多强大的队列算法和分类器可以让我们随心所欲地来设定带宽。本文就是针对校园网等园区网的特点,通过对带宽控制策略地研究,提出一套切实可行的流量分配和带宽控制的方法,利用Linux系统的TC模块来设计完成的。本文前一部分主要是对带宽控制内核和队列算法进行剖析和研究,并在此基础上提出后半部分的设计策略和实现方法。并讨论了有关带宽控制中病毒防治等问题。
As the fast development and the prevalence of the computer networks technique is going on, there is a great progress in the development of the campus and area network. In recent years, some of the universities, hospitals, corporations etc have established their own local area network(LAN). Especially, the campus network is just the case of them, for its new types of multifarious business, video education, Video-On-Demand, far-distance education, the use of multimedia, and so on. The networking transmission is experiencing a great change, which is from simplex data to multimedia including voice, image and so forth. It gradually becomes a pop trend. Then the problems are put forword, that the network congestion happens easily for the limited bandwidth. And it turns into the bottle-neck of the network development. How should we like to solve it? It is a right way for us to study on the quality of service (QoS) on network and the management and control of the bandwidth. In another hand, in the use of network col
    leges are a special colony because usually it must protect some departments from the network congestion or interruption by special channel of the bandwidth. It is also an important reason why the traffic control(TC) should be increased.
    Recently the kernel of Linux is being more and more perfect and its network function turns to be stronger. For an instance, the TC packet expert in traffic control is just the new added item in the kernel of Linux. The numerous and powerful qdisc arithmetics and classifiers offer us to set the bandwidth in our pleasure. Aiming at the characteristics of the campus and area network such as campus network, in this article a set of feasible methods about the bandwidth distribution and traffic control is carried out based on the studies about the traffic control. The design is accomplished with the use of the TC model of the Linux system. Firstly, it is mainly about the parse and study on the kernel of traffic control and the queue arithmetic. But what is more worthy is the design strategy and the implemented methods brought forword in the following. Also, the prevention and cure of the virus about the traffic control is discussed.
引文
1.Rusty Russell等,“Linux的高级路由和流量控制HOWTO”
    2. "Linux Traffic Control V0.9", http://lartc.org/
    3. Rusty Russell等, "Linux 2.4 Advanced Routing HOWTO"
    4. Nichols, K.Blake, S.Baker, F. and D.Black, "Definition of the Differentiated Services Field (DSField) in the IPv4 and IPv6 Headers", RFC 2474, December 1998.
    5. Martin A. Brown, "Traffic Control HOWTO", http://linux-ip.net/articles/Traffic-Control-HOWTO/
    6. "ADSL Bandwidth Management HOWTO" , http://www.ibiblio.org/pub/Linux/docs/HOWTO
    7. "Quality of Service Networking", http://www.cisco.corn/univercd/cc/td/doc/cisintwk/ito_doc/qos.htm
    8. "HTB Linux queuing discipline manual user guide", http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm
    9. "HTB performance compared", http://luxik.cdi.cz/~devik/qos/htb/htb3/cbqhtb3perf.htm
    10. "Traffic Control using tcng and HTB HOWTO", http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Traffic-Control-tcng-HTB-HOWTO.html
    11. "The Netfilter project", http://www.netfilter.org/
    12. "Iptables Tutorial", http://iptables-tutorial.frozentux.net/index.html
    13. "Iptables connection tracking explained", http://www.cs.princeton.edu/~jns/security/iptables/iptables_conntrack.html
    14. "Linux Networking-concepts HOWTO", http://netfilter.samba.org/unreliable-guides/networking-concepts-HOWTO/index.html
    15. "Linux 2.2 Packet Shaping HOWTO ", http://svana.org/kleptog/Packet-Shaping-HOWTO.txt
    16.徐焱等,“Linux与Shell编程指南”,机械工业出版社
    
    
    17.刘隆国等,“IP协议栈源代码分析”,机械工业出版社
    18.祝琳等,“Linux网络系统对QoS的支持”,计算机工程,2002,2
    19.祝顺民等,“Linux 2.4.x网络协议栈QoS模块(TC)的设计与实现”,摘自《赛迪网》
    20.黄圳柏等,“建构在Web上之网络流量统计分析系统”,计算机工程,2003,5
    21.邱永凯等,“TC测试报告”
    22.“使用Mrtg监控网络流量”,http://www.cexpress.com/article/24.php
    23.“设置Linux内核流量控制—TC”,http://lartc.org/
    24.温福才,“Linux的带宽管理系统”,http://www.yesky.com/
    25.曾凡锋,“基于Linux的带宽分配软件的开发”,北方工业大学学报,2002,9
    26.陈志军等,“区分服务在Linux上的实现”,微型电脑应用,2002,9
    27.李锐,“Linux系统QoS应用”,安徽大学学报,2003,6
    28.王海涛,郑少仁,“Internet区分服务模型的研究及其实现”,重庆邮电学院学报,2002,3
    29.杨书凡,“服务环境下的流量控制的分析”,小型微型计算机系统,2003,3
    30.程时瑞,“IP QoS技术的现状与发展趋势”,《通讯世界》,2003,4
    31.姚伯威等,“linux2.4下的带宽(流量)控制功能”,计算机应用,2001,8
    32.孟龙,“网络中QoS保证的实现策略”,网络与应用,2000,10
    33.姜明,“下一代互联网关键技术IP QoS”,摘自《赛迪网》
    34.何宝宏,“IP网络服务质量讲座”,中国数据通讯,2000,8
    35.任晓彪.,“在园区网上实现QoS的三个方面”,国际通信网络,2000,

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700