Openvswitch手册(7)

我们来看Interfaces

ofport: OpenFlow port number for this interface.

type:

  • system: An ordinary network device, e.g. eth0 on Linux.
  • internal: A simulated network device that sends and receives traffic.
  • tap: A TUN/TAP device managed by Open vSwitch.
  • gre: An Ethernet over RFC 2890 Generic Routing Encapsulation over IPv4 tunnel.
    • options : local_ip: The destination IP that received packets must match. Default is to match all addresses.
    • options : remote_ip: The tunnel endpoint.
    • options : in_key: The key that received packets must contain, one of:
    • options : out_key: The key to be set on outgoing packets, one of:
      • 0. The tunnel receives packets with no key or with a key of 0. This is equivalent to specifying no options:in_key at all.
      • A positive 32-bit (for GRE) or 64-bit (for CAPWAP) number. The tunnel receives only packets with the specified key.
      • The word flow. The tunnel accepts packets with any key. The key will be placed in the tun_id field for matching in the flow table.
  • ipsec_gre: An Ethernet over RFC 2890 Generic Routing Encapsulation over IPv4 IPsec tunnel.
    • options : peer_cert: Required for certificate authentication. A string containing the peer’s certificate in PEM format.
    • options : certificate: Required for certificate authentication. The name of a PEM file containing a certificate that will be presented to the peer during authentication.
    • options : private_key: Optional for certificate authentication. The name of a PEM file containing the private key associated with certificate.
    • options : psk: Required for pre-shared key authentication. Specifies a pre-shared key for authentication that must be identical on both sides of the tunnel.
  • patch : A pair of virtual devices that act as a patch cable.
    • options : peer: The name of the Interface for the other side of the patch. The named Interface’s own peer option must specify this Interface’s name. That is, the two patch interfaces must have reversed name and peer values.

ovs-vsctl add-port br0 gre0 -- set interface gre0 type=gre options:remote_ip=192.168.1.10

Openvswitch手册(7)

时间: 2024-11-05 03:16:24

Openvswitch手册(7)的相关文章

Openvswitch手册(5)

我们这一节来看Port 一般来说一个Port就是一个Interface,当然也有一个Port对应多个Interface的情况,成为Bond VLAN Configuration Port的一个重要的方面就是VLAN Configuration,有两种模式: trunk port,这个port不配置tag,配置trunks,如果trunks为空,则所有的VLAN都trunk,也就意味着对于所有的VLAN的包,本身带什么VLAN ID,就是携带者什么VLAN ID,如果没有设置VLAN,就属于VLA

Openvswitch手册(3)

这一节,我们重点看sFlow 采样流sFlow(Sampled Flow)是一种基于报文采样的网络流量监控技术,主要用于对网络流量进行统计分析. sFlow系统包含一个嵌入在设备中的sFlow Agent和远端的sFlow Collector.其中,sFlow Agent通过sFlow采样获取本设备上的接口统计信息和数据信息,将信息封装成sFlow报文,当sFlow报文缓冲区满或是在sFlow报文缓存时间(缓存时间为1秒)超时后,sFlow Agent会将sFlow报文发送到指定的sFlow C

Openvswitch手册(4)

这一节我们来分析Mirror Mirror就是配置一个bridge,将某些包发给指定的mirrored ports 对于包的选择: select_all,所有的包 select_dst_port select_src_port select_vlan 对于指定的目的: output_port (SPAN) output_vlan (RSPAN) Port mirroring on a Cisco Systems switch is generally referred to as Switche

Openvswitch手册(1)

Openvswitch是一个virutal swtich, 支持Open Flow协议,当然也有一些硬件Switch也支持Open Flow协议,他们都可以被统一的Controller管理,从而实现物理机和虚拟机的网络联通. Open Switch定义了一系列Flow Table,通过它来控制包的流向和结构. 根据Open Flow协议,Flow Table包含match field,如果匹配上了,则执行Action. 其中Match Field涵盖TCP/IP协议各层: Layer 1 – T

Openvswitch手册(2)

        我们这一节主要来看Controller Controller有两种: Primary Controller: 真正控制vswitch的flow table,vswitch会保持和controller的连接,如果失败,取决于bridge的fail mode.一个vswitch可以连接多个Controller,但是这些Controller之间的协作需要Controller自己来做. Service Controller:仅仅用于support,偶尔操作,maintain使用,如果co

Openvswitch手册(8)

ovs-vsctl的DB的操作 如果你在命令行里面找不到相应的命令创建和删除对象,则可以直接删除数据库 [??if?exists] [??columns=column[,column]...] list table [record]... $ sudo ovs-vsctl list bridge _uuid               : 91cd3178-fe2d-4004-85b6-f0f01fcc8b51 controller          : [] datapath_id      

Openvswitch手册(9)

这一节我们将flow table flow table主要由ovs-ofctl命令操作 ovs-ofctl可以走和openflow controller一样的协议: ssl:ip[:port]: The specified SSL port (default: 6633) on the host at the given ip, which must be expressed as an IP address (not a DNS name). The ??private?key, ??cert

Openvswitch手册(1): 架构,SSL, Manager, Bridge

Openvswitch是一个virutal swtich, 支持Open Flow协议,当然也有一些硬件Switch也支持Open Flow协议,他们都可以被统一的Controller管理,从而实现物理机和虚拟机的网络联通. Open Switch定义了一系列Flow Table,通过它来控制包的流向和结构. 根据Open Flow协议,Flow Table包含match field,如果匹配上了,则执行Action. 其中Match Field涵盖TCP/IP协议各层: Layer 1 – T

Ceph相关博客、网站(256篇OpenStack博客)

官网文档: http://docs.ceph.com/docs/master/cephfs/ http://docs.ceph.com/docs/master/cephfs/createfs/   (创建cephfs文件系统) ceph官方中文文档: http://docs.ceph.org.cn/ openstack中的配置: http://docs.ceph.com/docs/master/rbd/rbd-openstack/ 博客等: http://blog.csdn.net/dapao1