随笔分类 -  neutron

摘要:1. Security Group全部打开,这是最基本的,但是很多人容易忘记 其实遇到过无数这种场景了,Debug了半天网络问题,各种手段都用上了,最后发现安全组竟然没有打开。 2. 通过界面查看虚拟机的log,也可以在compute节点上查看console.log文件,看看里面是否有DHCP获取I 阅读全文
posted @ 2018-03-09 21:01 popsuper1982 阅读(5730) 评论(1) 推荐(1) 编辑
摘要:当你想了解OpenStack的Neutron网络,打开下面这张图的时候,心里一定是崩溃的,看起来这些模块连在一起很复杂,但其实和你家里的网络很像,看不出来?看我来慢慢解析。 其实这个网络的样子更像是我上大学的时候的寝室里面的网络。 作为一个已到中年的80后,在两千年初上大学的时候,当时家用路由器的价 阅读全文
posted @ 2018-03-08 21:19 popsuper1982 阅读(3793) 评论(3) 推荐(5) 编辑
摘要:当搭建完openstack之后,在创建instance之前,第一件事情就是创建network,一个经典的流程如下: TENANT_NAME="openstack"TENANT_NETWORK_NAME="openstack-net"TENANT_SUBNET_NAME="${TENANT_NETWORK_NAME}-subnet"TENANT_ROUTER_NAME="openstack-rout... 阅读全文
posted @ 2014-07-16 22:12 popsuper1982 阅读(6959) 评论(1) 推荐(0) 编辑
摘要:Running your own dnsmasq with libvirtdOn linux host servers, libvirtd uses dnsmasq to service the virtual networks, such as the default network. A new... 阅读全文
posted @ 2014-07-15 19:02 popsuper1982 阅读(424) 评论(0) 推荐(0) 编辑
摘要:How the virtual networks used by guests workNetworking using libvirt is generally fairly simple, and in this section you'll learn the concepts you nee... 阅读全文
posted @ 2014-07-15 18:59 popsuper1982 阅读(1017) 评论(0) 推荐(0) 编辑
摘要:一般搭建成功了opentack后,都会按照文档的这样创建网络 Scenario 1: one tenant, two networks, one router Scenario 2: two tenants, two networks, two routers 然而neutron号称软件定义网络,可否创建更复杂的拓扑图 我创建了上面的三个网络,每个网络都运行一个主机,网络1和网络2,并... 阅读全文
posted @ 2014-07-10 12:27 popsuper1982 阅读(2329) 评论(0) 推荐(0) 编辑
摘要:这一节我们将flow tableflow table主要由ovs-ofctl命令操作ovs-ofctl可以走和openflow controller一样的协议:ssl:ip[:port]: The specified SSL port (default: 6633) on the host at t... 阅读全文
posted @ 2014-06-26 16:04 popsuper1982 阅读(8771) 评论(0) 推荐(0) 编辑
摘要:ovs-vsctl的DB的操作如果你在命令行里面找不到相应的命令创建和删除对象,则可以直接删除数据库[−−if−exists] [−−columns=column[,column]...] list table [record]...$ sudo ovs-vsctl list bridge _uui... 阅读全文
posted @ 2014-06-23 22:23 popsuper1982 阅读(4973) 评论(1) 推荐(1) 编辑
摘要:我们来看Interfacesofport: OpenFlow port number for this interface.type:system: An ordinary network device, e.g. eth0 on Linux.internal: A simulated networ... 阅读全文
posted @ 2014-06-23 22:11 popsuper1982 阅读(2315) 评论(0) 推荐(1) 编辑
摘要:这一节我们看QoS,Qos的设置往往是和flow中的policy一起使用的Open vSwitch QoS capabilities1 Interface rate limiting2 Port QoS policyQoS: Interface rate limitingA rate and bur... 阅读全文
posted @ 2014-06-23 12:46 popsuper1982 阅读(7104) 评论(1) 推荐(0) 编辑
摘要:1.安装vlan(vconfig)和加载8021q模块 #aptitude install vlan #modprobe 8021q 2.使用linux vconfig命令配置vlan #vconfig add eth0 100 #vconfig add eth0 200 在eth0接口上配置两个VLAN #vconfig set_flag eth0.100 1 1... 阅读全文
posted @ 2014-06-23 11:36 popsuper1982 阅读(2441) 评论(0) 推荐(0) 编辑
摘要:Firewall and network filtering in libvirtThere are three pieces of libvirt functionality which do network filtering of some type. At a high level they... 阅读全文
posted @ 2014-06-23 09:15 popsuper1982 阅读(696) 评论(0) 推荐(0) 编辑
摘要:http://cooker.techsnail.com/index.php/XEN,_KVM,_Libvirt_and_IPTablesXEN, KVM, Libvirt and IPTablesAlternate Title: "Libvirt overwrites the existing ip... 阅读全文
posted @ 2014-06-23 09:14 popsuper1982 阅读(1354) 评论(0) 推荐(0) 编辑
摘要:我们这一节来看Port一般来说一个Port就是一个Interface,当然也有一个Port对应多个Interface的情况,成为BondVLAN ConfigurationPort的一个重要的方面就是VLAN Configuration,有两种模式:trunk port,这个port不配置tag,配... 阅读全文
posted @ 2014-06-21 09:49 popsuper1982 阅读(10417) 评论(3) 推荐(0) 编辑
摘要:这一节我们来分析MirrorMirror就是配置一个bridge,将某些包发给指定的mirrored ports对于包的选择:select_all,所有的包select_dst_portselect_src_portselect_vlan对于指定的目的:output_port (SPAN)outpu... 阅读全文
posted @ 2014-06-21 09:31 popsuper1982 阅读(4517) 评论(0) 推荐(0) 编辑
摘要:这一节,我们重点看sFlow采样流sFlow(Sampled Flow)是一种基于报文采样的网络流量监控技术,主要用于对网络流量进行统计分析。sFlow系统包含一个嵌入在设备中的sFlow Agent和远端的sFlow Collector。其中,sFlow Agent通过sFlow采样获取本设备上的... 阅读全文
posted @ 2014-06-21 09:29 popsuper1982 阅读(4810) 评论(1) 推荐(3) 编辑
摘要:Figure 1: Low latency software defined networking control loop The articles SDN and delay and Delay and stability describe the critical importance of low measurement delay in constructing stable ... 阅读全文
posted @ 2014-06-21 09:27 popsuper1982 阅读(1342) 评论(0) 推荐(1) 编辑
摘要:With network virtualization, the software switches (such as Open vSwitch) on the servers act like the edge switches. So, to gain insights into the net... 阅读全文
posted @ 2014-06-21 09:25 popsuper1982 阅读(820) 评论(0) 推荐(0) 编辑
摘要:(image from Anatomy of an open source cloud)A cloud data center consists of large numbers of physical servers, each running a hypervisor with one or m... 阅读全文
posted @ 2014-06-21 09:24 popsuper1982 阅读(638) 评论(0) 推荐(0) 编辑
摘要:我们这一节主要来看ControllerController有两种:Primary Controller: 真正控制vswitch的flow table,vswitch会保持和controller的连接,如果失败,取决于bridge的fail mode。一个vswitch可以连接多个Controll... 阅读全文
posted @ 2014-06-21 09:23 popsuper1982 阅读(3692) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示