In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
I. configuration of interface address pool
1. Configure the DHCP service as AR1
[Huawei] interface g0/0/0
[Huawei-GigabitEthernet0/0/0] ip add 192.168.1.1 255.255.255.0
[Huawei-GigabitEthernet0/0/0] undo shutdown
[Huawei-GigabitEthernet0/0/0] dhcp select interface
[Huawei-GigabitEthernet0/0/0] dhcp server dns-list 192.168.20.50
[Huawei-GigabitEthernet0/0/0] dhcp server excluded-ip-address 192.168.1.1
[Huawei-GigabitEthernet0/0/0] dhcp server lease day 1
[Huawei] display ip pool
Pool-name: GigabitEthernet0/0/0
Pool-No: 0
Position: Interface Status: Unlocked
Gateway-0: 192.168.1.1
Mask: 255.255.255.0
* × × instance:--
IP address Statistic
Total: 253
Used: 0 Idle: 253
Expired: 0 Conflict: 0 Disable: 0
II. Global address pool configuration
Principle: in the global mode, multiple global address pools are set, and the corresponding relationship between the defined address pool network segment and the port IP is the same network segment, that is, multiple different network segments correspond to their respective ports, and finally the clients of different network segments obtain the corresponding addresses automatically.
Configure the DHCP service as AR1
[Huawei] dhcp enable
[Huawei] ip pool jszx
[Huawei-ip-pool-jszx] network 192.168.1.0 mask 24
[Huawei-ip-pool-jszx] gateway-list 192.168.1.1
[Huawei-ip-pool-jszx] lease day 1
[Huawei] interface g0/0/0
[Huawei-GigabitEthernet0/0/0] dhcp select global
[Huawei] display ip pool
Pool-name: jszx
Pool-No: 0
Position: Local Status: Unlocked
Gateway-0: 192.168.1.1
Mask: 255.255.255.0
* × × instance:--
IP address Statistic
Total: 253
Used: 0 Idle: 253
Expired: 0 Conflict: 0 Disable
III. Additional upgrade test
According to the global configuration process of "two", it takes several network segments to define several address pools.
1. Add the JYD address pool on the basis of "two". The topology is as follows:
Configure AR1 to add JYD address pool
[Huawei] interface GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/1] ip address 192.168.100.1 255.255.255.0
[Huawei] ip pool JYD
[Huawei-ip-pool-jszx] network 192.168.100.0 mask 24
[Huawei-ip-pool-jszx] gateway-list 192.168.100.1
[Huawei-ip-pool-jszx] lease day 1
[Huawei] interface g0/0/1
[Huawei-GigabitEthernet0/0/0] dhcp select global
[Huawei] display ip pool
PC5 gets the address
PC1 gets the address
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.