Skip Links

Network World

Brad Reese

How to configure a Cisco Catalyst switch to act as a DHCP relay agent

By Brad Reese on Fri, 03/21/08 - 2:40am.
Newsletter Signup

Cisco How-To Tutorials

How to configure a Cisco Catalyst switch to act as a DHCP relay agent in the following Cisco Catalyst switches:

2940 - 2970 - 3550 - 3560 - 3750 - 4000 - 4500 - 6000 - 6500

Relay agents are used to forward requests and replies between clients and servers when they are not on the same physical subnet.

Relay agent forwarding is distinct from the normal forwarding of an IP router, where IP datagrams are switched between networks somewhat transparently.

Relay agents receive Dynamic Host Configuration Protocol (DHCP) messages and then generate a new DHCP message to send out on another interface.


The 2900XL, 2950 and 3500XL switches cannot be configured as a DHCP helper, or DHCP relay.

This requires a router or a switch with a Layer 3 capability that can do InterVLAN routing.

These switches are Layer 2 devices, which can only do DHCP snooping.


The ip helper-address command is present on a configurable Layer 3 interface.

The general rule is to configure the command on the Layer 3 interface closest to the client.


In order configure a Cisco Catalyst switch to act as a DHCP relay agent, issue the ip helper-address command in interface configuration mode and specify the IP address of the DHCP server on the remote subnet.

This ensures that all DHCP broadcasts are forwarded to that address.

More than one helper address can be configured per interface.

You may also wish to investigate:

Understanding and Troubleshooting DHCP in Catalyst Switch or Enterprise Networks


View more Cisco How-To Tutorials.

Contact Brad Reese
http://www.BradReese.Com

Brad's Top 5 Story Picks
# 1. trixbox vs. Cisco: Enticing Cisco SMB channel partners to change their allegiance to trixbox
# 2. Nortel vs. Cisco: The battle heats up
# 3. He's back, Frank Quattrone the exonerated banker who brought Cisco public
# 4. Invitation to Network World readers to attend ChicagoCon from the Ethical Hacker Network
# 5. Expert warns of scam to blackmail companies for cash to get back access to their Cisco routers

Cisco Power Supplies

Cisco Authorized Factory Refurbished List Pricing

Cisco Repair and Hardware Troubleshooting

  

Welcome, visitor. Register Log in
About Brad Reese on Cisco

Brad Reese cofounded BradReese.Com Cisco Refurbished, which enables affordable networks globally by assuring customer satisfaction with guaranteed one year warranties on both Cisco Repair as well as Refurbished Cisco.

Don't be shy, contact Brad Reese online or call him Toll Free:

866-864-0506

International callers may wish to call Brad by dialing:

850-364-4115

Archives
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
Categories
A classic scam to defraud Cisco's SMARTnet program
America's Best profile written by Useem regarding Chambers' success
Avian Securities Senior Telecom Research Analyst - Catharine Trebnick
Breakingviews.com correspondent - Robert Cyran
CCIE
Careers
Charlie Giancarlo - Managing Director of Silver Lake Partners and Skype investor
Cisco
Cisco ASR 9000 architecture
Cisco ISR G2 Module Support
Cisco Integrated Services Router Generation 2 (ISR G2) Model Comparison
Cisco Integrated Services Routers Generation 2 Portfolio
Cisco Unified Communications Support for Microsoft Windows 7
Cisco is pushing their ASR 9000 at very competitive prices
Cisco is warning Unified Communications customers about NOT successfully offering support for Microsoft Windows 7
Cisco technical star Jonathan Rosenberg
Cisco will have no liability for any delay in delivery
Data Center
Douglas Smith - Cofounder and President of Network Instruments
Expand visibility of NetFlow-dependent NBAD and compliance applications
GigaStor captures and converts packets in NetFlow data flows
Index Venture partner Danny Rimer
Jonathan Rosenberg - a Cisco Fellow in Cisco's Voice Technology Group
Juniper MX960 lab test results
LANs / WANs
Mark Roberts - Polycom vice president of partner marketing
Michael Useem - Professor of Management
Microsoft
NetFlow
NetFlow add-ons
NetFlow overhead can overtax infrastructure
Network Behavior Anomaly Detection (NBAD)
Network Management
Non-NetFlow capable devices are blind to local traffic
Produce NetFlow about any device
SMB
Security
Selection committee member for America's Best Leaders
September 2009 vs. October 2009 Worldwide CCIE Count Comparison
Silver Lake Managing Director - Egon Durban
Skype's cofounders Niklas Zennstrom and Janus Friis
Software
The Charlie angle is to keep Dave Roux on track
The new Cisco ISR G2 portfolio is priced as follows
VoIP / Convergence
What are the benefits of GigaStor NetFlow Agent?
What’s new on the Cisco ISR G2 models vs. the old ISR models?
Windows 7
Windows 7 just not worth an all-out urgent effort by Cisco to support
Wireless / Mobile
eBay CEO - John Donahoe
sFlow
sFlow and NetFlow provides extended visibility
On The Web
Twitter