If I had a router that's connects my 2 LANs and there is a single DHCP, in the either LAN. How and what would be my configurations for the DHCP so that it provides the IPs to both the LANS through the router.
Thank you.
If I had a router that's connects my 2 LANs and there is a single DHCP, in the either LAN. How and what would be my configurations for the DHCP so that it provides the IPs to both the LANS through the router.
Thank you.
You need on your router a feature called DHCP relay
You configure it with the IP address of your DHCP server. When the router receive a DHCP request it will send (as unicast) a request to the DHCP server containing the MAC address of the original requester and the network address of the interface on which it received the request. The network address allow the DHCP server to pick the correct scope.
Then the DHCP server makes a DHCP offer for an IP address in the appropriate network and send it back to the router which forward it to the requestor.