三层组网AP上线外接DHCP
一、实验目的
在3-1的基础上增加DHCP的配置方法
二、实验仪器设备及软件
仪器设备:一台AC,四台AP,一台路由充当DHCP服务器
软件:ENSP
三、实验原理

四、 实验内容与步骤
1.三层交换机
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname coreSwitch
[coreSwitch]undo info-center enable
Info: Information center is disabled.
[coreSwitch]vlan batch 100 to 102
Info: This operation may take a few seconds. Please wait for a moment...done.
[coreSwitch]dhcp en
Info: The operation may take a few seconds. Please wait for a moment.done.
[coreSwitch]interface vlanif1
[coreSwitch-Vlanif1]ip add 10.0.0.1 255.255.255.0
[coreSwitch-Vlanif1]interface vlanif100
[coreSwitch-Vlanif100]ip add 10.0.100.254 255.255.255.0
[coreSwitch-Vlanif100]interface vlanif101
[coreSwitch-Vlanif101]ip add 10.0.101.254 255.255.255.0
[coreSwitch-Vlanif101]dhcp select relay
[coreSwitch-Vlanif101]dhcp relay server-ip 10.0.0.254
[coreSwitch-Vlanif101]interface vlanif102
[coreSwitch-Vlanif102]ip add 10.0.102.254 255.255.255.0
[coreSwitch-Vlanif102]dhcp select relay
[coreSwitch-Vlanif102]dhcp relay server-ip 10.0.0.254
[coreSwitch-Vlanif102]interface g0/0/1
[coreSwitch-GigabitEthernet0/0/1]port link-type access
[coreSwitch-GigabitEthernet0/0/1]port default vlan 101
[coreSwitch-GigabitEthernet0/0/1]interface g0/0/2
[coreSwitch-GigabitEthernet0/0/2]port link-type access
[coreSwitch-GigabitEthernet0/0/2]port default vlan 101
[coreSwitch-GigabitEthernet0/0/2]interface g0/0/3
[coreSwitch-GigabitEthernet0/0/3]port link-type access
[coreSwitch-GigabitEthernet0/0/3]port default vlan 102
[coreSwitch-GigabitEthernet0/0/3]interface g0/0/4
[coreSwitch-GigabitEthernet0/0/4]port link-type access
[coreSwitch-GigabitEthernet0/0/4]port default vlan 102
[coreSwitch-GigabitEthernet0/0/4]interface g0/0/24
[coreSwitch-GigabitEthernet0/0/24]port link-type access
[coreSwitch-GigabitEthernet0/0/24]port default vlan 100
2.无线控制AC
<AC6005>sys
Enter system view, return user view with Ctrl+Z.
[AC6005]interface vlanif1
[AC6005-Vlanif1]ip add 10.0.100.1 255.255.255.0
[AC6005-Vlanif1]ip route-static 0.0.0.0 0.0.0.0 10.0.100.254
[AC6005]wlan
[AC6005-wlan-view]wlan ac source interface vlanif1
3.DHCP服务器
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]dhcp en
Info: The operation may take a few seconds. Please wait for a moment.done.
[Huawei]ip pool for101
Info: It's successful to create an IP address pool.
[Huawei-ip-pool-for101]gateway-list 10.0.101.254
[Huawei-ip-pool-for101]network 10.0.101.0 mask 255.255.255.0
[Huawei-ip-pool-for101]dns-list 1.1.1.1
[Huawei-ip-pool-for101]option 43 sub-option 3 ascii 10.0.100.1
[Huawei-ip-pool-for101]ip pool for102
Info: It's successful to create an IP address pool.
[Huawei-ip-pool-for102]gateway-list 10.0.102.254
[Huawei-ip-pool-for102]network 10.0.102.0 mask 255.255.255.0
[Huawei-ip-pool-for102]dns-list 1.1.1.1
[Huawei-ip-pool-for102]option 43 sub-option 3 ascii 10.0.100.1
[Huawei-ip-pool-for102]interface vlanif1
[Huawei-Vlanif1]ip add 10.0.0.254 255.255.255.0
[Huawei-Vlanif1]dhcp select global
[Huawei-Vlanif1]quit
[Huawei]ip route-static 10.0.100.0 255.255.255.0 10.0.0.1
[Huawei]ip route-static 10.0.101.0 255.255.255.0 10.0.0.1
[Huawei]ip route-static 10.0.102.0 255.255.255.0 10.0.0.1
五、实验结果与分析
1. AC上检查ap的上线情况
dis ap all
2.Ap上检查与AC的连接情况
dis capwap link state

