摘要: 学习材料:http://noxrepo.org/noxwiki/index.php/NOX_Installation#InstallationQ&A:NOX runs, now what?Many users start by playing around with the pyswitch com... 阅读全文
posted @ 2011-07-01 15:26 wangicter的博客 阅读(308) 评论(0) 推荐(0) 编辑
摘要: As I know, nox-gui.py is available at nox-destiny branch.git clone git://noxrepo.org/noxcd noxgit checkout -b destiny origin/destiny"monitoring" compo... 阅读全文
posted @ 2011-06-13 10:46 wangicter的博客 阅读(129) 评论(0) 推荐(0) 编辑
摘要: This document describes how to build and install Open vSwitch on ageneric Linux host. If you want to install Open vSwitch on a CitrixXenServer, see IN... 阅读全文
posted @ 2011-06-13 10:40 wangicter的博客 阅读(261) 评论(0) 推荐(0) 编辑
摘要: This document describes how to build and install Open vSwitch on ageneric Linux host. If you want to install Open vSwitch on a CitrixXenServer, see IN... 阅读全文
posted @ 2011-06-10 09:47 wangicter的博客 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 启动NOX控制台:./nox_core -v -i ptcp:6633 pyswitch1. 加载open vswitch 模块: insmod datapath/linux-2.6/openvswitch_mod.ko2. 增加一条数据通路:ovs-dpctl add-dp dp03. 将该数据通... 阅读全文
posted @ 2011-06-10 09:37 wangicter的博客 阅读(392) 评论(0) 推荐(0) 编辑
摘要: 1. 从官方网站http://openvswitch.org/中下载Open vSwitch源代码包,最新版本可使用下面的链接:http://openvswitch.org/releases/openvswitch-1.1.0pre2.tar.gz,下载完后输入以下命令解压[root@localho... 阅读全文
posted @ 2011-06-10 09:28 wangicter的博客 阅读(463) 评论(0) 推荐(0) 编辑
摘要: 由于要在linux中使用python 2.5版本,结果ubuntu 10.04默认版本为2.6,因此要安装2.5版本,并将其默认编译器改为2.5版本的。下面是主要步骤:1. 下载源代码:wget http://www.python.org/ftp/python/2.5.2/Python-2.5.2.... 阅读全文
posted @ 2011-05-22 14:36 wangicter的博客 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 有两种设置环境变量 PATH 的方法。第一种适用于为单一用户设置 PATH,第二种是为全局设置 PATH。1.在用户主目录下有一个 .bashrc 文件,可以在此文件中加入 PATH 的设置如下:用gedit /root/.bashrc打开export PATH=”$PATH:/your path1... 阅读全文
posted @ 2011-05-20 14:47 wangicter的博客 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 1. 什么是ACL?访问控制列表(Access Control List,ACL) 是路由器和交换机接口的指令列表,用来控制端口进出的数据包。ACL适用于所有的被路由协议,如IP、IPX、AppleTalk等。这张表中包含了匹配关系、条件和查询语句,表只是一个框架结构,其目的是为了对某种访问进行控制... 阅读全文
posted @ 2011-04-10 19:47 wangicter的博客 阅读(3721) 评论(0) 推荐(0) 编辑
摘要: char* hexToCharIP(struct in_addr addrIP){ char* ip; unsigned int intIP; memcpy(&intIP, &addrIP,sizeof(unsigned int)); int a = (intIP >> 24) & 0xFF... 阅读全文
posted @ 2011-04-09 20:46 wangicter的博客 阅读(1119) 评论(0) 推荐(0) 编辑