10-21-2018 10:18 PM
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.
Solved! Go to Solution.
10-21-2018 10:54 PM
Hi,
You will need to configure the scopes for the 2 lans on the dhcp server and configure ip helper on the interface facing the lan without the dhcp server e.g.
if the dhcp server is on gi0/2 and address 192.168.2.10, your router config may look as follows:
interface gi0/1
ip address 192.168.1.1 255.255.255.0
ip helper-address 192.168.2.10
interface gi0/2
ip address 192.168.2.1 255.255.255.0
clients on the same lan as the dhcp server do not need the helper address
Thanks
John
10-21-2018 10:54 PM
Hi,
You will need to configure the scopes for the 2 lans on the dhcp server and configure ip helper on the interface facing the lan without the dhcp server e.g.
if the dhcp server is on gi0/2 and address 192.168.2.10, your router config may look as follows:
interface gi0/1
ip address 192.168.1.1 255.255.255.0
ip helper-address 192.168.2.10
interface gi0/2
ip address 192.168.2.1 255.255.255.0
clients on the same lan as the dhcp server do not need the helper address
Thanks
John
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide