zoukankan      html  css  js  c++  java
  • Openvswitch手册(7): Interfaces

    131841412179725

    131841464202336

    131841515456204

    131841526247774

    我们来看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

  • 相关阅读:
    基于mini2440的两种触屏中断程序(T35)
    TFT LCD控制显示总结(硬件概念、初始化相关配置)
    TFT资料大全
    最全的摄像头资料
    【转】x.509证书在WCF中的应用(CS篇)
    C#中可以使用正则表达式来过滤html字符
    前台调用后台方法(转来的!)
    C#字符串截取(区分汉字)(转)
    用C#制作PDF文件全攻略 (专至csdn)
    证书创建工具 (Makecert.exe)
  • 原文地址:https://www.cnblogs.com/popsuper1982/p/3805094.html
Copyright © 2011-2022 走看看