本文已被:浏览 1532次 下载 2904次
Received:March 14, 2013 Revised:April 15, 2013
Received:March 14, 2013 Revised:April 15, 2013
中文摘要: 研究Linux虚拟服务器(Linux Virtual Server, 简称LVS)工作原理, 分析其数据转发流程. 针对LVS在多虚拟局域网环境下的部署应用问题, 设计实现了一种基于网络地址转换的数据转发模式Double-NAT. Double-NAT模式重新组织连接哈希表为双向桶结构, 使用系统分配的端口区分IN和OUT方向的数据流, 使得多VLAN下的数据包均能通过网络地址转换后转发. 测试结果表明, Double-NAT数据转发模式配置简单、性能良好, 能够有效应用于多虚拟局域网环境.
中文关键词: Linux虚拟服务器 网络地址转换 数据转发 最大并发连接数
Abstract:This paper studies the working principle of Linux Virtual Server (LVS), and analyzes its data forward process. To make LVS deployable in the environment of multiple VLANs (Virtual Local Area Network), this paper designs and implements a data forward method naming Double-NAT based on Network Address Translation(NAT). The Double-NAT method organizes the connection hash table in double-direction hash bucket, and uses system allocated port to distinguish data flow of IN and OUT direction, thus data in multiple VLANs can be forwarded via network address translation. Test results show that Double-NAT data forward method makes LVS work well in multiple VLANs environment with easy configuration and good performance.
keywords: Linux virtual server network address translation data forward maximum concurrent connection
文章编号: 中图分类号: 文献标志码:
基金项目:“核高基”重大专项(2009ZX01028-002-003-005);高等学校学科创新引智计划(B07033)
引用文本:
魏振伟,顾乃杰,彭建章,张颖楠.一种基于网络地址转换的LVS数据转发模式.计算机系统应用,2013,22(9):18-24,35
WEI Zhen-Wei,GU Nai-Jie,PENG Jian-Zhang,ZHANG Ying-Nan.A NAT-Based Data Forward Method for LVS.COMPUTER SYSTEMS APPLICATIONS,2013,22(9):18-24,35
魏振伟,顾乃杰,彭建章,张颖楠.一种基于网络地址转换的LVS数据转发模式.计算机系统应用,2013,22(9):18-24,35
WEI Zhen-Wei,GU Nai-Jie,PENG Jian-Zhang,ZHANG Ying-Nan.A NAT-Based Data Forward Method for LVS.COMPUTER SYSTEMS APPLICATIONS,2013,22(9):18-24,35