DHCP Server Configuration Command:
Router>enable
Router>ena
Router#config t
Router(config)#hostname DHK
DHK(config)#interface gigabyte 0/0
DHK(config)#ip address 192.168.100.254 255.255.255.0
DHK(config)#no shut
DHK(config)#line console 0
DHK#configure terminal
DHK(config)# ip dhcp pool HR_LAN
DHK(dhcp-config)#default-router 192.168.100.254
DHK(dhcp-config)#dns-server 192.168.100.3
DHK(dhcp-config)#network 192.168.100.0 255.255.255.0
DHK(dhcp-config)#exit
DHK(config)#ip dhcp excluded-address 192.168.100.254
DHK(config)#ip dhcp excluded-address 192.168.100.3
DHK(config)#exit
DHK#copy run startup-config
No comments:
Post a Comment