Jasiono wrote: » When there is a DHCP server sitting on a different subnet, and a discover message is relayed to that DHCP server, does the server use the source address from the message to calculate what subnet to pull and offer an IP address from? And if the DHCP server sits on the same subnet as the client requesting an IP address, does it just use the subnet it currently resides on since it knows that a source address of 0.0.0.0 means it's coming from the same subnet? I understand the concept of DHCP and know how to set it up, but knowing what subnet to pull an address from wasn't explained in the book I'm reading, and this is the only explanation that I could come up with. Am I correct?
james43026 wrote: » Everyone is pretty close on how this actually works. When a Cisco router interface has been configured as a DHCP relay, then any DHCP broadcasts that arrive at that interface will be unicasted to the IP address specified in the IP helper command, and a new field will be inserted into the IP packet called the "giaddr" field, this field will contain the IP address of the router interface that received the broadcast (this field is what tells the DHCP server what pool of addresses / subnet to use for this request), the source address of the IP Packet will also be the same as the giaddr field.
Zartanasaurus wrote: » Winner winner. Now, what happens if it forwards a DHCP request from an interface configured with a secondary IP and there's no DHCP pool for the primary IP?