02-26-2018 12:27 AM - edited 03-08-2019 02:01 PM
Dear All,
I have two VLANs on my 2960 SW and 3950Sw. There are two different DHCP Pools on MS DHCP Server. Clients on different VLANs should receive IP addresses according to their VLAN.
How can I do that? Could you please share an example?
THanks
Cheers
Isac.
Solved! Go to Solution.
02-26-2018 12:33 AM
Hi,
As I am understanding your question you having one DHCP server which is (suppose) under the VLAN 10 and IP address of server is 192.168.10.100/24 and at the same time you are having another VLAN 20 for users but you want to use the single DHCP server.
Yes, it is possible with help of "IP helper-Address xx.x.x" command.
your configuration on your core switch:
interface vlan 10
ip address 192.168.10.1 255.255.255.0 (maybe difference IP address)
exit
!
interface vlan 20
IP address 192.168.20.1 255.255.255.0 (maybe difference IP address)
ip helpder-address 192.168.10.100
exit
!
regards,
Deepak Kumar
02-26-2018 12:33 AM
Hi,
As I am understanding your question you having one DHCP server which is (suppose) under the VLAN 10 and IP address of server is 192.168.10.100/24 and at the same time you are having another VLAN 20 for users but you want to use the single DHCP server.
Yes, it is possible with help of "IP helper-Address xx.x.x" command.
your configuration on your core switch:
interface vlan 10
ip address 192.168.10.1 255.255.255.0 (maybe difference IP address)
exit
!
interface vlan 20
IP address 192.168.20.1 255.255.255.0 (maybe difference IP address)
ip helpder-address 192.168.10.100
exit
!
regards,
Deepak Kumar
02-26-2018 01:23 AM
Hello Deepak,
Thank you for reply. Actually DHCP server is connected to management VLAN1 and I have VLAN10 and VLAN20.
DHCP server has two pools : Pool1-192.168.10.0 and Pool2-192.168.20.0
vlan 10 client get IP from Pool1
vlan 20 clients get IP from Pool2
So should I assign IP helper address to VLAN10, too. Does it solve the issue? May I use same gateway(router) address for both VLANs?
Thaks again.
regards
Isac
02-26-2018 01:35 AM
Hi,
You have to assign the IP helpder-address to your both VLAN 10 & 20.
Regards,
Deepak Kumar
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: