一、实验目的

掌握综合应用的配置

二、实验仪器设备及软件

实验仪器设备:路由器、三层交换机、3台二层交换机、AC、3台AP

软件:ensp

 

三、实验原理

 

四、实验内容与步骤

AC配置:

[AC6005]vlan batch 250 252

[AC6005]int vlan 252

[AC6005-Vlanif252]ip add 10.1.252.254 24

[AC6005-Vlanif252]int g 0/0/1

[AC6005-GigabitEthernet0/0/1]port link-type trunk

[AC6005-GigabitEthernet0/0/1]port trunk allow-pass vlan 250 252

[AC6005]int Wlan-Ess 1

[AC6005-Wlan-Ess1]port hybrid untagged vlan 11

[AC6005-Wlan-Ess1]int Wlan-Ess 2

[AC6005-Wlan-Ess2]port hybrid untagged vlan 12

[AC6005-Wlan-Ess2]int Wlan-Ess 3

[AC6005-Wlan-Ess3]port hybrid untagged vlan 13

[AC6005-Wlan-Ess3]int Wlan-Ess 4

[AC6005-Wlan-Ess4]port hybrid untagged vlan 250

[AC6005]ip route-static 0.0.0.0 0.0.0.0 10.1.252.1

[AC6005]wlan

[AC6005-wlan-view]wlan ac source interface vlan252

[AC6005-wlan-view]ap id 1 type-id 19 mac 00e0-fc0c-27a0 sn 21023544831074311E33

[AC6005-wlan-ap-1] ap id 2 type-id 19 mac 00e0-fc1b-43d0 sn 210235448310591FB63A

[AC6005-wlan-ap-2] ap id 3 type-id 19 mac 00e0-fc23-1640 sn 2102354483109E1A2F6E

[AC6005-wlan-view]wmm-profile name test id 0

[AC6005-wlan-view]traffic-profile name test id 0

[AC6005-wlan-view]security-profile name guestnet id 0

[AC6005-wlan-view]security-profile name shichang id 1

[AC6005-wlan-sec-prof-shichang]security-policy wpa

[AC6005-wlan-sec-prof-shichang]wpa authentication-method psk pass-phrase simple 12345678 encryption-method tkip

[AC6005-wlan-sec-prof-shichang]quit

[AC6005-wlan-view]security-profile name yanfa id 2

[AC6005-wlan-sec-prof-yanfa]security-policy wpa

[AC6005-wlan-sec-prof-yanfa]wpa authentication-method psk pass-phrase simple 87654321 encryption-method tkip

[AC6005-wlan-sec-prof-yanfa]quit

[AC6005-wlan-view]security-profile name caiwu id 3

[AC6005-wlan-sec-prof-caiwu]security-policy wpa

[AC6005-wlan-sec-prof-caiwu]wpa authentication-method psk pass-phrase simple 11111111 encryption-method tkip

[AC6005-wlan-view]service-set name shichangbu id 1

[AC6005-wlan-service-set-shichangbu]wlan-ess 1

[AC6005-wlan-service-set-shichangbu]ssid shichang

[AC6005-wlan-service-set-shichangbu]traffic-profile id 0

[AC6005-wlan-service-set-shichangbu]security-profile id 1

[AC6005-wlan-service-set-shichangbu]service-vlan 11

[AC6005-wlan-service-set-shichangbu]quit

[AC6005-wlan-view]service-set name yanfabu id 2

[AC6005-wlan-service-set-yanfabu]wlan-ess 2

[AC6005-wlan-service-set-yanfabu]ssid yanfa

[AC6005-wlan-service-set-yanfabu]traffic-profile id 0

[AC6005-wlan-service-set-yanfabu]security-profile id 1

[AC6005-wlan-service-set-yanfabu]security-profile id 2

[AC6005-wlan-service-set-yanfabu]service-vlan 12

[AC6005-wlan-service-set-yanfabu]quit

