Home > Ask the Networking Experts > Routing and switching with Sudhanshu Gupta Questions & Answers > Is it possible to use a Cisco 2950 switch as a DHCP relay?
Ask The Networking Expert: Questions & Answers
EMAIL THIS

Is it possible to use a Cisco 2950 switch as a DHCP relay?

Sudhanshu Gupta EXPERT RESPONSE FROM: Sudhanshu Gupta

Pose a Question
Other Networking Categories
Meet all Networking Experts
Become an Expert for this site


Routing and switching news, advice and technical information
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 30 October 2006

Is it possible to use a Cisco 2950 switch as a DHCP relay? If so, how can I? I've configured a C172x router but the switch seems different.


>
EXPERT RESPONSE
You can do it. You need enhanced image on your switch for it to offer DHCP functionality. Use the following commands (available with Cisco 2950 documentation) for configuring the same:

Commands for DHCP functionality

configure terminal To enter global configuration mode.
ip dhcp snooping To enable DHCP snooping globally.
ip dhcp snooping vlan vlan-id [vlan-id] To enable DHCP snooping on a VLAN or range of VLANs. You can specify a single VLAN identified by VLAN ID.
ip dhcp snooping information option To enable the switch to insert and remove DHCP relay information (option-82 field) in forwarded DHCP request messages to the DHCP server. This is enabled by default.
interface [interface-id] To enter interface configuration mode, and specify the interface to be configured.
ip dhcp snooping trust This is an optional command. It configures the interface as trusted or un-trusted. The default is un-trusted.
ip dhcp snooping limit rate [rate] This is an optional command. It configures the number of DHCP packets per second than an interface can receive. The range you can specify for [rate] is 1 to 4294967294. The default is no rate limit configured.

[ ] expects arguments to be given like VLAN-ID or rate limit. The first five commands should be enough to configure DHCP relay. The other two give the functionality more granularities.


Sound Off! -   Be the first to post a message to Sound Off!


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Routing and switching with Sudhanshu Gupta
Does each routing protocol have a different routing table?
How can I load balance between DSLs and LLs?
How to route L3 switches for a serial LAN design
How to configure ISDN and backup leases on routers
How can I configure 10 VLANs with 5 unmanaged switches?
Types of link-state advertisements (LSAs) used in Open Shortest Path First (OSPF)
What is broadcasting and which switch will fix timed-out requests?
Can routers be configured to send files to appropriate servers?
How do I configure two leased lines in one router?
How can I check connectivity and ping between sites?

Router and Switch Management
Troubleshooting IP Routing -- 'CCNA Official Exam Certification Library, 3rd Edition,' Chapter 7
How can I load balance between DSLs and LLs?
How can I configure 10 VLANs with 5 unmanaged switches?
Cisco's ISR inches the company toward openness
How do I configure two leased lines in one router?
Cisco's new ASR 1000 edge routers improve network integration
Open source network monitoring: Monitor your routers with Cacti
How can I achieve auto-negotiations between my device and switches?
MPLS implementation gotchas
Green networking: Selling the idea to executives

Network Hardware
How to route L3 switches for a serial LAN design
How can I configure 10 VLANs with 5 unmanaged switches?
What is broadcasting and which switch will fix timed-out requests?
Cisco's ISR inches the company toward openness
Can routers be configured to send files to appropriate servers?
How do I configure two leased lines in one router?
Cisco's new ASR 1000 edge routers improve network integration
Intelligent network switches on the rise as more is expected of the network
Why IPv4 and IPv6 don't do fragment reassembly in routers
How can I check connectivity and ping between sites?
Network Hardware Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
32-bit IP addressing  (SearchNetworking.com)
autotrunking  (SearchNetworking.com)
delay-tolerant network  (SearchNetworking.com)
Internet Routing in Space (IRIS)  (SearchNetworking.com)
logical router  (SearchNetworking.com)
routing table  (SearchNetworking.com)
subnet  (SearchNetworking.com)
subnet mask  (SearchNetworking.com)
virtual routing and forwarding  (SearchNetworking.com)
weighted fair queueing  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersNetworking Product Trials
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts