08 2015 档案

OpenFlow Switch学习笔记(七)——Matching Fields
摘要:Matching Fieldsin_port=portMatches OpenFlow port portdl_vlan=vlanMatches IEEE 802.1q Virtual LAN tag vlan.dl_vlan_pcp=priorityMatches IEEE 802.1q Prio... 阅读全文

posted @ 2015-08-24 14:30 CasonChan 阅读(4016) 评论(0) 推荐(0)

Hierarchical Token Bucket
摘要:例子一:# tc qdisc add dev eth0 root handle 1: htb default 30# tc class add dev eth0 parent 1: classid 1:1 htb rate 6mbit burst 15k# tc class add dev eth0... 阅读全文

posted @ 2015-08-24 14:25 CasonChan 阅读(947) 评论(0) 推荐(0)

OpenvSwitch架构
摘要:Openvswitch的架构数据库结构和OVS-VSCTL# ps aux | grep openvswitch root 1117 0.0 0.0 21200 1580 ? S< Jun09 0:35 ovsdb-server /etc/openvswitch/conf.db -vconsole:... 阅读全文

posted @ 2015-08-24 14:13 CasonChan 阅读(4068) 评论(0) 推荐(0)

Examining Open vSwitch Traffic Patterns
摘要:In this post, I want to provide some additional insight on how the use of Open vSwitch (OVS) affects—or doesn’t affect, in some cases—how a Linux host... 阅读全文

posted @ 2015-08-24 13:56 CasonChan 阅读(405) 评论(0) 推荐(0)

Link Aggregation and LACP with Open vSwitch
摘要:In this post, I’m going to show you how to use link aggregation (via the Link Aggregation Control Protocol, or LACP) with Open vSwitch (OVS). First, t... 阅读全文

posted @ 2015-08-24 13:41 CasonChan 阅读(775) 评论(0) 推荐(0)

openvswitch——mac和vlan learning for ingress port
摘要:对于普通的switch,都会有这个学习的过程,当一个包到来的时候,由于包里面有MAC,VLAN Tag,以及从哪个口进来的这个信息。于是switch学习后,维护了一个表格port –> MAC –> VLAN Tag。这样以后如果有需要发给这个MAC的包,不用ARP,switch自然之道应该发给哪个... 阅读全文

posted @ 2015-08-24 13:11 CasonChan 阅读(4117) 评论(1) 推荐(0)

基于Open vSwitch的OpenFlow实践
摘要:Open vSwitch(下面简称为 OVS)是由 Nicira Networks 主导的,运行在虚拟化平台(例如 KVM,Xen)上的虚拟交换机。在虚拟化平台上,OVS 可以为动态变化的端点提供 2 层交换功能,很好的控制虚拟网络中的访问策略、网络隔离、流量监控等等。 OVS 遵循 Apache 阅读全文

posted @ 2015-08-21 17:32 CasonChan 阅读(1725) 评论(0) 推荐(0)

