If i have a DHCP Server above two routers and a cleint computer below and the client computer is connected to a router with DHCP Relay, will dhcp pass through those two routers?
Here is an example
Internet
|
|
Router 0 (DHCP Server)
|
|
Router 1
|
|
Router 2
|
|
Router with DHCP Relay pointing to Router 0
|
|
Client PC
Would the Client PC get DHCP relay from the Router 0? Or do i need to enable dhcp relay on all the routers?
Best Answer
As long as the routing is in place such that the DHCP relay to Router 0 actually traverses Router 2 & 1 to Router 0 and back, then yes, it will work just fine. It's no different than VLANs across Layer 3 switches with IP Forwarding enabled. You could even think of it as getting a DHCP address across a WAN link from a remote DHCP server if you'd like.