码迷,mamicode.com
首页 > 其他好文 > 详细

最简单的DHCP实验

时间:2017-03-10 11:27:05      阅读:857      评论:0      收藏:0      [点我收藏+]

标签:dhcp   ip pool   dhcp select global   

拓扑图

技术分享

<Huawei>dis cur

[V200R003C00]

#

 snmp-agent local-engineid 800007DB03000000000000

 snmp-agent 

#

 clock timezone China-Standard-Time minus 08:00:00

#

portal local-server load portalpage.zip

#

 drop illegal-mac alarm

#

 set cpu-usage threshold 80 restore 75

#

dhcp enable

#

dhcp snooping enable

#

ip pool 100

 gateway-list 10.10.100.1 

 network 10.10.100.0 mask 255.255.255.0 

 dns-list 10.10.10.10 

#

ip pool 200

 gateway-list 10.10.200.1 

 network 10.10.200.0 mask 255.255.255.0 

 dns-list 20.20.20.20 

#

aaa 

 authentication-scheme default

 authorization-scheme default

 accounting-scheme default

 domain default 

 domain default_admin 

 local-user admin password cipher %$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$

 local-user admin service-type http

#

firewall zone Local

 priority 15

#

interface GigabitEthernet0/0/0

 ip address 10.10.100.1 255.255.255.0 

 dhcp select global

#

interface GigabitEthernet0/0/1

 ip address 10.10.200.1 255.255.255.0 

 dhcp select global

#

interface GigabitEthernet0/0/2

#

interface NULL0

#

user-interface con 0

 authentication-mode password

user-interface vty 0 4

user-interface vty 16 20

#

wlan ac

#

return

<Huawei>   


ipconfig查看获取到的地址

技术分享

技术分享


PC2 ping PC1


技术分享





最简单的DHCP实验

标签:dhcp   ip pool   dhcp select global   

原文地址:http://jschinamobile.blog.51cto.com/11464420/1904908

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!