Help needed implementing DHCP Relay Agent

1,545 pts.
Tags:
C
DHCP
DHCP Relay Agent
Switches
I am very new to networking but I know the basics. Now I am really interested to know how I can implement DHCP relay in C language for one of our client's switch. That is my first project. My strengths include C, Unix and the basics of networking. Can someone point me in the right direction on how to get started on a project like this? What specifically do I need to bone up on? Thank you.
ASKED: July 30, 2008  7:15 PM
UPDATED: August 1, 2008  6:12 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

What kind of network is this (how complex / what manufacturer?). If it’s all switched on a single VLAN, you don’t need a DHCP relay. If it DOES have multiple subnets, then you have several options:
1) Simply install the DHCP relay software that MAY be available if there’s a Windows server on the (each?) subnet away from the DHCP server
2) Use router capabilities to do the DHCP forwarding for you. (IP helper-address <DHCP.Server.IP>
3) AS you suggested, recreate a DHCP forwarder.
4) Put a DHCP server on each subnet. You could even use a Linksys to do the job.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Labnuke99
    I agree with Snapper.... why would you want to write this stuff from scratch when this comes in server OS implementations (Windows, linux). Today's routers/switches offer DHCP services. Put your time/effort into business services for your organization rather than building network protocol services from scratch.
    32,960 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following