一、实验目的

掌握综合应用的配置

二、实验仪器设备及软件

实验仪器设备:路由器、三层交换机、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中GD库的使用(一)

    又到了一个大家非常熟悉的库了,对于图像图形的处理来说,GD 库是 PHPer 们绕不过去的一道坎.从很早很早的 CMS 或者 Discuz 时代,各类开源软件在安装的时候就会明确地指出 GD 库是它们 ...

  2. 【Azure 应用服务】App Service For Linux 部署PHP Laravel 项目,如何修改首页路径为 wwwroot\public\index.php

    问题描述 参考官方文档部署 PHP Laravel 项目到App Service for Linux环境中,但是访问应用时候遇见了500 Server Error 错误. 从部署的日志中,可以明确看出 ...

  3. centos7.X 系统初始化>>优化

    1 修改网卡为eth0 cd /etc/sysconfig/network-scripts/ vim ifcfg-eno16777729TYPE=EthernetBOOTPROTO=staticIPA ...

  4. Windows命令行在任意位置启动和退出nginx

    写在前面 本文给出Windows系统中能在任意路径下通过命令行启动和退出nginx的方法.不想看过程的读者可以直接跳转到结论,一样能解决问题. 正文 过程 很多Windows下的nginx教程都教我们 ...

  5. P5163-WD与地图【tarjan,整体二分,线段树合并】

    正题 题目链接:https://www.luogu.com.cn/problem/P5163 题目大意 给出\(n\)个点\(m\)条有向边,点有权值,要求支持操作 删除一条边 修改一个点的权值 求一 ...

  6. Python3入门系列之-----元组

    元组 Python 的元组与列表类似,不同之处在于元组的元素不能修改 元组使用小括号,列表使用方括号 元组创建很简单,只需要在括号中添加元素,并使用逗号隔开即可 实例 tup1 = (1,2,3,4, ...

  7. HTML(思维导图)

  8. Java基础之(六):变量、运算符与JavaDoc

    变量.常量 一.变量的命名规范 首字母只能以字母(A-Z或者a-z)或者美元符($)或者下划线(_)开头,不能以数字开头,首字母之后只能跟字母(AZ或者az)或者数字,不能跟美元符或者下划线 源码 p ...

  9. 题解 Wide Swap

    题目传送门 题目大意 给出一个长度为 \(n\) 的排列 \(a_{1,2,...,n}\) 以及常数 \(k\),每次可以交换两个数 \(a_i,a_j\) 当且仅当 \(j-i\ge k \tex ...

  10. SignalR 在React/GO技术栈的生产应用

    哼哧哼哧半年,优化改进了一个运维开发web平台. 本文记录SignalR在react/golang 技术栈的生产小实践. 1. 背景 有个前后端分离的运维开发web平台, 后端会间隔5分钟同步一次数据 ...