Openvswitch手册(7): Interfaces
时间:2019-07-04
本文章向大家介绍Openvswitch手册(7): Interfaces,主要包括Openvswitch手册(7): Interfaces使用实例、应用技巧、基本知识点总结和需要注意事项,具有一定的参考价值,需要的朋友可以参考一下。
我们来看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
原文地址:https://www.cnblogs.com/liuhongru/p/11134461.html
- JavaScript 教程
- JavaScript 编辑工具
- JavaScript 与HTML
- JavaScript 与Java
- JavaScript 数据结构
- JavaScript 基本数据类型
- JavaScript 特殊数据类型
- JavaScript 运算符
- JavaScript typeof 运算符
- JavaScript 表达式
- JavaScript 类型转换
- JavaScript 基本语法
- JavaScript 注释
- Javascript 基本处理流程
- Javascript 选择结构
- Javascript if 语句
- Javascript if 语句的嵌套
- Javascript switch 语句
- Javascript 循环结构
- Javascript 循环结构实例
- Javascript 跳转语句
- Javascript 控制语句总结
- Javascript 函数介绍
- Javascript 函数的定义
- Javascript 函数调用
- Javascript 几种特殊的函数
- JavaScript 内置函数简介
- Javascript eval() 函数
- Javascript isFinite() 函数
- Javascript isNaN() 函数
- parseInt() 与 parseFloat()
- escape() 与 unescape()
- Javascript 字符串介绍
- Javascript length属性
- javascript 字符串函数
- Javascript 日期对象简介
- Javascript 日期对象用途
- Date 对象属性和方法
- Javascript 数组是什么
- Javascript 创建数组
- Javascript 数组赋值与取值
- Javascript 数组属性和方法
- VirtualBox无限嵌套方法 | 虚拟机套娃
- Win10 LTSC 激活方法 | Win10专业版(永久激活)长期服务版 LTSC 2019密钥
- Nginx代理以及面向未来的HTTP
- git的基本使用
- 一、玩转Git三剑客-Git基础
- Docker和k8s的故障排除和监控利器 Weave-Scope服务
- docker 配置Consul+registrator实时服务发现
- 使用Docker搭建Zookeeper集群
- GDCRNATools内置的gdc-client不好用
- 字符编码与字符串表达式
- 关于批次效应矫正后出现负值
- 在SAP WebIDE里使用Fiori Elements快速开发SAP UI5应用
- SAP Fiori Elements里的Smart Table工作原理解析
- SAP Fiori Elements里Smart Link工作原理介绍
- SAP CDS view自学教程之六:如何在CDS view里消费table function