[AC6005-wlan-view]service-set name caiwubu id 3

[AC6005-wlan-service-set-caiwubu]wlan-ess 3

[AC6005-wlan-service-set-caiwubu]ssid caiwu

[AC6005-wlan-service-set-caiwubu]traffic-profile id 0

[AC6005-wlan-service-set-caiwubu]security-profile id 3

[AC6005-wlan-service-set-caiwubu]service-vlan 12

[AC6005-wlan-service-set-caiwubu]quit

[AC6005-wlan-view]service-set name guest id 4

[AC6005-wlan-service-set-guest]forward-mode tunnel

[AC6005-wlan-service-set-guest]wlan-ess 4

[AC6005-wlan-service-set-guest]ssid guestnet

[AC6005-wlan-service-set-guest]traffic-profile id 0

[AC6005-wlan-service-set-guest]security-profile id 0

[AC6005-wlan-service-set-guest]service-vlan 250

[AC6005-wlan-service-set-guest]quit

[AC6005-wlan-view]radio-profile name test id 0

[AC6005-wlan-radio-prof-test]channel-mode fixed

[AC6005-wlan-radio-prof-test]wmm-profile id 0

[AC6005-wlan-radio-prof-test]ap 1 radio 0

[AC6005-wlan-radio-1/0]radio-profile id 0

[AC6005-wlan-radio-1/0]service-set id 1 wlan 1

[AC6005-wlan-radio-1/0]service-set id 4 wlan 2

[AC6005-wlan-radio-1/0]ap 2 radio 0

[AC6005-wlan-radio-2/0]radio-profile id 0

[AC6005-wlan-radio-2/0]channel 20mhz 6

[AC6005-wlan-radio-2/0]service-set id 2 wlan 1

[AC6005-wlan-radio-2/0]service-set id 4 wlan 2

[AC6005-wlan-radio-2/0]ap 3 radio 0

[AC6005-wlan-radio-3/0]radio-profile id 0

[AC6005-wlan-radio-3/0]channel 20mhz 11

[AC6005-wlan-radio-3/0]service-set id 3 wlan 1

[AC6005-wlan-radio-3/0]service-set id 4 wlan 2

[AC6005-wlan-radio-3/0]quit

[AC6005-wlan-view]commit all

三层交换机配置LSW1:

<Huawei>sys

[Huawei]vlan batch 11 to 13 250 to 254

[Huawei]dhcp en

[Huawei]int vlan11

[Huawei-Vlanif11]ip add 10.1.11.254 24

[Huawei-Vlanif11]dhcp select relay

[Huawei-Vlanif11]dhcp relay server-ip 10.1.253.254

[Huawei-Vlanif11]int vlan12

[Huawei-Vlanif12]ip add 10.1.12.254 24

[Huawei-Vlanif12]dhcp select relay

[Huawei-Vlanif12]dhcp relay server-ip 10.1.253.254

[Huawei-Vlanif12]int vlan13

[Huawei-Vlanif13]ip add 10.1.13.254 24

[Huawei-Vlanif13]dhcp select relay

[Huawei-Vlanif13]dhcp relay server-ip 10.1.253.254

[Huawei-Vlanif13]int vlan250

[Huawei-Vlanif250]ip add 10.1.250.254 24

[Huawei-Vlanif250]dhcp select relay

[Huawei-Vlanif250]dhcp relay server-ip 10.1.253.254

[Huawei-Vlanif250]int vlan251

[Huawei-Vlanif251]ip add 10.1.251.254 24

[Huawei-Vlanif251]dhcp select relay

[Huawei-Vlanif251]dhcp relay server-ip 10.1.253.254

[Huawei-Vlanif251]int vlan252

[Huawei-Vlanif252]ip add 10.1.252.1 24

[Huawei-Vlanif252]int vlan253

[Huawei-Vlanif253]ip add 10.1.253.1 24

[Huawei-Vlanif253]int g 0/0/1

