How does a DHCP relay router forward the packet to the server?Linux DHCP-Helper: GIADDR is not the source IP addressHow broadcasting works on different networks?How DHCP OFFER unicast works?Cisco Small-business switch - DHCP Relay offer packet droppedCan/Should a DHCP server send a DHCPDISCOVER message?How DHCP works?How does a router relay DHCP packets when it is configured as a relay agent?DHCP relay bindingAssign DHCP IP address on Cisco router interfaceDHCP relay on Juniper MX
Why do Computer Science majors learn Calculus?
Can solid acids and bases have pH values? If not, how are they classified as acids or bases?
Sci-fi book: portals appear in London and send a failed artist towards a designated path where he operate a giant superweapon
Pulling the rope with one hand is as heavy as with two hands?
Fizzy, soft, pop and still drinks
Is there any validity to the claim that fracking can help reduce CO2?
Examples of subgroups where it's nontrivial to show closure under multiplication?
Why the difference in metal between 銀行 and お金?
Will tsunami waves travel forever if there was no land?
Is creating your own "experiment" considered cheating during a physics exam?
Why does nature favour the Laplacian?
What's the polite way to say "I need to urinate"?
Realistic Necromancy?
Please, smoke with good manners
Phrase for the opposite of "foolproof"
How do Bards prepare spells?
US visa is under administrative processing, I need the passport back ASAP
How did Captain America manage to do this?
Do I have an "anti-research" personality?
Controversial area of mathematics
Is there really no use for MD5 anymore?
Don’t seats that recline flat defeat the purpose of having seatbelts?
What is the difference between `command a[bc]d` and `command `ab,cd`
How to make a pipeline wait for end-of-file or stop after an error?
How does a DHCP relay router forward the packet to the server?
Linux DHCP-Helper: GIADDR is not the source IP addressHow broadcasting works on different networks?How DHCP OFFER unicast works?Cisco Small-business switch - DHCP Relay offer packet droppedCan/Should a DHCP server send a DHCPDISCOVER message?How DHCP works?How does a router relay DHCP packets when it is configured as a relay agent?DHCP relay bindingAssign DHCP IP address on Cisco router interfaceDHCP relay on Juniper MX
We know that routers do not forward broadcast messages. So when a DHCP relay router receives a DHCP Discover message, the destination IP address is going to be 255.255.255.255 because at this stage the client does not know the DHCP Server's IP address. So why does the router not drop the packet? How does it forward the packet to the server? Since my understanding is that the router will see layer 3 and drop it since it saw a broadcast address.
dhcp
add a comment |
We know that routers do not forward broadcast messages. So when a DHCP relay router receives a DHCP Discover message, the destination IP address is going to be 255.255.255.255 because at this stage the client does not know the DHCP Server's IP address. So why does the router not drop the packet? How does it forward the packet to the server? Since my understanding is that the router will see layer 3 and drop it since it saw a broadcast address.
dhcp
add a comment |
We know that routers do not forward broadcast messages. So when a DHCP relay router receives a DHCP Discover message, the destination IP address is going to be 255.255.255.255 because at this stage the client does not know the DHCP Server's IP address. So why does the router not drop the packet? How does it forward the packet to the server? Since my understanding is that the router will see layer 3 and drop it since it saw a broadcast address.
dhcp
We know that routers do not forward broadcast messages. So when a DHCP relay router receives a DHCP Discover message, the destination IP address is going to be 255.255.255.255 because at this stage the client does not know the DHCP Server's IP address. So why does the router not drop the packet? How does it forward the packet to the server? Since my understanding is that the router will see layer 3 and drop it since it saw a broadcast address.
dhcp
dhcp
asked 6 hours ago
iiTechiiiiTechii
374
374
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
The DHCP relay agent (router, or otherwise) creates a unicast DHCP request for the DHCP server(s) configured in the relay agent. The DHCP server replies to the relay agent, which then sends the response back to the requester.
You can see all the details of how this works in RFC 2131, Dynamic Host Configuration Protocol, which explains that DHCP relay inherits the BOOTP relay.
add a comment |
DHCP relay is not a routing function, even if it is usually activated on a router, but it's also used on switches (L2 and L3). You should see the relay agent as a network service like the DHCP server itself. In fact, it's more like a proxy than a routing function.
DHCP relay can't just forward the bare discovery, but needs to change several DHCP fields to enable proper handling by the DCHP server. Most often option 82 is also inserted to provide further information about the relay agent (vendor-id and remote-id) and the interface the client is located on (circuit-id).
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "496"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f58778%2fhow-does-a-dhcp-relay-router-forward-the-packet-to-the-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The DHCP relay agent (router, or otherwise) creates a unicast DHCP request for the DHCP server(s) configured in the relay agent. The DHCP server replies to the relay agent, which then sends the response back to the requester.
You can see all the details of how this works in RFC 2131, Dynamic Host Configuration Protocol, which explains that DHCP relay inherits the BOOTP relay.
add a comment |
The DHCP relay agent (router, or otherwise) creates a unicast DHCP request for the DHCP server(s) configured in the relay agent. The DHCP server replies to the relay agent, which then sends the response back to the requester.
You can see all the details of how this works in RFC 2131, Dynamic Host Configuration Protocol, which explains that DHCP relay inherits the BOOTP relay.
add a comment |
The DHCP relay agent (router, or otherwise) creates a unicast DHCP request for the DHCP server(s) configured in the relay agent. The DHCP server replies to the relay agent, which then sends the response back to the requester.
You can see all the details of how this works in RFC 2131, Dynamic Host Configuration Protocol, which explains that DHCP relay inherits the BOOTP relay.
The DHCP relay agent (router, or otherwise) creates a unicast DHCP request for the DHCP server(s) configured in the relay agent. The DHCP server replies to the relay agent, which then sends the response back to the requester.
You can see all the details of how this works in RFC 2131, Dynamic Host Configuration Protocol, which explains that DHCP relay inherits the BOOTP relay.
answered 6 hours ago
Ron Maupin♦Ron Maupin
69k1370126
69k1370126
add a comment |
add a comment |
DHCP relay is not a routing function, even if it is usually activated on a router, but it's also used on switches (L2 and L3). You should see the relay agent as a network service like the DHCP server itself. In fact, it's more like a proxy than a routing function.
DHCP relay can't just forward the bare discovery, but needs to change several DHCP fields to enable proper handling by the DCHP server. Most often option 82 is also inserted to provide further information about the relay agent (vendor-id and remote-id) and the interface the client is located on (circuit-id).
add a comment |
DHCP relay is not a routing function, even if it is usually activated on a router, but it's also used on switches (L2 and L3). You should see the relay agent as a network service like the DHCP server itself. In fact, it's more like a proxy than a routing function.
DHCP relay can't just forward the bare discovery, but needs to change several DHCP fields to enable proper handling by the DCHP server. Most often option 82 is also inserted to provide further information about the relay agent (vendor-id and remote-id) and the interface the client is located on (circuit-id).
add a comment |
DHCP relay is not a routing function, even if it is usually activated on a router, but it's also used on switches (L2 and L3). You should see the relay agent as a network service like the DHCP server itself. In fact, it's more like a proxy than a routing function.
DHCP relay can't just forward the bare discovery, but needs to change several DHCP fields to enable proper handling by the DCHP server. Most often option 82 is also inserted to provide further information about the relay agent (vendor-id and remote-id) and the interface the client is located on (circuit-id).
DHCP relay is not a routing function, even if it is usually activated on a router, but it's also used on switches (L2 and L3). You should see the relay agent as a network service like the DHCP server itself. In fact, it's more like a proxy than a routing function.
DHCP relay can't just forward the bare discovery, but needs to change several DHCP fields to enable proper handling by the DCHP server. Most often option 82 is also inserted to provide further information about the relay agent (vendor-id and remote-id) and the interface the client is located on (circuit-id).
answered 30 mins ago
Zac67Zac67
33.6k22167
33.6k22167
add a comment |
add a comment |
Thanks for contributing an answer to Network Engineering Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f58778%2fhow-does-a-dhcp-relay-router-forward-the-packet-to-the-server%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown