http://kb.cnblogs.com/page/513237/ http://blogs.technet.com/b/networking/archive/2009/08/12/where-do-resets-come-from-no-the-stork-does-not-bring-them.aspx http://div.io/topic/609?page=1 http://fex...
分类:
其他好文 时间:
2015-10-15 06:40:22
阅读次数:
130
网卡配置文件:/etc/network/interfaces文件关键内容:autoeth0ifaceeth0inetstaticaddress192.168.0.106netmask255.255.255.0gateway192.168.0.1DNS的配置:/etc/resovl.conf文件关键内容:domainnameserver8.8.8.8nameserver114.114.114.114重启网卡:/etc/init.d/networking..
分类:
其他好文 时间:
2015-10-05 23:31:58
阅读次数:
322
一、zeromq简介zeromq的官方网站:http://zeromq.org/, 简介如下:ZeroMQ (also known as ØMQ, 0MQ, or zmq) looks like an embeddable networking library but acts like a con...
分类:
其他好文 时间:
2015-10-04 12:20:07
阅读次数:
235
前言最近使用搭建了一个基于VXLAN的OpenStack 环境,发现要去dump ovs interfaces的包其实还是蛮麻烦的,经过多番努力,找到了如下的在openstack下网络环境的一些trouble shooting的方法。除了常见的工具如:ping, host, traceroute, ...
分类:
其他好文 时间:
2015-09-30 19:27:50
阅读次数:
226
题目:http://poj.org/problem?id=1287题目不多说, 最小生成树模版题。#include #include #include #include using namespace std;struct NoThing{ int from, to, val;} edge[1...
分类:
Web程序 时间:
2015-09-25 13:07:11
阅读次数:
235
CentOS刚装的MySQL一般需要重设MySQL密码,可以用以下方法重设。方法一、Js代码 # /etc/init.d/mysqld stop # mysqld_safe --user=mysql --skip-grant-tables --skip-networking & # mysql -u...
分类:
数据库 时间:
2015-09-24 23:52:30
阅读次数:
284
一、环境介绍:三台均为双网卡:openstack-control.example.comopenstack-controleth0:172.16.171.100eth1:10.1.1.100openstack-nova.example.comopenstack-novaeth0:172.16.171.110eth1:10.1.1.110openstack-neutron.example.comopenstack-neutroneth0:172.16.171.120eth1:10...
分类:
数据库 时间:
2015-09-23 01:17:02
阅读次数:
227
前言Floating IP 是相对于Fixed IP而言的,它一般是在VM创建后分配给VM的,可以达到的目的就是,外界可以访问通过这个Floating Ip访问这个VM,VM也可以通过这个IP访问外界。在OpenStack中,这个Floating IP使用了namespace内的iptables建立...
分类:
其他好文 时间:
2015-09-23 00:55:46
阅读次数:
242
mysql>grant 权限1,权限2,…权限n on数据库名称.表名称 to 用户名@用户地址 identified by ‘连接口令’;GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'localhost' \IDENTIFIED BY 'NEUTR...
分类:
数据库 时间:
2015-09-22 14:13:09
阅读次数:
261
ARP 协议概述ARP(Address Resolution Protocol),即地址解析协议,用于把 IP 地址映射到物理地址。网段上的每台主机都维护着一个被称为 ARP Table 或 ARP Cache 的表格,其中包含着网段上其他主机的 IP 地址与物理地址的对应关系。当主机需要向网段上的...
分类:
Web程序 时间:
2015-09-21 21:17:48
阅读次数:
316