back to basics_ the dhcp relay agent

3
1/28/14 Back to Basics: The DHCP Relay Agent www.serverwatch.com/tutorials/article.php/2193031 1/3 Virtualization Server Hardw are Server Softw are Open Source Data Center Management Server Operating Systems About Us Server New s Tutorials Server Trends Review s Hot Topics Server Comparison Tool New sletter Sign-Up Search ServerWatch ServerWatch Server Tutorials Read More in Server Tutorials » Not having data governance can hurt your business. Download this eBook to learn how to take control now. Back to Basics: The DHCP Relay Agent Previously, we talked about one of the many "agents" you can have on your Windows 2000 network — the WINS Proxy Agent. Now, let's take a look at another agent you can put to work on your Windows 2000 network: The DHCP Relay Agent. SWatch Reader Favorite! Among the many agents you can put to work on your Windows 2000 network is the DHCP Relay Agent. The DHCP Relay Agent allows you to place DHCP clients and DHCP servers on different networks. Deploying DHCP in a single segment network is easy. All DHCP messages are IP broadcast messages, and therefore all the computers on the segment can listen and respond to these broadcasts. A single scope on a solitary DHCP server is all that is required. DHCP Messages on a Multisegment Network Things get a little more complicated when you have more than one subnet on your network. This is because the DHCP broadcast messages do not, by default, cross the router interfaces. There are several ways you can handle this situation. One alternative is to put a DHCP server on each segment. If you have just a few segments, you might consider this option. However, when you have a large organization, placing a DHCP server on each segment can increase cost and add to administrative effort. Relay To The Rescue A better option is to use fewer DHCP servers and place these machines in central locations. To solve the problem of DHCP broadcast messages, routers can be configured to pass DHCP/BOOTP messages selectively. This is referred to as BOOTP Relay. The concept of BOOTP Relay can get a little confusing. It gets even more confusing when the term BOOTP Forwarding is used. This is because the concepts for Relay and Forwarding are quite different. Forwarding implies that the message is forwarded from one interface to another, without any special processing. Relay implies that the message is processed to a greater extent, which may include changes being made to the original packet. An Agent is a Relay and Not a Forwarder By Thomas Shinder (Send Email) Feb 29, 2008 2 people like this. Like Like 1 Where Is Red Hat Enterprise Linux 7? 2 How to Run Virtual Desktops in Windows 3 How to Set Up a WebDAV Server in Windows 7 & 8 4 How to Convert a Physical Computer to a Virtual Machine 5 Hyper-V 2012 R2: Pros and Cons of Generation 1 vs. Generation 2 VMs MOST POPULAR

Upload: kamlesh-kumar-mishra

Post on 27-Nov-2015

35 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Back to Basics_ the DHCP Relay Agent

1/28/14 Back to Basics: The DHCP Relay Agent

www.serverwatch.com/tutorials/article.php/2193031 1/3

Virtualization Server Hardw are Server Softw are Open SourceData Center

Management

Server

Operating SystemsAbout Us

Server New s Tutorials Server Trends Review s Hot Topics Server Comparison Tool New sletter Sign-Up Search ServerWatch

ServerWatch Server Tutorials Read More in Server Tutorials »

Not having data governance can hurt your business. Download this eBook to learn how to take control

now.

Back to Basics: The DHCPRelay Agent

Previously, we talked about one of the many "agents" you

can have on your Windows 2000 network — the WINS

Proxy Agent. Now, let's take a look at another agent you

can put to work on your Windows 2000 network: The DHCP

Relay Agent.

SWatch Reader Favorite! Among the many agents you can put to work on your Windows 2000

network is the DHCP Relay Agent.

The DHCP Relay Agent allows you to place DHCP clients and DHCP servers on different networks.

Deploying DHCP in a single segment network is easy. All DHCP messages are IP broadcast

messages, and therefore all the computers on the segment can listen and respond to these broadcasts.

A single scope on a solitary DHCP server is all that is required.

DHCP Messages on a Multisegment Network

Things get a little more complicated when you have more than one subnet on your network. This is

