2019 SDN上机第三次作业

实验一

利用Mininet仿真平台构建如下图所示的网络拓扑,配置主机h1和h2的IP地址(h1:10.0.0.1,h2:10.0.0.2),测试两台主机之间的网络连通性

从命令行启动mininet:

img

构建网络拓扑:

img

检测两台电脑连通性:

img

实验二

利用Wireshark工具,捕获通信数据,对OpenFlow协议类型的各类报文(hello, features_request, features_reply, set_config, packet_in, packet_out等)进行分析,对照wireshark截图写出你的分析内容。

hello报文:

OpenFlow的1.0版本
img
OpenFlow的1.3版本
img

Features Request报文:

1.0版本OpenFlow进行通信
img

Set Config报文:

img

Features Reply报文:

img

Packet_in报文:

img

Packet_out报文:

img

h2 ping h1

img
img
img

img

hello报文:

img
img

Flow_Mod报文:

1.3的openflow来进行通信
img