LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-12-2009, 12:00 AM   #1
jayadhanesh
Member
 
Registered: Feb 2009
Location: Bangalore
Posts: 61

Rep: Reputation: 15
DHCP Relay Option


Hi,
I have a DHCP relay to forward the DHCP messages between the
dhcp client and server. I have to add the Agent Information option,
(82) to the DHCP discover packet from the Relay to the server.
This generally includes the Circuit Id and Remote Id. I also need
to add the Relay IP address so that the server sends a unicast
DHCP offer with the destination ip as Relay IP.
What is the sub option code for agent ip address in Agent information
option?

Thanks,
Dhanesh.
 
Old 05-13-2009, 09:39 AM   #2
kpraveen455
Member
 
Registered: Feb 2009
Location: Hyderabad
Distribution: fedora
Posts: 33

Rep: Reputation: 17
What do u mean "agent Ip address" in Agent Information option?
The agent IP will go in 'giaddr' field of DHCP packet. And it will be the IP address of the interface on which the packet was received.
 
Old 05-14-2009, 02:45 AM   #3
jayadhanesh
Member
 
Registered: Feb 2009
Location: Bangalore
Posts: 61

Original Poster
Rep: Reputation: 15
Hi,

When the DHCP server is responding with a DHCP offer, the destination
address of the OFFER is the address that is being offered to the client.
The agent is not able to receive this packet as the destination address
is not that of the agent.

So, if I fill the gateway address as the address of the agent IP address,
then the destination address in OFFER should be that of the agent.

Thanks,
Dhanesh.
 
Old 02-12-2010, 10:08 AM   #4
kigchan
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
relay agent is not broadcast the offer to the interface it listens

The agent is not broadcasts the offer to the listen interface


Quote:
Originally Posted by jayadhanesh View Post
Hi,

When the DHCP server is responding with a DHCP offer, the destination
address of the OFFER is the address that is being offered to the client.
The agent is not able to receive this packet as the destination address
is not that of the agent.

So, if I fill the gateway address as the address of the agent IP address,
then the destination address in OFFER should be that of the agent.

Thanks,
Dhanesh.
 
  


Reply

Tags
agent, dhcp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP Offer is not a broadcast traffic when using a DHCP Relay, why? jayadhanesh Linux - Networking 1 03-23-2009 09:17 AM
How to bypass DHCP of IPCop relay to Windows DHCP Server gclimbo Linux - Software 3 06-08-2008 09:30 PM
DHCP Option-82 Relay Agent Information - RFC 3046 aussiecanuck46 Linux - Kernel 0 07-05-2006 09:49 AM
dhcp relay agent diveguy Linux - Networking 2 07-18-2003 05:22 AM
dhcp relay agent phogfan Linux - Networking 0 02-20-2003 10:20 PM


All times are GMT -5. The time now is 06:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration