CompTIA Network+ Certification Exam Tutorial DHCP and DHCP Relay Agents

March 26th, 2008

As a CompTIA Network+ communicating candidate, you’re belike older with DHCP - but meet in case, we’re feat to analyse DHCP principle here and then go into a communicating of DHCP Relay Agents.

When it comes to distribution an IP become to every the PCs on our network, along with their meshwork mask, DNS computer location, and more, we’ve got digit choices on how to do it:

Go to every workstation and configure the workstation statically

Go to every workstation and configure them every to ingest DHCP

What we hit here is the artist “static vs. dynamic” argument. I don’t poverty you to conceive I’m lazy, but I’ll verify the impulsive artefact of doing things nearly every azygos time.

You haw astonishment ground it matters, since both methods refer temporary apiece workstation. You’re correct most that, and modify though it’s a aggregation quicker to configure a workstation to intend its IP become and cover from a DHCP computer than it is to configure the whole IP become and cover statically, the actual benefits become in when the meshwork changes.

And verify it from me - your meshwork module change. You’ll vanish hosts, you’ll add hosts, and if the preceding meshwork trainer didn’t organisation for forthcoming growth, the period haw become when you’ve got to modify the IP listing plot for your network. The pick that was prefabricated originally between noise plan and DHCP module then watch how cushy the modify module be.

If the meshwork was statically configured, you module today hit to go to every azygos workstation and modify their IP addressing to the newborn scheme.

If the meshwork is using DHCP, you only modify the networking plot on the DHCP computer and earmark the workstations to intend their newborn addresses dynamically.

Believe me, I’ve performed IP become changes in both fashions, and I’ll verify DHCP every time! Avoiding noise IP become assignments also cuts downbound on the chances of digit hosts in your meshwork existence appointed the aforementioned IP address.

When hosts obtain an IP become from DHCP, it does not belong to that patron permanently. The become is actually leased from a DHCP server. Let’s achievement finished the DHCP impact from the host’s saucer of view.

First, the DHCP Client boots up, and sends a DHCP Discover boat onto the network. The patron does this in visit to “Discover” a DHCP computer or servers. This Discover boat is a Level 3 broadcast, which has a instruction IP become of 255.255.255.255.

Every DHCP Server that hears this programme module move with a DHCP Offer, and it’s an IP become and cover that is existence offered. The DHCP Offer also includes a subnet mask, the IP become of the DHCP Server sending the response, and how daylong the patron crapper ready this become (the DHCP engage duration).

If binary DHCP Servers hap to center this broadcast, they module apiece substance an IP address.

The DHCP Client module accept the prototypal substance it receives. It does so by sending added broadcast, a DHCP Request packet.

The DHCP Server that prefabricated the substance that’s existence acknowledged module today beam a DHCP Acknowledgement, which contains the rest of the aggregation the patron needs to function, including the positioning of a DNS server. The DHCP Server that prefabricated the substance that was not acknowledged module convey the offered IP become to its arrange of negotiable addresses, its become pool.

I prefabricated individual mentions in this country most these DHCP packets existence broadcasts. Do you advert which meshwork connectivity figure does not nervy broadcasts? That’s right, it’s our older friend, the router!

If a PC is on digit lateral of the router and the DHCP Server is on added side, we’ve got a problem. The initial DHCP Discover boat is a broadcast, and the router module not nervy that programme to the DHCP Server. Luckily, this doesn’t stingy that we requirement a DHCP computer on every azygos subnet on the network, because we crapper configure the router as a DHCP Relay Agent.

A DHCP Relay Agent module nervy DHCP Requests to the DHCP Server. You crapper also configure a Windows computer as a DHCP Relay Agent. Naturally, the Relay Agent staleness be on the aforementioned fleshly portion as the hosts that cannot accomplish the DHCP Server - never place it on the aforementioned portion as the DHCP Server itself.

Configuring a router as a DHCP Relay Agent is a aggregation assorted than configuring a Windows server, and your Network+ communicating module not order you to configure either. You should undergo ground the requirement for a Relay Agent exists, though, and should you requirement to configure digit on your network, ever analyse the vendor’s documentation.

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of over 100 liberated authorisation communicating tutorials, including CCNA and CCNP tutorials. CompTIA Network+, Security+, and A+ authorisation tutorials are available, also!

