摘要: 1. box-sizing 属性 content-box 的 width 仅为 content 部分,不包含 border & padding border-box 的 width 含 content, border & padding 以上 width 皆不含 margin 2. box-shad 阅读全文
posted @ 2020-07-26 15:17 willofficial 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 1. img 不超过其容器的 CSS 方法设置 将img设为块级元素 最大宽度设为100% img { display: block; max-width: 100%; } 2. div 浮动 与清除浮动 简易说明 3. 子元素使用该语句可以占用其父亲元素整宽 .father .son { disp 阅读全文
posted @ 2020-07-23 21:29 willofficial 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 1. 根据P4教程,将basic和basic_tunnel两个案例程序补充完整,成功运行。 basic 完整之程序 及运行截图 /* -*- P4_16 -*- */ #include <core.p4> #include <v1model.p4> const bit<16> TYPE_IPV4 = 阅读全文
posted @ 2019-12-15 16:39 willofficial 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1.实验拓扑 实验拓扑 Python脚本 from mininet.topo import Topo from mininet.net import Mininet from mininet.node import RemoteController,CPULimitedHost from minin 阅读全文
posted @ 2019-12-08 13:30 willofficial 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1.浏览RYU官网学习RYU控制器的安装和RYU开发入门教程,提交你对于教程代码的理解,包括但不限于: 描述官方教程实现了一个什么样的交换机功能? functionality that sends a received packet to all the ports. 控制器设定交换机支持什么版本的 阅读全文
posted @ 2019-12-01 22:38 willofficial 阅读(137) 评论(0) 推荐(0) 编辑
摘要: The answer is based on the paper given by my teacher, Miss Zhu. The Chinese version of questions is: 1.过去20年中可编程网络的发展可以分为几个阶段?每个阶段的贡献是什么? 2.网络虚拟化与SDN的 阅读全文
posted @ 2019-12-01 00:56 willofficial 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1. 解压安装OpenDayLight控制器(本次实验统一使用Beryllium版本) 安装Java环境 透过各种通路下载OpenDayLight 0.4.4-Beryllium-SR4 2. 启动并安装插件 安装插件 在distribution-karaf-0.4.4-Beryllium-SR4/ 阅读全文
posted @ 2019-11-21 09:54 willofficial 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 根据文章《软件定义网络(SDN)研究进展》,为问题作答如下。 1. 为什么需要 SDN ? SDN 特点? 原因: 随着网络规模的不断扩大,封闭的网络设备内置了过多的复杂协议,增加了运营商定制优化网络的难度,科研人员无法在真实环境中规模部署新协议,因此说明了网络架构等需要革新。同时,互联网流量的快速 阅读全文
posted @ 2019-11-14 21:48 willofficial 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 1. 利用Mininet仿真平台构建如下图所示的网络拓扑,配置主机h1和h2的IP地址(h1:10.0.0.1,h2:10.0.0.2),测试两台主机之间的网络连通性 如图,将 h1, h2 的 IP 分别设置为 10.0.0.1, 10.0.0.2 开启CLI OpenFlow 协议 1.0, 1 阅读全文
posted @ 2019-11-14 00:53 willofficial 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 1. 利用mininet创建如下拓扑,要求拓扑支持OpenFlow 1.3协议,主机名、交换机名以及端口对应正确,请给出拓扑Mininet执行结果,展示端口连接情况 利用Python脚本创建拓扑 from mininet.topo import Topo from mininet.net impor 阅读全文
posted @ 2019-11-06 22:34 willofficial 阅读(209) 评论(0) 推荐(0) 编辑