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 ...
随机推荐
- E - 稳定排序(结构体)
大家都知道,快速排序是不稳定的排序方法. 如果对于数组中出现的任意a[i],a[j](i<j),其中a[i]==a[j],在进行排序以后a[i]一定出现在a[j]之前,则认为该排序是稳定的. 某 ...
- G - 美素数
小明对数的研究比较热爱,一谈到数,脑子里就涌现出好多数的问题,今天,小明想考考你对素数的认识. 问题是这样的:一个十进制数,如果是素数,而且它的各位数字和也是素数,则称之为“美素数”,如29,本身是 ...
- 吴裕雄 python 机器学习——等度量映射Isomap降维模型
# -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt from sklearn import datas ...
- winform 动态添加控件及事件
for (int i = 0; i < 4; i++) { Button btn = new Button(); //btn.Name = dt.Rows[i]["ANDON_CONT ...
- 洛谷P3724 [AH2017/HNOI2017]大佬(决策单调性)
传送门 这个思路很妙诶->这里 以下为了方便,我把自信说成血量好了 虽然表面上看起来每一天有很多种选择,然而我们首先要保证的是不死,然后考虑不死的情况下最多能拿出多少天来进行其他操作.不死可以d ...
- CentOs中Apache文件访问去除index.php
0.apache下面和index.php同一个目录下面的 .haccess <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{ ...
- vue_cli下开发一个简单的模块权限系统之实现登录
因为我们需要和后端数据交互,所以我们需要安装axios,安装好以后在main.js引入 v-model是标识空间,v-on:click="doLogin"是登录事件 doLogin ...
- 11、OpenCV Python 图像金字塔
__author__ = "WSX" import cv2 as cv import numpy as np # 高斯金字塔 #金字塔 原理 ==> 高斯模糊+ 降采样 #金 ...
- Java 大数相乘、大数相加、大数相减
思路来源:: https://blog.csdn.net/lichong_87/article/details/6860329 /** * @date 2018/6/22 * @description ...
- Python 模拟简单区块链
首先这是说明一下这是Tiny熊老师的教程https://www.cnblogs.com/tinyxiong 另外还要说明一下,暑假指导老师让我们做一些关于区块链的应用.这里只是涉及极其简单的模拟,主要 ...