Open vSwitch安装及配置
摘要:一、 Open vSwitch简介1.1概述Open vSwitch是一个高质量的、多层虚拟交换机,使用开源Apache 2.0许可协议,由Nicira Networks开发,主要实现代码为可移植的C代码。 它的目的是让大规模网络自动化可以通过编程扩展,同时仍然支持标准的管理接口和协议(例如NetF... 阅读全文

posted @ 2015-08-21 17:08 CasonChan 阅读(7631) 评论(0) 推荐(0)

Open vSwitch FAQ (三)
摘要:Quality of Service (QoS)Q: How do I configure Quality of Service (QoS)?A: Suppose that you want to set up bridge br0 connected to physical Ethernet po... 阅读全文

posted @ 2015-08-21 15:12 CasonChan 阅读(613) 评论(0) 推荐(0)

Open vSwitch FAQ (二)
摘要:Configuration ProblemsQ: I created a bridge and added my Ethernet port to it, using commandslike these: ovs-vsctl add-br br0 ovs-vsctl add-port br... 阅读全文

posted @ 2015-08-21 14:27 CasonChan 阅读(1171) 评论(0) 推荐(0)

Open vSwitch FAQ (一)
摘要:Basic ConfigurationQ: How do I configure a port as an access port?A: Add "tag=VLAN" to your "ovs-vsctl add-port" command. For example, the following c... 阅读全文

posted @ 2015-08-21 13:18 CasonChan 阅读(822) 评论(0) 推荐(0)

Neutron Metering as a Service
摘要:1, /etc/neutron/neutron.conf service_plugins = router,metering notification_driver=neutron.openstack.common.notifier.rpc_notifier2, /etc/neutron/mete... 阅读全文

posted @ 2015-08-20 11:18 CasonChan 阅读(604) 评论(0) 推荐(0)

Shell字符串截取
摘要:shell中截取字符串的方法有很多中,${expression}一共有9种使用方法。${parameter:-word}${parameter:=word}${parameter:?word}${parameter:+word} 上面4种可以用来进行缺省值的替换。${#parameter}上面这种可... 阅读全文

posted @ 2015-08-18 14:03 CasonChan 阅读(375) 评论(0) 推荐(0)

数据中心网络虚拟化-隧道技术
摘要:如何实现不同租户和应用间的地址空间和数据流量的隔离是实现数据中心网络虚拟化首先需要解决的几个问题之一。所谓地址空间的隔离是指不同租户和应用 之间的网络(ip)地址之间不会产生相互干扰。换句话说,两个租户完全可以使用相同的网络地址。所谓数据流量的隔离是指任何一个租户和应用都不会感知或捕 获到其他虚拟网... 阅读全文

posted @ 2015-08-18 13:10 CasonChan 阅读(2362) 评论(0) 推荐(0)

初探Openstack Neutron DVR
摘要:目前在Juno版本的trunk中已经合入了DVR相关的代码,我的理解是在Juno版本中DVR是一个experimental feature。最好需要稳定一个版本以后再上生产环境。之前写过一篇博文是DVR相关的,当时代码还没有实现,与实际的实现有一些出入。当前的DVR的实现是基于VXLAN的。关于VX... 阅读全文

posted @ 2015-08-17 18:25 CasonChan 阅读(727) 评论(0) 推荐(0)

Linux 内核中的 Device Mapper 机制
摘要:本文结合具体代码对 Linux 内核中的 device mapper 映射机制进行了介绍。Device mapper 是 Linux 2.6 内核中提供的一种从逻辑设备到物理设备的映射框架机制,在该机制下,用户可以很方便的根据自己的需要制定实现存储资源的管理策略,当前比较流行的 Linux 下的逻辑... 阅读全文

posted @ 2015-08-14 12:55 CasonChan 阅读(749) 评论(0) 推荐(0)

libvirtError: no connection driver available for qemu:///system 解决办法
摘要:今天部署了一套K版的OpenStack环境后,启动nova-compute后,日志里狂报如下错误(因为其内部有定时任务需要去连libvirtd进程):2015-08-14 10:01:00.061 28580 TRACE nova.virt.libvirt.host File "/usr/lib... 阅读全文

posted @ 2015-08-14 11:15 CasonChan 阅读(10383) 评论(0) 推荐(1)

tcpdump抓包规则命令大全
摘要:下面的例子全是以抓取eth0接口为例,如果不加”-i eth0”是表示抓取所有的接口包括lo。1、抓取包含10.10.10.122的数据包# tcpdump -i eth0 -vnn host 10.10.10.1222、抓取包含10.10.10.0/24网段的数据包# tcpdump -i eth... 阅读全文

posted @ 2015-08-12 15:19 CasonChan 阅读(1609) 评论(0) 推荐(0)

iptables详解
摘要:Netfilter包含有三种表,三种表下共包含有五种链,链下面包含各种规则。即表包含若干链,链包含若干规则。(一)三种表为:filternat mangle1、filter:处理与本机有关的数据包,是默认表,包含有三种链:inputoutput forward2、nat表:与本机无关。主要处理源与目... 阅读全文

posted @ 2015-08-12 15:16 CasonChan 阅读(1168) 评论(0) 推荐(0)

OVS ARP Responder – Theory and Practice
摘要:PrefixIn the GRE tunnels post I’ve explained how overlay networks are used for connectivity and tenant isolation. In the l2pop post, or layer 2 popula... 阅读全文

posted @ 2015-08-10 13:08 CasonChan 阅读(496) 评论(0) 推荐(0)

ML2 – Address Population
摘要:Why do we need it, whatever it is?VM unicast, multicast and broadcast traffic flow is detailed in my previous post:Tunnels in Openstack NeutronAgent O... 阅读全文

posted @ 2015-08-10 10:46 CasonChan 阅读(428) 评论(0) 推荐(0)

导航