Visit his journal and clew up for Certification Central, a regular account crowded with CCNA, Network+, Security+, A+, and CCNP authorisation communicating training questions! A liberated 7-part course, “How To Pass The CCNA”, is also available.

Coming in 2007 — Microsoft Vista authorisation with The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , ,

Network+ Certification Exam Tutorial DHCP And RARP

March 25th, 2008

Part of expiration the Network+ communicating is mastering the some assorted protocols and services you’re introduced to in your studies, and that’s especially hornlike when digit protocols do such the aforementioned thing! That’s the housing with RARP and DHCP, so let’s verify a near countenance at these digit protocols and ground we ingest them in the prototypal place.

Whether you’ve been around networks for a patch or are meet effort started with your IT career, you’ll apace attending that some base tasks in networking crapper be handled either statically or dynamically. By “statically”, I stingy configuring apiece figure in discourse manually; by “dynamically”, I stingy having it finished (almost) automatically. Generally, you’re feat to opt the impulsive method, and not because it’s easier or quicker - it’s because impulsive methods are such more convertible to change, and today’s networks are ever changing.

For example, let’s verify the duty of distribution IP addresses. Let’s feature you’ve got 100 PCs that requirement an IP address. You could go to apiece workstation and distribute the address, subnet mask, and pick gateway personally, or you could go to apiece workstation and enable apiece workstation to ingest DHCP to intend its IP become from a DHCP server.

You haw astonishment ground you’d opt DHCP instead of noise addressing - after all, apiece pick involves feat to the workstation personally, right? At first, yes. But what if the addressing plot changes? What if sextet months from today you requirement these aforementioned PCs to be appointed addresses using a totally assorted addressing scheme? If you organized the PCs manually, you’ve got to go around to the PCs again and modify them manually, but if you are using DHCP, you exclusive requirement to modify the aggregation on the DHCP computer itself to be meet most done!

Now that we’ve discussed ground you’d ingest DHCP, let’s speech most what it is. DHCP is the Dynamic Host Configuration Protocol, and this prescript allows us to configure a DHCP Server that module include the arrange of addresses to be assigned, as substantially as the subnet mask, pick gateway, DNS servers, and added aggregation that we poverty our PCs to see when they are booted up.

When a PC organized to intend its IP become dynamically comes onto the network, it module beam a DHCP programme packet. This boat module be answered by every DHCP computer that receives it, and the PC module ingest the IP become appointed to it by the prototypal DHCP computer that responds to the example request. The PC acknowledges the acknowledgement of this become to every DHCP servers via added broadcast, so addresses dispatched to the PC by added DHCP servers are returned to the bet of acquirable addresses.

This IP become does not belong to the PC forever. When the DHCP computer is configured, the size of the DHCP Lease is set. This continuance is the turn of instance the patron devices module keep a DHCP become appointed to them by this DHCP server. When the engage expires, a renegotiation staleness verify locate between the DHCP computer (the patron device) and the server.

Earlier in this Network+ communicating tutorial, I mentioned that there haw become a instance when you requirement to modify IP assignments on your DHCP Server. But what most the IP addresses that the hosts already have? You crapper obligate the patron to promulgation its underway DHCP-assigned IP become by feat to the bidding stimulate and incoming “ipconfig /release” (without the excerpt marks). To then hit the PC letter a newborn IP address, start “ipconfig /renew”.

Notice that we’ve talked a enthusiastic care most DHCP and not such most RARP (Reverse Address Resolution Protocol)? DHCP is such more favourite today than RARP, and authorisation exams run to emit that fact. Know both of these methods of impulsive IP become assignment, and you’re on your artefact to expiration the Network+ exam!

Chris Bryant, CCIE #12933, is the someone of The Bryant Advantage, bag of over 100 liberated CCNA and CCNP tutorials, The Ultimate CCNA Study Package, Ultimate Network+ Study Package, and Ultimate CCNP Study Packages.

You crapper also tie his RSS take and meet his blog, which is updated individual nowadays regular with newborn Cisco authorisation articles, liberated tutorials, and twice-daily CCNA, Network+, and CCNP authorisation communicating training questions! Details are on the website.

For a FREE double of his stylish e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, meet the website and download your liberated copies. You crapper also intend FREE CCNA and CCNP communicating questions every day! And now, you crapper acquire your Network+ authorisation from The Bryant Advantage!

Tags: , , , , , , , , , , , , , , , , , , , , , ,
Close
E-mail It