because the DHCP broadcast messages do not, by default, cross the router interfaces.

There are several ways you can handle this situation. One alternative is to put a DHCP server on each

segment. If you have just a few segments, you might consider this option. However, when you have a

large organization, placing a DHCP server on each segment can increase cost and add to administrative

effort.

Relay To The Rescue

A better option is to use fewer DHCP servers and place these machines in central locations. To solve

the problem of DHCP broadcast messages, routers can be configured to pass DHCP/BOOTP

messages selectively. This is referred to as BOOTP Relay.

The concept of BOOTP Relay can get a little confusing. It gets even more confusing when the term

BOOTP Forwarding is used. This is because the concepts for Relay and Forwarding are quite different.

Forwarding implies that the message is forwarded from one interface to another, without any special

processing. Relay implies that the message is processed to a greater extent, which may include

changes being made to the original packet.

An Agent is a Relay and Not a Forwarder

By Thomas Shinder (Send Email)

Feb 29, 2008

2 people like this.LikeLike

1 Where Is Red Hat Enterprise

Linux 7?

2 How to Run Virtual Desktops in

Windows

3 How to Set Up a WebDAV Server

in Windows 7 & 8

4 How to Convert a Physical

Computer to a Virtual Machine

5 Hyper-V 2012 R2: Pros and Cons

of Generation 1 vs. Generation 2 VMs

MOST POPULAR

Page 2: Back to Basics_ the DHCP Relay Agent

1/28/14 Back to Basics: The DHCP Relay Agent

www.serverwatch.com/tutorials/article.php/2193031 2/3

Reply to this comment

Reply to this comment

Reply to this comment

Reply to this comment

Reply to this comment

RFC 1542 elaborates on BOOTP Relay and BOOTP Relay Agents. A router that can perform BOOTP

Relay does more than just forward BOOTP broadcast messages. Rather, the BOOTP Relay Agent

actually examines the packet and makes appropriate changes to it, and then Relays the packet to a

DHCP Server. The DHCP server to which the packet is Relayed is configured by adding a Helper

Address on the router.

Some routers do not support BOOTP Relay. In this case, you can set up a computer on segments that

have DHCP clients that will take the place of the BOOTP Relay Agent on the router. You can configure

a Windows 2000 RRAS Server to Relay DHCP messages by installing the DHCP Relay Agent.

The Relay Agent communicates with a DHCP server and acts as a proxy for DHCP broadcast

messages that must be routed to remote segments. Like the router-based BOOTP Relay Agent, the

DHCP Relay Agent is configured with addresses of DHCP servers to which they should Relay the DHCP

Message.

Be Careful of the Terminology

Be sure you recognize the difference between a DHCP/BOOTP Relay Agent and a Router that acts as a

BOOTP forwarder. Remember that forwarders will propagate a broadcast message across the router

interfaces, while the DHCP Relay Agent intercepts the broadcast, makes changes to the DHCP

Message, and forwards its via a directed datagram to a specific DHCP server

Original date of publication, 09/10/2000

Page 1 of 1

5 Comments (click to add your comment)

By RAJIV September 30 2013 16:15 PDT

nice explanation

By Bhanu Chidigam September 05 2012 03:12 PDT

Very good explanation. Thanks for this article.

By Arul February 20 2012 19:25 PST

Cool one

By steiveG January 16 2012 04:56 PST

nice explanation... keep it up :)

By Deepak April 30 2010 09:24 PDT

all server

Comment and Contribute

Your name/nickname

Page 3: Back to Basics_ the DHCP Relay Agent

1/28/14 Back to Basics: The DHCP Relay Agent

www.serverwatch.com/tutorials/article.php/2193031 3/3

Your email

(Maximum characters: 1200). You have 1200 characters left.

Submit Your Comment

Property of Quinstreet Enterprise.

Terms of Service | Licensing & Reprints | About Us | Privacy Policy | Advertise

Copyright 2014 QuinStreet Inc. All Rights Reserved.

Privacy & Terms

Type the text