cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
813
Views
10
Helpful
1
Replies

DHCP

Tahree
Beginner
Beginner

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.

1 Accepted Solution

Accepted Solutions

johnd2310
Collaborator
Collaborator

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

**Please rate posts you find helpful**

View solution in original post

1 Reply 1

johnd2310
Collaborator
Collaborator

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

**Please rate posts you find helpful**
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers