This tutorial is about how to configure dhcp on cisco router in packet tracer. The Dynamic Host Configuration Protocol (DHCP) is a network protocol that is used to configure network devices. DHCP allows a computer to join an IP-based network without having a pre-configured IP address. DHCP is a protocol that assigns unique IP addresses to devices, then releases and renews these addresses as devices leave and re-join the network.
Internet Service Providers (ISPs) usually use DHCP to allow customers to join the Internet with minimum effort. The DHCP server maintains a database of available IP addresses and configuration information. When it receives a request from a client, the DHCP server determines the network to which the DHCP client is connected, and then allocates an IP address. DHCP servers typically grant IP addresses to clients only for a limited interval.
Internet Service Providers (ISPs) usually use DHCP to allow customers to join the Internet with minimum effort. The DHCP server maintains a database of available IP addresses and configuration information. When it receives a request from a client, the DHCP server determines the network to which the DHCP client is connected, and then allocates an IP address. DHCP servers typically grant IP addresses to clients only for a limited interval.
Lets apply DHCP on packet tracer.
First, let us make a topology with one router on which we will apply DHCP and several client PCs. More like this one,
Now, we will apply DHCP on the router.
The commands in sequence are as follows.
In the following command “ip dhcp pool cisco”, we are creating a pool for DHCP called cisco. cisco is the name here and we can name it whatever we want.
Similarly, in the command “default-router “ we are telling the DHCP about the default route to follow.
Notice, after we exit from DHCP mode, we are excluding some IP addresses by applying this command “ip dhcp excluded-addresses x-x”, where x is the starting and ending IP address respectively. We are basically reserving some IPs for our use. It can be used to attach printers, or assign it to some specific users for security purposes. You can also give dns address in dhcp by using the following command.
dns-server 192.168.1.15.
dns-server 192.168.1.15.
Now, open the PC.
Click on IP Configuration
Select from Static to DHCP
Now, after applying some IPs in sequence, DHCP will skip the IPs that we have excluded from our DHCP pool.
That is all, we have applied DHCP on packet tracer.
Technorati Tags: dhcp protocol on Packet Tracer,Packet tracer tutorial,Packet tracer networking,networking on Packet tracer,networking topology on Packet tracer,Packet tracer activity,dhcp on Packet Tracer,Dynamic host configuration protocol on Packet Tracer,education,networks,networking,Dynamic host configuration protocol on PT,dhcp on pt,dhcp,Dynamic host configuration protocol
i luv this tutorial......simply very very beneficial for students and instructors.......
ReplyDeletethank you...very much....pal....
thanks . You are welcome :)
Deletehow to get the dynamic ip for all vlans
ReplyDeletehelp me please
can v apply dhcp server to switch instead of router ????
ReplyDeletei dont think so
Deleteyes we can but it should be l3 switch
Deletewe can not assign ip address to switches unless we are creating vlan on switch to have remote connection with switch .. And this is the reason we can not ping to switches however we can ping with routers
DeleteThis post is very interesting and knowledgeable for me...
ReplyDeletethanks for sharing...
more info:- Cisco Router Support
Can't believe I passed ccna without knowing this! Been searching to know and now I know....very easy to follow. Thanks man,.
ReplyDeleteTutorials on this website are very simple, easy to understand, luv it.
ReplyDeleteThanks
thank you thank you..
ReplyDeleteSir G Great :)
ReplyDeleteHi Usman
ReplyDeleteI can get IP address for the pc which is in Default Vlan1....But my PC in vlan 2 cannot get ip ????
yup thats the issue . Your PCs in other vlans wont get the ip addresses through same DHCP . May be use another server for them . DHCP doesnot support more than one vlan
DeleteCompany A has 20 workstations allocate for 4 departments as each department will have 5 workstation. The company purchased 4 routers and 4 switches for but the company wants the IP address to be able to be AUTO-ASSIGN to every workstation. DHCP suggested
ReplyDeleteYeah great. DHCP is used to assign IP addresses.
DeleteThis comment has been removed by the author.
Deletetan kendosen can i contact your to know further about your assignment as i too got the same assignment
Deletecan we maintain a database on a particular pc and and can access it from the other one in cisco packet tracer
ReplyDeletei mean can we create a peer to peer network applying kademlia algorithm
ReplyDeleteNice article. I ever make like this tutorial but just DHCP on computer server not in router
ReplyDeletethanks indeed
ReplyDeleteits to nice
ReplyDeleteKami dari PT. HOKA HOKI INDONESIA memberitau bahwa perusahaan kami ingin bekerjasama dalam bidang pengurusan barang Import RESMI & BORONGAN
ReplyDeleteService Kami,
Customs Clearance Import sistem Resmi maupun Borongan
Penanganan secara Door to Door ASIA & EROPA
Penyediaan Legalitas Under-Name (Penyewaan Bendera)
Pengiriman Domestic antar pulau seluruh Indonesia laut dan Udara atau Darat.
Customs Clearance Port
Jakarta, Semarang, Surabaya, Belawan & Port Lain nya.
Dote :
Kami tidak menerima barang-barang larangan seperti Airsoft Gun, Obat-obatan terlarang.
Kami tidak bertanggung jawab/ tidak akan mengganti kerugia apabila didapati adanya barang-barang bahaya / Larangan tersebut, dan apabila diketahui barang membahayakan maka kami akan melapor kepada pihak yang berwajib.
Kami menerima barang-barang seperti Kimia, tetapi kimia yang ada disertai MSDS (Material Safety Data Sheet).
Terima kasih atas kepercayaan nya,semoga kami dan perusahaan bpk/ibu berjalan dengan lancar.
Jika ada yang ingin dipertayakan, silah kan hubungi kami di nomor (+62 21) 2906-8484
Hp wa. 081908060678 E-Mail : andijm.logistics@gmail.com
= = = = = = = = = = = = = = = = = = = = = = = = = = =
PT. HOKA HOKI INDONESIA
Shopping Arcade 2nd Floor B-03 Jakarta Garden City,
Jl. Raya Cakung Cilincing KM. 0,5 Jakarta Timur 13910 Indonesia
Phone : +62 21 29068484 Fax : +62 21 29068666
Email : andijm.logistics@gmail.com
Website : hokahoki.co.id
Mr. Andi JM BBM : D9CE63FD
Hp wa. 081908060678, 081385311679
These are the kind of networking skills that one may not even get from a networking class but from the experts. One thing I have known is that networking is very practical and can only be successful in a practical manner. As I learn on how to write Medical School Admittance essay, I will get used to these DHCP tips.
ReplyDeleteNice post
ReplyDeleteTips Games, Aplikasi Android
I do not have a router and i can only get a weak, slow signal on my ipod touch from a corner in my room. I am using my neighbors wifi and they suggested i got an linksys extender setup that i could put in my room where i get the signal and then it would magnify the signal. Any suggestion?
ReplyDeletei love u sir
ReplyDelete