三层组网AP上线外接DHCP的更多相关文章
- 二层组网AP上线
一.实验目的 1)掌握配置WLAN源接口的命令 2)掌握配置DHCP服务器的命令 3)掌握手工确认AP上线的方法a 二.实验仪器设备及软件 仪器设备:一台AC,四台AP 软件:ENSP 三.实验原理 ...
- 实验报告8 AC+Fit AP组网通过三层网络注册(DHCP Option 43)
实验报告8 课程名称 无线网络与安全技术 实验名称 AC+Fit AP组网通过三层网络注册(DHCP Option 43) 姓名 学号 班级 实 验 目 的 [实验目的] 了解AC+Fit AP跨 ...
- 华为eNSP环境,WLAN简介与组网,AP+AC详细配置
WLAN简单组网一.概述 无线局域网(Wireless Local Area Networks: WLAN)利用无线技术在空中传输数据.话音和视频信号.作为传统布线网络的一种替代方案或延伸,无线 ...
- 无线安全: 通过伪AP进行DHCP+DNS劫持的钓鱼攻击
有了之前学习802.11的数据帧格式.芯片硬件参数学习的基础后,我们接下来继续学习无线安全中黑客是怎样进行流量劫持攻击的 相关学习资料 http://www.freebuf.com/articles/ ...
- AP注册
1.ac发现ap 两种模式:二层发现.三层发现 按ap与ac所处ip网段不同,可以把注册过程分为二层模式和三层模式: 两种模式均通过发送discovery报文进行,二层模式discovery报文仅在同 ...
- WLAN-AC+AP射频一劳永逸的调优方式
AP射频调优组网图 射频调优简介 射频调优的主要功能就是动态调整AP的信道和功率,可以使同一AC管理的各AP的信道和功率保持相对平衡,保证AP工作在最佳状态.WLAN网络中,AP的工作状态会受到周围环 ...
- 服务集与AP的配合
一.实验目的 1)掌握添加无线网络配置 2)掌握配置信道和协议使用并配置在一个天线上同时运行两个服务集,即两个无线网络 二.实验仪器设备及软件 仪器设备:一台AC,两台AP,一台AR,一台LSW 软件 ...
- Openstack Neutron:三层技术和实现
目录 - 1.Neutron 三层技术简介 - 2.集中式router - 1.在节点上安装L3 agent - 2.配置外部网络 - 3.通过CLI或者Horizon 来创建路由 - 4.连接租户网 ...
- 胖AP(1602i)与苹果设备之间的问题总结
问题现象: 苹果设备(5GHz)连接不稳定,表现为时断时续,或者加入无线的时候一直加入不进去. 有些2.4GHz设备会在几个AP之间相互跳. 分析: 1. 先说苹果设备,它既支持2.4G 也支持5G, ...
随机推荐
- PHP中的PDO操作学习(三)预处理类及绑定数据
要说 PDO 中最强大的功能,除了为不同的数据库提供了统一的接口之外,更重要的就是它的预处理能力,也就是 PDOStatement 所提供的功能.因为它的存在,才让我们可以安心地去使用而不用操心 SQ ...
- PHP的可变变量与可变函数
什么叫可变.在程序世界中,可变的当然是变量.常量在定义之后都是不可变的,在程序执行过程中,这个常量都是不能修改的.但是变量却不同,它们可以修改.那么可变变量和可变函数又是什么意思呢?很明显,就是用另一 ...
- mybatis if else if 条件判断SQL片段表达式取值和拼接
前言 最近在开发项目的时候涉及到复杂的动态条件查询,但是mybaits本身不支持if elseif类似的判断但是我们可以间接通过 chose when otherwise 去实现其中choose为一个 ...
- 谷歌浏览器chrome安装插件报"程序包无效: CRX_HEADER_INVALID"错误
今天参加需求评审,看到原来可以谷歌浏览器查看Axure原型文件,真是只有想不到,没有做不到(自己孤陋寡闻了,第一次接触Axure). 需求评审后,我百度"如何使用谷歌浏览器查看Axure原型 ...
- TP框架中的一些登录代码分享
<?php namespace Admin\Controller;use Think\Controller;class LoginController extends Controller{ p ...
- PHP ASCII 排序方法
//自定义ascii排序function ASCII($params = array()){ if(!empty($params)){ $p = ksort($params); if($p){ $st ...
- 安卓模拟器genymotion安装
上一篇已经讲了appium的搭建.那么搭建好后,我们需要测试不同机型,这个时候除了真机外,可以选择安装模拟器.市面上的模拟器有很多:夜神.逍遥.mumu.android emulator.genymo ...
- jzoj4496-[GDSOI2016]互补约数【莫比乌斯反演】
正题 题目链接:https://gmoj.net/senior/#main/show/4496 题目大意 给出\(n\),定义 \[f(i)=\sum_{d|i}gcd(d,\frac{i}{d}) ...
- CF605E-Intergalaxy Trips【期望dp】
正题 题目链接:https://www.luogu.com.cn/problem/CF605E 题目大意 给出\(n\)个点的一张完全有向图,每一天\(i\)到\(j\)的路径有\(p_{i,j}\) ...
- Git提交时默认编辑器Vim换成Notepad++
在使用GIT进行commit时,会默认使用Vim,其使用较为笨重,改为Notepad++编辑器较为简便. git commit 默认打开Notepad++编辑器配置: 打开git --- bash,输 ...