Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

华为设备创建一个地址池 #4

Open
sikma opened this issue Aug 15, 2024 · 0 comments
Open

华为设备创建一个地址池 #4

sikma opened this issue Aug 15, 2024 · 0 comments
Labels
2024 2024年归档 Huawei 华为网络设备学习记录

Comments

@sikma
Copy link
Owner

sikma commented Aug 15, 2024

#创建一个名为pool的地址池 
dhcp server ip-pool pool
#网关设置为10.0.3.1
gateway-list 10.0.3.1
#地址池是10.0.3.0的24位掩码网段
network 10.0.3.0 mask 255.255.255.0
#DNS设置为运营商配发的地址
dns-list 202.106.46.151 202.106.0.20
#地址池IP的生命周期为2小时
expired day 0 hour 2

#启用DHCP服务
dhcp enable

dhcp server forbidden-ip 10.0.3.1 10.0.3.49
dhcp server forbidden-ip 10.0.3.250 10.0.3.254
@sikma sikma added Huawei 华为网络设备学习记录 2024 2024年归档 labels Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2024 2024年归档 Huawei 华为网络设备学习记录
Projects
None yet
Development

No branches or pull requests

1 participant