![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OpenVswitch
bule_sky_fuxing
这个作者很懒,什么都没留下…
展开
-
OpenVswitch mirror 镜像功能
研究这个功能的初衷:ovs网桥的veth口(phy-br-provider),怎么才能抓到报文呢?就想到了mirror功能,看看行不行 Openvswitch 配置端口镜像 1 创建接受报文的 mirror packetsmodprobe dummyip link set up dummy0modprobe dummy 2 添加端口到openvswitch中ovs-vsctl add-port b...原创 2018-07-03 15:33:36 · 4140 阅读 · 0 评论 -
OVS Bond lacp源码分析
近期项目中要使用Ovs bond接口,Ovs Bond 只有三种模式:balance-tcp,balance-slb,active-backup。这三种模式的工作方式如下:1、active-backup:主备模式2、balance-slb:负荷分担,根据源MAC地址负荷分担3、balance-tcp:负荷分担,根据IP地址+TCP端口进行负荷分担。虚拟交换机 bond支持以下几种模式,根据实际组网...原创 2018-05-11 10:05:20 · 4472 阅读 · 0 评论 -
使用patch接口连接两个ovs网桥
一、命令操作 ovs-vsctl add-port ovs-vsctl set interface type=patch ovs-vsctl set interface options:peer=2、ovs-vsctl show Bridge "ovsbr2" Port "ovsbr2" In原创 2017-12-06 14:45:11 · 1525 阅读 · 0 评论 -
openvswitch vlan port 模式解析
ovs-vsctl 命令可以设置端口的vlan_mode#ovs-vsctl set port port name> vlan_mode=trunk|access|native-tagged|native-untagged1vlan_mode 可选trunk, access, native-tagged, native-untagged之一。trunktrunk 类似交转载 2017-12-05 10:20:55 · 817 阅读 · 0 评论 -
vswitch ovsschema 结构,更好的使用ovs-vsctl命令,操作ovsdb
路径:/usr/share/openvswitch/vswitch.ovsschema{"name": "Open_vSwitch", "version": "7.12.1", "cksum": "2211824403 22535", "tables": { "Open_vSwitch": { "columns": { "bridges": {原创 2017-12-05 10:15:23 · 1383 阅读 · 0 评论 -
查看ovs中流表中,流表的port
1、查看ovs br-tun中port 对应的 number[root@compute ~]# ovs-ofctl show br-tunOFPT_FEATURES_REPLY (xid=0x2): dpid:0000f29a1024c747n_tables:254, n_buffers:256capabilities: FLOW_STATS TABLE_STATS PORT_STATS原创 2017-09-02 11:11:12 · 6352 阅读 · 0 评论