Neutron命令测试1

Refer: http://wenku.baidu.com/link?url=DtrbhO0A393hg8kOWKX0XYuZtSC8Iu0occn8NF1pYcUwNzlaSq5qXCQoNEBDMP5yTakMepoP_ZFheNu9j0MRnlF138wWctprLyiWGGaVl__
1.在/etc/network/interfaces中修改eth0网络配置信息
# interfaces(5) file used by ifup(8) and ifdown(8)
# auto lo
# iface lo inet loopback
auto eth0
iface eth0 inet manual
up ifconfig $IFACE 0.0.0.0 up
up ip link set $IFACE promiss on
down ip link set $IFACE promiss off
down ifconfig $IFACE down
auto br-ex
iface br-ex inet static
address 192.168.98.118
netmask 255.255.255.0
gateway 192.168.98.1
dns-nameservers 192.168.98.1
2.br-ex挂物理网口
sudo ovs-vsctl add-port br-ex eth0;sudo service networking restart;
jay@jay:/$ ifconfig
br-ex Link encap:Ethernet HWaddr de:3b:a6:1d:2b:48
inet addr:172.24.4.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: 2001:db8::2/64 Scope:Global
inet6 addr: fe80::50db:a2ff:fe9b:dcb8/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:288 errors:0 dropped:0 overruns:0 frame:0
TX packets:222 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23953 (23.9 KB) TX bytes:18357 (18.3 KB)
br-int Link encap:Ethernet HWaddr 52:74:74:73:8e:4f
inet6 addr: fe80::34d3:cfff:fe03:bd99/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:363870 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:64479423 (64.4 MB) TX bytes:828 (828.0 B)
br-tun Link encap:Ethernet HWaddr ba:34:3f:46:87:4a
inet6 addr: fe80::e8d4:65ff:fe5b:f6af/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:828 (828.0 B)
eth0 Link encap:Ethernet HWaddr 00:0c:29:77:37:03
inet addr:192.168.98.118 Bcast:192.168.98.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe77:3703/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1308967 errors:0 dropped:0 overruns:0 frame:0
TX packets:422217 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1345478842 (1.3 GB) TX bytes:251807902 (251.8 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:17750721 errors:0 dropped:0 overruns:0 frame:0
TX packets:17750721 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10375495620 (10.3 GB) TX bytes:10375495620 (10.3 GB)
qbrf1057be6-7b Link encap:Ethernet HWaddr 3a:ad:c4:60:b3:07
inet6 addr: fe80::68cb:2fff:fe31:1fc5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1655 errors:0 dropped:0 overruns:0 frame:0
TX packets:105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240393 (240.3 KB) TX bytes:15036 (15.0 KB)
qvbf1057be6-7b Link encap:Ethernet HWaddr 3a:ad:c4:60:b3:07
inet6 addr: fe80::38ad:c4ff:fe60:b307/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:1415 errors:0 dropped:0 overruns:0 frame:0
TX packets:1932 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:264744 (264.7 KB) TX bytes:295821 (295.8 KB)
qvof1057be6-7b Link encap:Ethernet HWaddr 56:81:57:31:e8:64
inet6 addr: fe80::5481:57ff:fe31:e864/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:1932 errors:0 dropped:0 overruns:0 frame:0
TX packets:1415 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:295821 (295.8 KB) TX bytes:264744 (264.7 KB)
tapf1057be6-7b Link encap:Ethernet HWaddr fe:16:3e:99:2f:29
inet6 addr: fe80::fc16:3eff:fe99:2f29/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:570 errors:0 dropped:0 overruns:0 frame:0
TX packets:322 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:33526 (33.5 KB) TX bytes:39030 (39.0 KB)
virbr0 Link encap:Ethernet HWaddr 9a:32:d4:22:82:bd
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
jay@jay:/$ sudo ovs-vsctl show
ffb10140-e5b7-4bcb-bdf2-01fda505c6e0
Bridge br-ex
Port "qg-c131f153-14"
Interface "qg-c131f153-14"
type: internal
Port br-ex
Interface br-ex
type: internal
Port "qg-1b3c8bb4-21"
Interface "qg-1b3c8bb4-21"
type: internal
Bridge br-tun
fail_mode: secure
Port br-tun
Interface br-tun
type: internal
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Bridge br-int
fail_mode: secure
Port "qr-62820738-62"
tag: 1
Interface "qr-62820738-62"
type: internal
Port br-int
Interface br-int
type: internal
Port "qvof1057be6-7b"
tag: 11
Interface "qvof1057be6-7b"
Port "tap6a6b3149-0f"
tag: 11
Interface "tap6a6b3149-0f"
type: internal
Port "qr-bbbfee1b-f7"
tag: 1
Interface "qr-bbbfee1b-f7"
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port "tap623dc764-d1"
tag: 1
Interface "tap623dc764-d1"
type: internal
ovs_version: "2.0.2"
Neutron命令测试1的更多相关文章
- Neutron命令测试3
1.打开Ubuntu的/etc/network/interfaces文件 .默认内容如下 auto lo iface lo inet loopback 2.如果以DHCP方式配置网卡,则改为:auto ...
- Neutron命令测试5
jolin@jolin:/$ route -nKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface ...
- Neutron命令测试4
jolin@jolin:~$ route -nKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface ...
- Neutron命令测试2
/etc/network/interfaces auto loiface lo inet loopback auto eth0iface eth0 inet manualup ifconfig $IF ...
- 用命令测试安装好的OpenStack环境
OpenStack三个节点icehouse-gre模式部署一文部署了一套OpenStack环境,接下来使用命令测试一遍. 首先要明确几个概念: 外网:可分配floating ip绑定到虚拟机,外部就可 ...
- USB系列之七:ASPI介绍及命令测试
在以前的一篇博文<关于构建DOS下编程平台的总结>中曾经介绍了一种在DOS下驱动U盘的方法,我们大致回顾一下.在config.sys中加入两个驱动程序,就可以驱动U盘:device = a ...
- Linux下使用DD命令测试磁盘读写速度
dd是Linux/UNIX 下的一个非常有用的命令,作用是用指定大小的块拷贝一个文件,并在拷贝的同时进行指定的转换,所以可以用来测试硬盘的读写能力~ 几种常见的DD命令,先看一下区别~ dd bs=6 ...
- Python实现telnet命令测试防火墙
Python实现telnet命令测试防火墙 telnet主要用于测试主机端口是否开通 ping主要是用来测试网络是否畅通和主机是否正在使用 使用Python实现Telnet测试主机端口是否开通的功能. ...
- 基于Python的AT命令测试脚本
对于各种有线&无线调制解调器(modem)产品来说,AT命令是事实上的标准接口之一,在工业界被广泛使用. 我开发了一套基于Python的AT命令测试脚本,源代码可在github上获取: htt ...
随机推荐
- Python-第三方库requests详解(附requests中文官方教程)
转自http://blog.csdn.net/cyjs1988/article/details/73294774 Python+requests中文官方教程: http://www.python-re ...
- C++11新标准:nullptr关键字
一.nullptr的意义 1.NULL在C中的定义 #define NULL (void*)0 2.NULL在C++中的定义 #ifndef NULL #ifdef __cplusplus #defi ...
- Redhat 6 git服务器配置 (git-daemon)
git-daemon是按照git的自己的git协议进行访问git服务 1.git-daemon软件安装 软件仓库见 redhat 6 git 服务器 配置 (http) 2.配置git dae ...
- 初探webapi
在网上看了小牛之路的webapi那篇文章,所以自己也想偿试一下 一,webapi简介 目前使用Web服务的三种主流的方式是:远程过程调用(RPC),面向服务架构(SOA)以及表征性状态转移(REST) ...
- vmware vmware esxi5.x安装方法及解决错误
vmware Esxi5.x安装指南 vmware Esxi5文档中心官网地址: http://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vm ...
- 读取word
目标:将word中数据转存到数据库 实质:数据的读写 难点:word文件格式的处理(识别,读取),/ 提取word有效的相关字段 实现: 1.基础了解:word(文字处理应用程序/文档工具)软件 ...
- scala lambda 表达式 & spark RDD函数操作
形式:(参数)=> 表达式 [ 一种匿名函数 ] 例1:map(x => x._2) 解:x=输入参数,“=>” 右边是表达式(处理参数): x._2 : x变为(**,x,**. ...
- 【图灵学院09】RPC底层通讯原理之Netty线程模型源码分析
1. dubbo 2.5.3 netty 3.2.5.Final
- 老男孩Day6作业:计算器
作业需求: 1.实现加减乘除及拓号优先级解析 2.用户输入 1 - 2 * ( (60-30 +(-40/5) * (9-2*5/3 + 7 /3*99/4*2998 +10 * 568/14 )) ...
- P1452 Beauty Contest 旋转卡壳
\(\color{#0066ff}{题目描述}\) 贝茜在牛的选美比赛中赢得了冠军"牛世界小姐".因此,贝西会参观N(2 < = N < = 50000)个农场来传播善 ...