2015年9月1日

摘要: netlink 是一种特殊的 socket,它是 Linux 所特有的,类似于 BSD 中的AF_ROUTE 但又远比它的功能强大,目前在最新的 Linux 内核(2.6.14)中使用netlink 进行应用与内核通信的应用很多,包括:路由 daemon(NETLINK_ROUTE),1-wire ... 阅读全文
posted @ 2015-09-01 18:05 CasonChan 阅读(754) 评论(0) 推荐(0) 编辑

2015年8月24日

摘要: 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 阅读(3904) 评论(0) 推荐(0) 编辑
摘要: 例子一:# 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 阅读(896) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(3910) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(699) 评论(0) 推荐(0) 编辑
摘要: 对于普通的switch,都会有这个学习的过程,当一个包到来的时候,由于包里面有MAC,VLAN Tag,以及从哪个口进来的这个信息。于是switch学习后,维护了一个表格port –> MAC –> VLAN Tag。这样以后如果有需要发给这个MAC的包,不用ARP,switch自然之道应该发给哪个... 阅读全文
posted @ 2015-08-24 13:11 CasonChan 阅读(3997) 评论(1) 推荐(0) 编辑

2015年8月21日

摘要: Open vSwitch(下面简称为 OVS)是由 Nicira Networks 主导的,运行在虚拟化平台(例如 KVM,Xen)上的虚拟交换机。在虚拟化平台上,OVS 可以为动态变化的端点提供 2 层交换功能,很好的控制虚拟网络中的访问策略、网络隔离、流量监控等等。 OVS 遵循 Apache 阅读全文
posted @ 2015-08-21 17:32 CasonChan 阅读(1608) 评论(0) 推荐(0) 编辑
摘要: 一、 Open vSwitch简介1.1概述Open vSwitch是一个高质量的、多层虚拟交换机,使用开源Apache 2.0许可协议,由Nicira Networks开发,主要实现代码为可移植的C代码。 它的目的是让大规模网络自动化可以通过编程扩展,同时仍然支持标准的管理接口和协议(例如NetF... 阅读全文
posted @ 2015-08-21 17:08 CasonChan 阅读(6942) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(591) 评论(0) 推荐(0) 编辑

导航