Documentation_networking_vxlan

来源:互联网 发布:node sass 安装不上 编辑:程序博客网 时间:2024/06/17 12:38
Chinese translated version of Documentation/networking/vxlan


If you have any comment or update to the content, please contact the
original document maintainer directly.  However, if you have a problem
communicating in English you can also ask the Chinese maintainer for
help.  Contact the Chinese maintainer if this translation is outdated
or if there is a problem with the translation.


Chinese maintainer: 774945605@qq.com
---------------------------------------------------------------------
Documentation/networking/vxlan 的中文翻译


如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
译存在问题,请联系中文版维护者。


中文版维护者: 潘丽卡  774945605@qq.com
中文版翻译者: 潘丽卡  774945605@qq.com
中文版校译者: 黄佳露  799942107@qq.com








以下为正文
---------------------------------------------------------------------




Virtual eXtensible Local Area Networking documentation


虚拟可扩展局域网文档


======================================================


The VXLAN protocol is a tunnelling protocol that is designed to
solve the problem of limited number of available VLAN's (4096).
With VXLAN identifier is expanded to 24 bits.


虚拟可扩展局域网协议时一个通道协议,该协议旨在解决当VXLAN标识符
扩展到24位后,可用VLAN(4096)的数量有限的问题。




It is a draft RFC standard, that is implemented by Cisco Nexus,
Vmware and Brocade. The protocol runs over UDP using a single
destination port (still not standardized by IANA).
This document describes the Linux kernel tunnel device,
there is also an implantation of VXLAN for Openvswitch.


这是一个RFC(request for comment)标准草案,在思科Nexus,
Vmware和博科中都有被使用。这个协议通过一个单一的目的端口
在UDP中运行(还不是规范的IANA)。这个文档描述了Linux内核
通道设备,以及介绍了Openvswitch中有关VXLAN的一些思想。




Unlike most tunnels, a VXLAN is a 1 to N network, not just point
to point. A VXLAN device can either dynamically learn the IP address
of the other end, in a manner similar to a learning bridge, or the
forwarding entries can be configured statically.


不像大部分通道,虚拟可扩展局域网是一种一对多的网络,
而不是点对点连接。一个VXLAN设备可以动态地获取另一端的
IP地址,在某种程度上类似于一个学习的网桥,又或者设置成
静态转发记录的形式。


The management of vxlan is done in a similar fashion to it's
too closest neighbors GRE and VLAN. Configuring VXLAN requires
the version of iproute2 that matches the kernel release
where VXLAN was first merged upstream.


VXLAN的管理采取与它关系密切的GRE和VLAM相似的方式。
配置VXLAN要求能和内核版本匹配的iproute2版本,在这个
版本中VXLAN首次被融入到了upstream技术中。




1. Create vxlan device
创建VXLAN设备


  # ip li add vxlan0 type vxlan id 42 group 239.1.1.1 dev eth1


This creates a new device (vxlan0). The device uses the
the multicast group 239.1.1.1 over eth1 to handle packets where
no entry is in the forwarding table.


这条命令创建了一个新的设备(vxlan0)。这个设备在eth1网络接口上
通过多路广播组239.1.1.1来解决在转发表中还没有转发目录的数据包
的转发问题。


2. Delete vxlan device
删除VXLAN设备


  # ip link delete vxlan0


3. Show vxlan info
显示VXLAN的接口信息


  # ip -d link show vxlan0


It is possible to create, destroy and display the vxlan
forwarding table using the new bridge command.


使用新的网桥命令可以创建、销毁和显示VXLAN转发表。




1. Create forwarding table entry
创建转发表条目
  # bridge fdb add to 00:17:42:8a:b4:05 dst 192.19.0.2 dev vxlan0


2. Delete forwarding table entry
删除转发表条目
  # bridge fdb delete 00:17:42:8a:b4:05 dev vxlan0


3. Show forwarding table
显示转发表
  # bridge fdb show dev vxlan0
原创粉丝点击