The purpose of Cisco Router is made as a DHCP server is for simplify the network of concentration data setting in a large network
Command:
conf t
service dhcp
ip dhcp pool 192.168.1.0/24
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.5 192.168.1.6
exit
ip dhcp excluded-address 192.168.1.1 192.168.1.199
ip dhcp excluded-address 192.168.1.241 192.168.1.255
^Z
Example command above indicates Cisco router as a easy DHCP server in network 192.168.1.0/24. There are 2 DNS server i.e. 192.168.1.5 and 192.168.1.6. Excluded-address command is used to limit the IP address between 192.168.1.200 until 192.168.1.240 can be used by client.
Command:
conf t
service dhcp
ip dhcp pool 192.168.1.0/24
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.5 192.168.1.6
exit
ip dhcp excluded-address 192.168.1.1 192.168.1.199
ip dhcp excluded-address 192.168.1.241 192.168.1.255
^Z
Example command above indicates Cisco router as a easy DHCP server in network 192.168.1.0/24. There are 2 DNS server i.e. 192.168.1.5 and 192.168.1.6. Excluded-address command is used to limit the IP address between 192.168.1.200 until 192.168.1.240 can be used by client.
0 comments:
Post a Comment