Wednesday, April 12, 2017

DHCP Configuration in Cisco Router



DHCP is dynamic host configuration protocol. By configuration DHCP in a router, we don't need to give IPs to the hosts manually. DHCP automatically defines IPs for hosts. We can also configure DHCP in Cisco Routers as well.

The following is the sample configuration of DHCP in Cisco Router:


* Router *

en
config t
int g0/0
ip address 192.168.1.1 255.255.255.0
no shut
exit
ip dhcp pool Test
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
dns-server 192.168.1.1
end
copy run start


If you want to see sample configuration in packet tracer, you can download pkt file. Click here.

(Note: you need to have packet tracer installed in your computer to open pkt file).

No comments:

Post a Comment