[Huawei-GigabitEthernet0/0/1]port link-type trunk

[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan 11 251

[Huawei-GigabitEthernet0/0/1]int g 0/0/2

[Huawei-GigabitEthernet0/0/2]port link-type trunk

[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan 12 251

[Huawei-GigabitEthernet0/0/2]int g 0/0/3

[Huawei-GigabitEthernet0/0/3]port link-type trunk

[Huawei-GigabitEthernet0/0/3]port trunk allow-pass vlan 13 251

[Huawei-GigabitEthernet0/0/3]int g 0/0/22

[Huawei-GigabitEthernet0/0/22]port link-type trunk

[Huawei-GigabitEthernet0/0/22]port trunk allow-pass vlan 250 252

[Huawei-GigabitEthernet0/0/22]int g 0/0/23

[Huawei-GigabitEthernet0/0/23]port link-type access

[Huawei-GigabitEthernet0/0/23]port default vlan 253

[Huawei-GigabitEthernet0/0/23]int g 0/0/24

[Huawei-GigabitEthernet0/0/24]port link-type access

[Huawei-GigabitEthernet0/0/24]port default vlan 254

[Huawei]ip route-static 0.0.0.0 0.0.0.0 10.1.254.254

DHCP配置:

<Huawei>sys

[Huawei]dhcp en

[Huawei]ip pool vlan11

[Huawei-ip-pool-vlan11]gateway-list 10.1.11.254

[Huawei-ip-pool-vlan11]network 10.1.11.0 mask 255.255.255.0

[Huawei-ip-pool-vlan11]dns-list 8.8.8.8

[Huawei-ip-pool-vlan11]ip pool vlan12

[Huawei-ip-pool-vlan12]gateway-list 10.1.12.254

[Huawei-ip-pool-vlan12]network 10.1.12.0 mask 255.255.255.0

[Huawei-ip-pool-vlan12]dns-list 8.8.8.8

[Huawei-ip-pool-vlan12]ip pool vlan13

[Huawei-ip-pool-vlan13]gateway-list 10.1.13.254

[Huawei-ip-pool-vlan13]network 10.1.13.0 mask 255.255.255.0

[Huawei-ip-pool-vlan13]dns-list 8.8.8.8

[Huawei-ip-pool-vlan13]ip pool vlan250

[Huawei-ip-pool-vlan250]gateway-list 10.1.250.254

[Huawei-ip-pool-vlan250]network 10.1.250.0 mask 255.255.255.0

[Huawei-ip-pool-vlan250]dns-list 8.8.8.8

[Huawei-ip-pool-vlan250]ip pool vlan251

[Huawei-ip-pool-vlan251]gateway-list 10.1.251.254

[Huawei-ip-pool-vlan251]network 10.1.251.0 mask 255.255.255.0

[Huawei-ip-pool-vlan251]dns-list 8.8.8.8

[Huawei-ip-pool-vlan251]option 43 sub-option 3 ascii 10.1.252.254

[Huawei]int vlan1

[Huawei-Vlanif1]ip add 10.1.253.254 24

[Huawei-Vlanif1]dhcp select global

[Huawei-Vlanif1]int g 0/0/1

[Huawei-GigabitEthernet0/0/1]port link-type access

[Huawei-GigabitEthernet0/0/1]q

[Huawei]ip route-static 0.0.0.0 0.0.0.0 10.1.253.1

AR配置:

<Huawei>sys

[Huawei]int g 0/0/0

[Huawei-GigabitEthernet0/0/0]ip add 10.1.254.254 24

[Huawei-GigabitEthernet0/0/0]int l0

[Huawei-LoopBack0]ip add 100.100.100.100 32

[Huawei]ip route-static 0.0.0.0 0.0.0.0 10.1.254.1

二层交换机LSW2:

<Huawei>sys

[Huawei]vlan batch 11 251

[Huawei]undo info en

[Huawei]int e 0/0/1

[Huawei-Ethernet0/0/1]port link-type access

[Huawei-Ethernet0/0/1]port default vlan 11

[Huawei-Ethernet0/0/1]int g 0/0/1

[Huawei-GigabitEthernet0/0/1]port link-type trunk

[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan 11 251

[Huawei-GigabitEthernet0/0/1]int g 0/0/2

[Huawei-GigabitEthernet0/0/2]port link-type trunk

[Huawei-GigabitEthernet0/0/2]port trunk pvid vlan 251

[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan 11 251

二层交换机LSW3:

<Huawei>sys

[Huawei]vlan batch 12 251

[Huawei]interface Ethernet0/0/1

[Huawei-Ethernet0/0/1] port link-type access

[Huawei-Ethernet0/0/1] port default vlan 12

[Huawei-Ethernet0/0/1]interface GigabitEthernet0/0/1

[Huawei-GigabitEthernet0/0/1] port link-type trunk

[Huawei-GigabitEthernet0/0/1] port trunk allow-pass vlan 12 251

[Huawei-GigabitEthernet0/0/1]interface GigabitEthernet0/0/2

[Huawei-GigabitEthernet0/0/2] port link-type trunk

[Huawei-GigabitEthernet0/0/2] port trunk pvid vlan 251

[Huawei-GigabitEthernet0/0/2] port trunk allow-pass vlan 12 251

二层交换机LSW4:

<Huawei>sys

[Huawei]interface Ethernet0/0/1

[Huawei-Ethernet0/0/1] port link-type access

[Huawei-Ethernet0/0/1] port default vlan 13

[Huawei-Ethernet0/0/1]interface GigabitEthernet0/0/1

[Huawei-GigabitEthernet0/0/1] port link-type trunk

[Huawei-GigabitEthernet0/0/1] port trunk allow-pass vlan 13 251

[Huawei-GigabitEthernet0/0/1]interface GigabitEthernet0/0/2

[Huawei-GigabitEthernet0/0/2] port link-type trunk

[Huawei-GigabitEthernet0/0/2] port trunk pvid vlan 251

[Huawei-GigabitEthernet0/0/2] port trunk allow-pass vlan 13 251

五、实验结果与分析

WLAN-无线路由综合应用的更多相关文章

  1. H608B无线路由破解方法

    家里的无线路由送人了,准备重新买,今日一看,竟然自带的猫(ZTE H608B)有wifi天线和4个LAN口,想着是支持路由功能的,那必然就是从软件上做了手脚.搜索该型号发现没人刷openwrt或者to ...

  2. S3C2440实现wifi、3G上网和迷你无线路由的制作(一)

    S3C2440实现wifi.3G上网和迷你无线路由的制作 fulinux 凌云实验室 本文将通过ARM.linux平台,借助RT2070/RT3070芯片的无线模块(或使用RT2070/RT3070芯 ...

  3. 让win7变成无线路由(需要用管理员权限打开)最后完善.rar

    让win7变成无线路由(需要用管理员权限打开)最后完善.bat @ECHO OFF CLS color 0a netsh wlan show drivers ECHO.★★★★★★★★★★★★★★★★ ...

  4. 手动设置3G的wifi迷你无线路由

    1.插入中兴的3G无线网卡,终端上显示如下内容: ~ >: usb 1-1.3: new full speed USB device number 11 using s3c2410-ohci u ...

  5. 无线路由MAC地址过滤安全可靠性讨论

    无线路由MAC地址过滤安全可靠性讨论/如何实现,真的有效吗,如何防范       [内容导航] 什么是MAC地址过滤 突破MAC地址过滤步骤 捕获的无线客户端MAC地址 更改MAC地址来伪造身份 在W ...

  6. 系列文章(三):WAPI为无线局域网WLAN安全而生——By Me

    导读:无线局域网(又称为WLAN,Wireless Local Area Network),其应用领域不断拓展,无线接入所具有的前所未有的连接性和自动化能够为人们带来巨大的便利和商机.与此同时,在信息 ...

  7. 无线路由:关于WDS,Repeater等模式的说明

    转:http://blog.csdn.net/lizhiqiang5846/article/details/38397803 当今如果不用无线路由连接宽带似乎是很不popular了,当然Wifi/WL ...

  8. Win7无线路由Win8/8.1开启网络承载DOS命令笔记本电脑当无线路由器

    以下废话,先吐槽几句 这个功能其实在Win7+系统都内置了,不要再用什么某豹.某大师.某Soft之类的开启无线网络,这些软件都是骗你们安装一些垃圾软件的. 另外吐槽 某度wifi.某数字wifi都是垃 ...

  9. 【南工程开源计划】南京工程学院 信息与通信工程学院 课程设计说明书(论文) 宽带接入技术--WLAN接入设计

    文章目录 蓝奏云文件存放地址 一.课程设计目的 二.课程设计要求 三.课程设计网络环境 四.课程设计内容 4.1 WLAN接入设计 4.1.1设计拓扑 4.1.2设计原理 1)WLAN 2)RADIU ...

随机推荐

  1. 在PHP中使用SPL库中的对象方法进行XML与数组的转换

    虽说现在很多的服务提供商都会提供 JSON 接口供我们使用,但是,还是有不少的服务依然必须使用 XML 作为接口格式,这就需要我们来对 XML 格式的数据进行解析转换.而 PHP 中并没有像 json ...

  2. C# 将PPT转为OFD/DPT/DPS/ODP/POTX/UOP

    本文分享在C#代码程序中,如何将PPT幻灯片文档转换为多种文件格式,如:OFD.DPT.DPS.ODP.POTX.UOP等.只需在加载PPT幻灯片源文档后,调用ppt.SaveToFile(strin ...

  3. IDEA - 2019中文版安装教程

    前言 个人安装备忘录 软件简介 IDEA 全称IntelliJ IDEA,是java语言开发的集成环境,在业界被公认为最好的java开发工具之一,尤其在智能代码助手.代码自动提示.重构.J2EE支持. ...

  4. animate.css VUE 使用

    1.安装 npm i animate.css --save 2.引用 main.jsimport 'animate.css' 3.使用 <img v-show="welcomeinde ...

  5. libcurl 概述(翻译)

    l名称 libcurl 客户端 URL 传输 描述 这是一个如何使用libcurl进行C语言编程的简短概述.这里提到的每个功能都有特定的手册页.还有 libcurl-easy 手册页,libcurl- ...

  6. P4321-随机漫游【状压dp,数学期望,高斯消元】

    正题 题目链接:https://www.luogu.com.cn/problem/P4321 题目大意 给出\(n\)个点\(m\)条边的一张无向图,\(q\)次询问. 每次询问给出一个点集和一个起点 ...

  7. Java课堂测试1第三阶段

    package sizeyunsuan;//import java.util.Scanner;//import java.util.Random;import java.util.*; public ...

  8. 题解 CF961G 【Partitions】

    题目传送门 题目大意 给出\(n,k\),以及\(w_{1,2,..,n}\),定义一个集合\(S\)的权值\(W(S)=|S|\sum_{x\in S} w_x\),定义一个划分\(R\)的权值为\ ...

  9. PAT (Basic Level) Practice (中文)1086 就不告诉你 (15分)

    1086 就不告诉你 (15分) 做作业的时候,邻座的小盆友问你:"五乘以七等于多少?"你应该不失礼貌地围笑着告诉他:"五十三."本题就要求你,对任何一对给定的 ...

  10. 解决VS2015安装后stdio.h ucrtd.lib等文件无法识别问题,即include+lib环境变量配置

    转载自:http://blog.csdn.net/carl_qi/article/details/51171280 今天突然想在windows上装个 VS2015 玩玩,结果遇到了如下bug: 安装完 ...