当前位置: 首页 > news >正文

网站做充值和提现广东智慧团建系统入口

网站做充值和提现,广东智慧团建系统入口,淮南教育网官网,企业画册图片目录 任务目的 任务内容 实验原理 实验环境 实验过程 1、打开ODL控制器 2、网页端打开ODL控制页面 3、创建拓扑 4、Postman中查看交换机的信息 5、L2层流表下发 6、L3层流表下发 7、L4层流表下发 任务目的 1、掌握OpenFlow流表相关知识#xff0c;理解SDN网络中L…目录 任务目的 任务内容 实验原理 实验环境 实验过程 1、打开ODL控制器 2、网页端打开ODL控制页面 3、创建拓扑 4、Postman中查看交换机的信息 5、L2层流表下发 6、L3层流表下发 7、L4层流表下发 任务目的 1、掌握OpenFlow流表相关知识理解SDN网络中L2L3L4层流表的概念。 2、学习并熟练掌握Postman工具下发L2L3L4层流表。 任务内容 1、学习OpenFlow流表的组成包头域的解析流程及流表的匹配流程。 2、熟悉OpenDaylight对接Mininet的使用。 3、使用Postman工具下发相应的L2L3L4层流表并验证。 实验原理 SDN的设计目标之一就是将网络设备的控制功能与转发功能进行分离进而将控制功能全部集中到远程的控制器上完成而SDN交换机只负责在本地做简单高速的数据转发。在SDN交换机运行的过程中其数据转发的依据就是流表。 实验环境 实验过程 1、打开ODL控制器 这里已经把ODL控制器的添加到了环境变量中所以直接使用karaf命令就可以启动ODL控制器如果没有添加到环境变量中就需要进入到ODL安装目录使用命令./bin/karaf启动ODL 2、网页端打开ODL控制页面 我这里电脑的IP地址为192.168.112.132因此在浏览器中输入http://192.168.112.132:8181/index.html即可进入ODL控制器的页面 3、创建拓扑 在另一台安装了mininet的虚拟机上创建拓扑并将控制器的地址改为192.168.112.132 mn --toposingle,2 --controllerremote,ip192.168.112.132,port6633 --switch ovsk,protocolsOpenFlow13 pingall 此时ODL页面就已经可以看到topo了 4、Postman中查看交换机的信息 Basic Auth页签Username字段填写adminPassword字段填写admin完成认证。 提交方式为GETURL地址栏中输入http://192.168.112.132:8080/restconf/operational/network-topology:network-topology 设置完成单击Send按钮获取交换机id信息输入 5、L2层流表下发 下发第一条L2流表 选择提交方式“PUT” URL地址栏输入如下形式的地址http://{controllerip}:8080/restconf/config/opendaylight-inventory:nodes/node/{node-id}/table/{table-id}/flow/{flow-id} 其中{controller-ip}为控制器的ip地址node-id为上面获取到的交换机id信息table-id这里为0flow-id根据下发不同流表变化可自定义。 如http://192.168.112.132:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/107 “body”中选择“raw”格式为XMLapplication/xml并填写如下消息体注意修改源目MAC地址源地址为1端口连接的主机目的地址为2端口连接的地址 下发流表匹配源MAC为ce:45:a4:38:08:d0的流量目的MAC为76:ae:0d:50:d7:ad出端口为2优先级为300 这里可以看到交换机的2端口连接的是76:ae:0d:50:d7:ad因此以下配置中目的地址为76:ae:0d:50:d7:ad源地址为ce:45:a4:38:08:d0 ?xml version1.0 encodingUTF-8 standaloneno? flow xmlnsurn:opendaylight:flow:inventory priority200/priority flow-nameFoo1/flow-name idle-timeout0/idle-timeout hard-timeout0/hard-timeout match ethernet-match ethernet-source addressce:45:a4:38:08:d0/address /ethernet-source ethernet-destination address76:ae:0d:50:d7:ad/address /ethernet-destination /ethernet-match /match id107/id table_id0/table_id instructions instruction order0/order apply-actions action order0/order output-action output-node-connector2/output-node-connector /output-action /action /apply-actions /instruction /instructions /flow mininet上查看流表是否增加了一条优先级为300的流表 sh ovs-ofctl dump-flows s1 -O openflow13 下发第二条L2流表 下发流表匹配源MAC为76:ae:0d:50:d7:ad的流量目的MAC为ce:45:a4:38:08:d0出端口为1优先级为300 这里的源目MAC地址与第一条流表中的应该相反且流ID不能再是107应该换一个比如108 ?xml version1.0 encodingUTF-8 standaloneno? flow xmlnsurn:opendaylight:flow:inventory priority200/priority flow-nameFoo1/flow-name idle-timeout0/idle-timeout hard-timeout0/hard-timeout match ethernet-match ethernet-source address76:ae:0d:50:d7:ad/address /ethernet-source ethernet-destination addressce:45:a4:38:08:d0/address /ethernet-destination /ethernet-match /match id108/id table_id0/table_id instructions instruction order0/order apply-actions action order0/order output-action output-node-connector1/output-node-connector /output-action /action /apply-actions /instruction /instructions /flow 在mininet上查询流表是否已经下发 sh ovs-ofctl dump-flows s1 -O openflow13 测试下发的流表是否有效 pingall 此处可以看到匹配流表的数据增加了 6、L3层流表下发 L3层对应OSI模型的三层三层流表主要匹配的是IP包的协议类型和IP地址 URL地址栏输入http://192.168.112.132:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/111 流表匹配源IP地址为10.0.0.1/32的报文并将其转发到2端口 ?xml version1.0 encodingUTF-8 standaloneno? flow xmlnsurn:opendaylight:flow:inventory priority300/priority flow-nameFoo1/flow-name idle-timeout0/idle-timeout hard-timeout0/hard-timeout match ethernet-match ethernet-type type2048/type /ethernet-type /ethernet-match ipv4-source10.0.0.1/32/ipv4-source /match id111/id table_id0/table_id instructions instruction order0/order apply-actions action order0/order output-action output-node-connector2/output-node-connector /output-action /action /apply-actions /instruction /instructions /flow URL地址栏输入http://192.168.112.132:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/112 匹配源IP地址为10.0.0.2/32的报文并将其转发到1端口。 ?xml version1.0 encodingUTF-8 standaloneno? flow xmlnsurn:opendaylight:flow:inventory priority300/priority flow-nameFoo2/flow-name idle-timeout0/idle-timeout hard-timeout0/hard-timeout match ethernet-match ethernet-type type2048/type /ethernet-type /ethernet-match ipv4-source10.0.0.2/32/ipv4-source /match id112/id table_id0/table_id instructions instruction order0/order apply-actions action order0/order output-action output-node-connector1/output-node-connector /output-action /action /apply-actions /instruction /instructions /flow URL地址栏输入http://192.168.112.132:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/113 流表下发arp匹配流表 ?xml version1.0 encodingUTF-8 standaloneno? flow xmlnsurn:opendaylight:flow:inventory priority300/priority flow-nameFoo1/flow-name idle-timeout0/idle-timeout hard-timeout0/hard-timeout match ethernet-match ethernet-type type2054/type /ethernet-type /ethernet-match /match id113/id table_id0/table_id instructions instruction order0/order apply-actions action order0/order output-action output-node-connectorNORMAL/output-node-connector max-length0/max-length /output-action /action /apply-actions /instruction /instructions /flow 7、L4层流表下发 L4对应的OSI模型中的四层即流表对应的TCP/UDP源端口TCP/UDP src port、TCP/UDP目的端口号TCP/UDP dst port字段。本实验匹配TCP目的端口 URL地址栏输入http://192.168.112.132:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/117 匹配到目的IP地址为10.0.0.1/32且目的端口为5001的TCP报文将其转发到2端口 ?xml version1.0 encodingUTF-8 standaloneno? flow xmlnsurn:opendaylight:flow:inventory priority300/priority flow-nameFoo1/flow-name idle-timeout0/idle-timeout hard-timeout0/hard-timeout match tcp-destination-port5001/tcp-destination-port ethernet-match ethernet-type type2048/type /ethernet-type /ethernet-match ipv4-destination10.0.0.1/32/ipv4-destination ip-match ip-protocol6/ip-protocol /ip-match /match id117/id table_id0/table_id instructions instruction order0/order apply-actions action order0/order output-action output-node-connector2/output-node-connector /output-action /action /apply-actions /instruction /instructions /flow URL地址栏输入http://192.168.112.132:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/118 匹配到目的IP地址为10.0.0.2/32且目的端口为5001的TCP报文将其转发到1端口 ?xml version1.0 encodingUTF-8 standaloneno? flow xmlnsurn:opendaylight:flow:inventory priority300/priority flow-nameFoo1/flow-name idle-timeout0/idle-timeout hard-timeout0/hard-timeout match tcp-destination-port5001/tcp-destination-port ethernet-match ethernet-type type2048/type /ethernet-type /ethernet-match ipv4-destination10.0.0.2/32/ipv4-destination ip-match ip-protocol6/ip-protocol /ip-match /match id118/id table_id0/table_id instructions instruction order0/order apply-actions action order0/order output-action output-node-connector1/output-node-connector /output-action /action /apply-actions /instruction /instructions /flow URL地址栏输入http://192.168.112.132:8080/restconf/config/opendaylight-inventory:nodes/node/openflow:1/table/0/flow/119 流表下发arp匹配流表 ?xml version1.0 encodingUTF-8 standaloneno? flow xmlnsurn:opendaylight:flow:inventory priority300/priority flow-nameFoo1/flow-name idle-timeout0/idle-timeout hard-timeout0/hard-timeout match ethernet-match ethernet-type type2054/type /ethernet-type /ethernet-match /match id119/id table_id0/table_id instructions instruction order0/order apply-actions action order0/order output-action output-node-connectorFLOOD/output-node-connector max-length0/max-length /output-action /action /apply-actions /instruction /instructions /flow
http://www.hkea.cn/news/14399098/

