华为虚拟服务器lanip地址,2018软考网络工程师《华为基础实验》十九配置路由器为DHCPServer...

原标题:2018软考网络工程师《华为基础实验》十九配置路由器为DHCPServer

实验要求:

在R1上使能DHCP 功能。

创建三个全局地址池,用于为三个不同部门的PC分配IP 地址。

配置地址池的相关属性。

在R1的接口下配置基于全局地址池的服务方式,实现DHCP Server 从全局地址池中选择分配IP地址。

网络拓扑图

ee428d963dceb5e42756bf6ad85e6596.png

操作步骤:

1、配置路由器的接口 IP 地址

system-view

Enter system view, return user view with Ctrl+Z.

[Huawei]sysname DHCP_SERVER

[DHCP_SERVER]interface GigabitEthernet 0/0/0

[DHCP_SERVER-GigabitEthernet0/0/0]ip address 192.168.1.1 26

[DHCP_SERVER]interface GigabitEthernet 0/0/1

[DHCP_SERVER-GigabitEthernet0/0/1]ip address 192.168.1.65 26

[DHCP_SERVER-GigabitEthernet0/0/1]quit

[DHCP_SERVER]interface GigabitEthernet 0/0/2

[DHCP_SERVER-GigabitEthernet0/0/2]ip address 192.168.1.129 26

[DHCP_SERVER-GigabitEthernet0/0/2]quit

2、开启路由器的 DHCP服务功能,并配置地址池

[DHCP_SERVER]dhcp enable

Info: The operation may take a few seconds. Please wait for a moment.done.

[DHCP_SERVER]ip pool department1

[DHCP_SERVER-ip-pool-department1]network 192.168.1.0 mask 26

[DHCP_SERVER-ip-pool-department1]gateway-list 192.168.1.1

[DHCP_SERVER-ip-pool-department1]quit

[DHCP_SERVER]ip pool department2

[DHCP_SERVER-ip-pool-department2]network 192.168.1.64 mask 26

[DHCP_SERVER-ip-pool-department2]gateway-list 192.168.1.65

[DHCP_SERVER-ip-pool-department2]quit

[DHCP_SERVER]ip pool department3

[DHCP_SERVER-ip-pool-department3]network 192.168.1.128 mask 26

[DHCP_SERVER-ip-pool-department3]gateway-list 192.168.1.129

[DHCP_SERVER-ip-pool-department3]quit

3、在 LAN 接口上开启 DHCP功能

[DHCP_SERVER]interface GigabitEthernet 0/0/0

[DHCP_SERVER-GigabitEthernet0/0/0]dhcp select global

[DHCP_SERVER-GigabitEthernet0/0/0]quit

[DHCP_SERVER]interface GigabitEthernet 0/0/1

[DHCP_SERVER-GigabitEthernet0/0/1]dhcp select global

[DHCP_SERVER-GigabitEthernet0/0/1]quit

[DHCP_SERVER]interface GigabitEthernet 0/0/2

[DHCP_SERVER-GigabitEthernet0/0/2]dhcp select global

4、配置 PC,自动获取 IP 地址确认主机都能获得 IP 地址

13ab9ee248dc571d80bbc923c11f1932.png

5、检查 DHCP服务器的租约信息,看到 IP 地址的租用

[DHCP_SERVER]display ip pool

bf9ede8298b1dcf71b61683ed6173c20.png

a8a2cc756cde1e4d79a5916649fe0cae.png

cc57b8c337ddf461628f48aa54a8c4b2.png

责任编辑:

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/441192.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

电脑重启bootmgr_电脑系统启动:显示0xc0000428怎么办

错误代码:0xc0000428 一般都是驱动问题,只需要找到报错的路径驱动程序,删除再重启就基本上可以解决了。制作一个U盘启动,进入PE,然后删除”\Windoiws\System32\drivers\DsArk64.sys“文件,再重启就可以了。…

【 POJ - 2033 】Alphacode (dp,有坑)

题干: Alice and Bob need to send secret messages to each other and are discussing ways to encode their messages: Alice: "Lets just use a very simple code: Well assign A the code word 1, B will be 2, and so on down to Z being assigned 26.&…

两组的数据平均值合并_不要进入数据陷进

学习统计让我们不再被一些数据迷惑进入数据陷进(例如平均工资)从而做出正确的决策。描述性统计分析包括数据的分布、集中、波动的测度指标。平均值:一组数据的加和除以数据的个数(容易随极端值变化) 中位数&#xff1a…

【POJ - 3342】Party at Hali-Bula(树形dp,最大独立集,是否有唯一解)

题干: Dear Contestant, Im going to have a party at my villa at Hali-Bula to celebrate my retirement from BCM. I wish I could invite all my co-workers, but imagine how an employee can enjoy a party when he finds his boss among the guests! So, I…

安川西格玛7驱动器手册_什么是伺服驱动器?选型的原则有哪些?

头条号私信回复1,获取海量免费学习资源,内容包括自动化电气工程师必备的软件、电子书、视频教程等题图:伺服驱动器来源:百度图片什么是伺服驱动器?该如何选型?有哪些主流品牌?你想知道的全在这里…

