三层组网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, ...
随机推荐
- 整理STC延时函数时遇到的玄学问题
void Delay { unsigned char i, j; i = 11; j = 190; do { while (--j); } while (--i); } void Delay { un ...
- PHP设计模式之备忘录模式
备忘录,这个名字其实就已经很形象的解释了它的作用.典型的例子就是我们原来玩硬盘游戏时的存档功能.当你对即将面对的大BOSS有所顾虑时,一般都会先保存一次进度存档.如果挑战失败了,直接读取存档就可以恢复 ...
- 华为云计算IE面试笔记-FusionSphere Openstack有哪些关键组件,各组件主要功能是什么?三种存储接入组件的差异有哪些?
1. Nova:在OpenStack环境中提供计算服务,负责计算实例(VM,云主机)生命周期的管理,包括生成.调度和回收.Nova不负责计算实例的告警上报(FC管). 2. Cinder:为计算实例提 ...
- 在Ubuntu18.04安装docker之后,以登陆用户身份执行docker pull jenkins,报错:connect: permission denied
Using default tag: latest Got permission denied while trying to connect to the Docker daemon socket ...
- python with 线程锁
import threading import time num = 0 # 全局变量多个线程可以读写,传递数据 mutex = threading.RLock() # 创建一个锁 class Myt ...
- Python turtle.right与turtle.setheading的区别
一.概念 turtle.right与turtle.left用法一致,我们以turtle.right为例进行讲述. turtle.right(angle)向右旋转angle角度. turtle.seth ...
- 鸿蒙内核源码分析(编译环境篇) | 编译鸿蒙看这篇或许真的够了 | 百篇博客分析OpenHarmony源码 | v50.06
百篇博客系列篇.本篇为: v50.xx 鸿蒙内核源码分析(编译环境篇) | 编译鸿蒙防掉坑指南 | 51.c.h.o 编译构建相关篇为: v50.xx 鸿蒙内核源码分析(编译环境篇) | 编译鸿蒙防掉 ...
- P6091-[模板]原根
正题 题目链接:https://www.luogu.com.cn/problem/P6091 题目大意 给出一个数\(p\),求出它的所有在\([0,p]\)的原根. 解题思路 原根的定义,\(\de ...
- YbtOJ#573-后缀表达【二分图匹配】
正题 题目链接:https://www.ybtoj.com.cn/contest/115/problem/2 题目大意 给出一个包含字母变量和若干种同级操作符的后缀表达式.求一个等价的表达式满足该表达 ...
- 【C++ Primer Plus】编程练习答案——第5章
1 void ch5_1() { 2 using namespace std; 3 int small, big, sum{0}; 4 cout << "enter small ...