Re: dhcp / giaddr / configuration for giaddr update



On 24 Sep, 11:16, Merv <merv.hr...@xxxxxxxxxx> wrote:
if a dhcp server is connected to a router that connects many different
subnets... how does the dhcp server know which subnet a dhcp request
came from? does this information come from the giaddr field of the
dhcp request packet? if yes,
is the value of this field set to the
address of the of the router interface that originally received the
packet or the router interface that the packet is forwarded through?

yes this function is known as DHCP relay agent -

and does the giaddr update itself require any configuration of the
router device or does the router know to update it automatically? if
it requires configuration, how is it done? thanks for reading

on Cisco router yes - configured on the required interfaces wi the
command ip helper-address

"what happens in the case of a dhcp request being
forwarded through several routers before reaching the dhcp server"

The key thing is that the relay agent sends a unicast
to the dhcp server and not a broadcast so it travels
through the network unaltered to the dhcp server.
(clearly ttl field is decremented, etc.). Intermediate
relay agents don't see the packet at all.


.



Relevant Pages

  • [NEWS] Flaws Found Within the Dynamic Host Configuration Protocol
    ... man in the middle attack, and how to steal a machine's identity. ... Packet exchange for a clients interface to obtain an IP address ... various packets are sent from the NIC to the DHCP server. ... The client sends a DHCP request, informing the DHCP server that the ...
    (Securiteam)
  • Re: DHCP serving more than one subnet (longish)
    ... > packets to allow a host's ethernet layer to pass the packet onto the TCPIP stack. ... DHCP packets are formatted the same as any other IP packet. ... > address nor that of a DHCP server. ...
    (comp.os.vms)
  • Re: Does an IP from DHCP server/router always overwrite an already existing fixed local IP ?
    ... A computer on a fixed IP address should never send out a DHCP request - that only happens if a computer is configured to use DHCP. ... A router or DHCP server cannot force a client to accept an IP address - it won't even offer one unless the computer requests one. ...
    (microsoft.public.windowsxp.network_web)
  • RE: can not ping a laptop on a wireless connection
    ... > Check DHCP server to see if you have a duplicated IP address that the laptop ... I tried pathping and it ... just told me there is 100% packet lose. ...
    (microsoft.public.windows.server.networking)
  • Re: XP SP2 cannot contact DHCP after a restart
    ... We have a private LAN, which connected to a router, and it connected to the ... Here is my network breakdown: ... gateway, dhcp server 192.168.1.2 ... Your LAN includes a DHCP server which assigns dynamic settings (including IP ...
    (microsoft.public.windowsxp.network_web)