java猜数游戏图形界面_Java做一个猜数的小游戏

Author : By Runsen效果展现猜数字游戏是一个简单,有趣的小游戏。游戏者通过输入一个指定区间的数字,与系统产生的随机数进行对比,然后输出相应的结果。游戏运行时产生一个0-10之间的随机整数,要求用户从控…

【CodeForces - 266C】Below the Diagonal (递归,子问题,贪心模拟)

题干: You are given a square matrix consisting of n rows and n columns. We assume that the rows are numbered from 1 to n from top to bottom and the columns are numbered from 1to n from left to right. Some cells (n - 1 cells in total) of the t…

python 0o_Python 中的比较:is 与 ==

在 Python 中会用到对象之间比较,可以用 ,也可以用 is 。但是它们的区别是什么呢?is 比较的是两个实例对象是不是完全相同,它们是不是同一个对象,占用的内存地址是否相同。莱布尼茨说过:“世界上没有两片完…

python中long类型_浅谈python 四种数值类型(int,long,float,complex)

Python支持四种不同的数值类型,包括int(整数)long(长整数)float(浮点实际值)complex (复数),本文章向码农介绍python 四种数值类型,需要的朋友可以参考一下。 数字数据类型存储数值。他们是不可改变的数据类型,这意味着改变数字数据类型的结果,在一个新分配的对象的值。 N…

【CodeForces - 264A】Escape from Stones (模拟,卡精度的处理)

题干: Squirrel Liss lived in a forest peacefully, but unexpected trouble happens. Stones fall from a mountain. Initially Squirrel Liss occupies an interval [0, 1]. Next, nstones will fall and Liss will escape from the stones. The stones are nu…

python开发mbus程序_Python pywmbus包_程序模块 - PyPI - Python中文网

#WIP WM总线在Python中的实现本项目实施了无线m-bus标准的部分内容,定义见din en 13757-1及以下。目前,只支持未加密的短帧(即ci 0x7a)。欢迎拉取请求。##安装###点pip install pywmbus###手动git clone https://github.com/jalmeroth/pywmbus.gitcd pyw…

【CodeForces - 266B 】Queue at the School (模拟)

题干: During the break the schoolchildren, boys and girls, formed a queue of n people in the canteen. Initially the children stood in the order they entered the canteen. However, after a while the boys started feeling awkward for standing in fr…

查看git当前tag_Git - git tag - 查看当前分支 tag 版本说明

索引:参看代码 GitHub:一、示例:1 git tag -l -n二、说明:1."tag" 部分tag 代表的是标签动作,可以带参数 ,也可以不带参数,带上不同的参数可以实现标签的 新建/删除/查询/验证 等功能.2."-l" 部分-l 注意是字母"L&q…

【CodeForces - 270A】Fancy Fence (几何,思维,水题)

题干: Emuskald needs a fence around his farm, but he is too lazy to build it himself. So he purchased a fence-building robot. He wants the fence to be a regular polygon. The robot builds the fence along a single path, but it can only make fenc…

判断集合相等_数学启蒙的每个关键阶段之集合分类

本文我们将分享数学启蒙学什么?用几个字简单的归纳为集合、数、量、形、时间、空间。我们接下来会讲感知集合和分类,数概念,量的概念,形状包含平面图形和立体图形,空间方位和时间的初步概念。 家长们可以发现幼儿数学启…

【CodeForces - 271B 】Prime Matrix (素数,预处理打表,思维)

题干: Youve got an n  m matrix. The matrix consists of integers. In one move, you can apply a single transformation to the matrix: choose an arbitrary element of the matrix and increase it by 1. Each element can be increased an arbitrary numb…

【CodeForces - 270C】Magical Boxes (思维,进制,有坑)

题干: Emuskald is a well-known illusionist. One of his trademark tricks involves a set of magical boxes. The essence of the trick is in packing the boxes inside other boxes. From the top view each magical box looks like a square with side leng…

虚拟机安装黑群晖_【群晖系统】HEI群辉DSM 6.2.1 系统安装图文教程 (19年2月)

黑群晖系统其实是指在普通电脑运行Synology DSM系统, 事实上在普通PC电脑上安装黑群晖(Synology DSM)也非常方便, 现在把教程简单写一下。引导系统装哪里?非常关键的问题,DSM采用系统和数据相分离的结构,也就是说引导系统需要独立安装在一个设…

【Effect CodeForces - 270D】Greenhouse (思维,最长非递减子序列(上升),对偶问题,考虑反面)

题干: Emuskald is an avid horticulturist and owns the worlds longest greenhouse — it is effectively infinite in length. Over the years Emuskald has cultivated n plants in his greenhouse, of m different plant species numbered from 1 to m. His …

错误1053服务没有及时_无法启动xx服务 错误1053:服务没有及时响应启动或控制请求,排查方法。...

sc安装服务,启动失败:显示错误1053:服务没有及时响应启动或控制请求网上找了很多方法资料,什么注册表啊,权限啊之类的。你按照这些都做完后,仍然提示这个错误。告诉你,要检查自己的程序是不是有…