相关文章:

  • cms网站建设平面设计都学什么
  • 呼伦贝尔市住房和城乡建设局网站模板素材库
  • 什么网站不能备案网页开发多少钱
  • 上海外贸网站wordpress怎么改中文
  • 深圳做网站企业买一个软件大概多少钱
  • 企业网站页头背景图专题网站可以做什么
  • 网站设计案例分析商城网站模板html
  • 石家庄建立网站的公司网络营销论文题目
  • 网站无法处理请求ppt模板大全百度云
  • 柳州城乡建设管理局网站深圳沙头角网站建设
  • 什么是网站平台开发百度网站加v
  • 网站设计的书深圳做公司英文网站多少钱
  • 深圳服务网站建设如何做电商运营推广
  • 个人网站建设存在哪些问题营销型企业网站的提出
  • 自己怎么做wap网站个人备案网站用于企业
  • 孟村网 网站类模板模板下载网站
  • 做直播网站宽带河北工程大学网站开发成本
  • wap站开发shopify是什么平台
  • 黄页网站大全免费网在线电子类 购物网站
  • 一个网站的建立需要什么同城推广引流平台
  • 怎么把网站放到服务器池州网站建设电话
  • 营销型网站建设应该考虑哪些因素会员管理系统哪个好用
  • 网站建设三把火科技wordpress自动给关键词加内链方法
  • 泰安哪个做网站wordpress 指定目录页
  • 电商网站布局设计营销型wordpress模板
  • 如何高效的完成网站建设步骤手工制作大全简单
  • 托管网站是什么意思软件开发工具教材
  • 罗湖网站建前端开发软件哪个最好
  • 我的网站首页打不开用户体验网站
  • 吉林响应式网站价格曲阜网站设计