当前位置:网站首页>DHCP configuration (take Huawei ENSP as an example)
DHCP configuration (take Huawei ENSP as an example)
2022-07-25 10:32:00 【m0_ fifty-four million eight hundred and three thousand seven h】
If there is a mistake , Please kindly understanding !
This article is only for my study notes , For reference only , If offended , Please contact the author for deletion !!!
Introduction to basic knowledge :
⽹ Networking steps :
1、 Topology design
2、IP Address planning -- According to ⽹ The range of the network , planning ⽹ Different collateral positions IP Address
3、 To configure
1) Configure the configuration of each node IP Address
2) route -- whole ⽹ Can be up to
3) test --ping
4) Strategy
5) Optimize Security
6) misarrangement
4、 Maintenance and upgrades
Become dhcp Server conditions :
1. There must be real physics ⽹ Card or connection ⼴ The real physical connection of the broadcast domain ⼝
2. There must be legal ip Address
Topology :

Set user name and login password :
[Huawei]aaa
[Huawei-aaa]local-user admin privilege level 15 password cipher admin
[Huawei-aaa]local-user admin service-type terminal
[Huawei-aaa]local-user guest privilege level 0 password cipher guest
Info: Add a new user.
[Huawei-aaa]local-user guest service-type terminal
[Huawei]user-interface console 0
[Huawei-ui-console0]authentication-mode aaa
Start configuring ports :
Interface g0/0/0/ IP:
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]ip address 192.168.1.1 24
[Huawei]dhcp enable
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]ip pool 01
Info: It's successful to create an IP address pool.
[Huawei-ip-pool-01]network 192.168.1.0 mask 255.255.255.0
[Huawei-ip-pool-01]gateway-list 192.168.1.1
[Huawei-ip-pool-01]dns-list 8.8.8.8 114.114.114.114
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]dhcp select global
[Huawei-GigabitEthernet0/0/0]quit
Interface g0/0/1 IP:
[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/0]ip address 172.16.1.1 24
[Huawei]dhcp enable
[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/0]ip pool 02
Info: It's successful to create an IP address pool.
[Huawei-ip-pool-01]network 172.16.1.0 mask 255.255.255.0
[Huawei-ip-pool-01]gateway-list 172.16.1.1
[Huawei-ip-pool-01]dns-list 8.8.8.8 114.114.114.114
[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/0]dhcp select global
[Huawei-GigabitEthernet0/0/0]quit
Check the interface IP:
[Huawei]display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.1/24 up up
GigabitEthernet0/0/1 172.16.1.1/24 up up
GigabitEthernet0/0/2 unassigned down down
NULL0 unassigned up up(s) see PC Whether to obtain DHCP service :
PC>ipconfig
Link local IPv6 address...........: fe80::5689:98ff:fef1:6b15
IPv6 address......................: :: / 128
IPv6 gateway......................: ::
IPv4 address......................: 192.168.1.254
Subnet mask.......................: 255.255.255.0
Gateway...........................: 192.168.1.1
Physical address..................: 54-89-98-F1-6B-15
DNS server........................: 8.8.8.8
114.114.114.114
Check the interface g0/0/0 DHCP:
[Huawei]interface g0/0/0
[Huawei-GigabitEthernet0/0/0]dis th
[V200R003C00]
#
interface GigabitEthernet0/0/0
ip address 192.168.1.1 255.255.255.0
dhcp select global
#
returntest :
PC>ping 172.16.1.254
Ping 172.16.1.254: 32 data bytes, Press Ctrl_C to break
Request timeout!
From 172.16.1.254: bytes=32 seq=2 ttl=127 time=47 ms
From 172.16.1.254: bytes=32 seq=3 ttl=127 time=63 ms
From 172.16.1.254: bytes=32 seq=4 ttl=127 time=78 ms
From 172.16.1.254: bytes=32 seq=5 ttl=127 time=78 ms
--- 172.16.1.254 ping statistics ---
5 packet(s) transmitted
4 packet(s) received
20.00% packet loss
round-trip min/avg/max = 0/66/78 msExperimental screenshot :
The above process is what we want , Welcome friends to correct ! Thank you very much !
边栏推荐
- 5. This simple "echo" usage, can the child next door!
- Reproduce asvspoof 2021 baseline rawnet2
- 将 conda 虚拟环境 env 加入 jupyter kernel
- Angr (x) - official document (Part1)
- 3、 Five operation modes of unittest test cases
- Simple addition calculator
- 测试基本概念
- Erlang (offline deployment)
- Angr (III) - angr_ ctf
- 数组静态初始化,遍历,最值
猜你喜欢

1.Shell编程规范与变量

Angr (VII) -- angr_ ctf

Pytorch calculates the loss for each sample in the batch

Erlang(离线部署)

6.PXE结合Kickstart原理和配置实现无人值守自动装机

VS Code 连接远程 Jupyter 服务器

PyTorch 对 Batch 中每个样本计算损失 Loss for each sample

PyTorch 代码模板 (CNN)

VSCode Latex Workshop 设置 XeLatex 编译

Vscode latex workshop set xelatex compilation
随机推荐
About the jar package of slf4j log4j log4j2 used together
Swing的组件图标
【无标题】
Pow(x,n)
Notes on building dompteur container
Reproduce asvspoof 2021 baseline rawnet2
Strut2 form label
使用px2rem不生效
存储、计算、分布式计算篇(收集整理适合小白)
10.expect免交互
21. Merge Two Sorted Lists
Angr(十)——官方文档(Part1)
数论--约数研究
5. NFS shared services and SSH Remote Control Services
常用类的小知识
PyTorch 代码模板 (CNN)
二、unittest框架主要做什么
将 conda 虚拟环境 env 加入 jupyter kernel
Deploy master-slave database
FRP reverse proxy deployment