标签:dhcp
一.实验目的
学习配置DHCP服务器
二.实验拓扑
三.实验步骤
1.为服务器配置DHCP相关配置
2.让客户端自动获取
四.实验内容
DHCP server
<H3C>system-view
[H3C]sysname ZJDHCP
[ZJDHCP]dhcp enable
[ZJDHCP]dhcp server ip-pool 1
[ZJDHCP-dhcp-pool-1]network 1.1.1.10 mask 255.255.255.0
[ZJDHCP-dhcp-pool-1]gateway-list 1.1.1.254
[ZJDHCP-dhcp-pool-1]dns-list 1.1.1.253
[ZJDHCP-dhcp-pool-1]forbidden-ip 1.1.1.254 1.1.1.253
[ZJDHCP-dhcp-pool-1]expired day 20
客户端
<H3C>system-view
[H3C]sysname PC
[PC]interface GigabitEthernet 0/0
[PC-GigabitEthernet0/0]ip address dhcp-alloc //自动获取IP
查看客户端获取的IP地址
标签:dhcp
原文地址:http://9370181.blog.51cto.com/9360181/1566694